gaoshp
2024-06-18 e84c5e92533e677778cb3eef9923cd62d5e82935
src/views/mdc/processParam/index.vue
@@ -198,14 +198,20 @@
            }).then(res => {
                if (res.code === 200) {
                    if (item.name !== 'DeviceStatus') {
                        this.tableData = res.data.records
                        this.tableData = res.data.records.map(v => {
                            return {
                                ...v,
                    }
                        })
                    } else {
                    this.tableData = res.data.records.map(item => {
                        return {
                            ...item,
                            value: this.legend.find(v => v.code === item.value)?.name
                        }
                    })
                    }
                    this.drawer = true
                }
            })