gaoshp
2024-06-18 179136b6d89e4d24c37fc3981848f62b5673495c
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
                }
            })
@@ -347,7 +353,7 @@
                    tooltip: {
                        show: true,
                        trigger: 'item',
                        // position: 'dom',
                        position: 'top',
                        triggerOn: 'click',
                        formatter: (value, ticket) => {
                            // console.log('----------1111')