| | |
| | | font: '档案修订', |
| | | type: 'text', |
| | | method: 'isUpdate' |
| | | }, { |
| | | id: 'handleConfig', |
| | | font: '数采配置', |
| | | type: 'text', |
| | | method: 'handleConfig', |
| | | disabFun: (row, index) => { |
| | | return row.insProductItem === '' |
| | | } |
| | | }], |
| | | } |
| | | // , { |
| | | // id: 'handleConfig', |
| | | // font: '数采配置', |
| | | // type: 'text', |
| | | // method: 'handleConfig', |
| | | // disabFun: (row, index) => { |
| | | // return row.insProductItem === '' |
| | | // } |
| | | // } |
| | | ], |
| | | headNoShow:['enDeviceName'], |
| | | tagField: { |
| | | deviceStatus: { |
| | |
| | | config = true |
| | | } |
| | | } |
| | | if (!config) { |
| | | this.componentData.do.splice(2, 1) |
| | | } |
| | | if (!up) { |
| | | this.componentData.do.splice(1, 1) |
| | | } |
| | | if (!del) { |
| | | this.componentData.do.splice(0, 1) |
| | | } |
| | | this.addPower = add |
| | | }, |
| | | // if (!config) { |
| | | // this.componentData.do.splice(2, 1) |
| | | // } |
| | | if (!up) { |
| | | this.componentData.do.splice(1, 1) |
| | | } |
| | | if (!del) { |
| | | this.componentData.do.splice(0, 1) |
| | | } |
| | | this.addPower = add |
| | | }, |
| | | // 获取字典 |
| | | selectEnumByCategory() { |
| | | this.$axios.post(this.$api.enums.selectEnumByCategory, { |