| | |
| | | <!-- |
| | | * @Date: 2024-04-09 22:11:21 |
| | | * @LastEditors: gaoshp |
| | | * @LastEditTime: 2024-11-13 20:20:54 |
| | | * @LastEditors: lzhe lzhe@example.com |
| | | * @LastEditTime: 2024-12-18 15:20:37 |
| | | * @FilePath: /cps-web/src/views/mdc/processParam/index.vue |
| | | 实时看板 |
| | | --> |
| | |
| | | workstationName: '' |
| | | }).then(res => { |
| | | if (res.success) { |
| | | window.open(res.data.link) |
| | | this.$TOOL.downFile(res.data.link,res.data.originalName); |
| | | } else { |
| | | this.$message.error(res.msg) |
| | | } |
| | |
| | | showPie: false |
| | | }) |
| | | } |
| | | |
| | | }, |
| | | setDeviceStatusOptions(data, myname) { |
| | | debugger |
| | |
| | | } |
| | | }).map(v => { |
| | | if (myname === 'DeviceStatus') { |
| | | return { |
| | | ...v, |
| | | itemStyle: { |
| | | color: this.legend.find(item => item.name === v.name).color |
| | | if(v.name != 'undefined') { |
| | | return { |
| | | ...v, |
| | | itemStyle: { |
| | | color: this.legend.find(item => item.name === v.name).color |
| | | } |
| | | } |
| | | } |
| | | } |