gaoshp
2024-06-18 e84c5e92533e677778cb3eef9923cd62d5e82935
update
已修改1个文件
20 ■■■■■ 文件已修改
src/views/mdc/processParam/index.vue 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
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.tableData = res.data.records.map(item => {
                        return {
                            ...item,
                            value: this.legend.find(v => v.code === item.value)?.name
                        }
                    })
                    this.drawer = true
                }
            })