| | |
| | | signageApi.getEquipmentStatusStatisticsApi(this.productionCode) |
| | | .then(res => { |
| | | if (res.success) this.runningStateData = res.result.list |
| | | this.drawRunningStateChart(res.result.producitonId) |
| | | this.drawRunningStateChart(res.result.productionId) |
| | | }) |
| | | }, |
| | | |
| | |
| | | } |
| | | }, |
| | | xAxis: { |
| | | name: '单位', |
| | | name: '', |
| | | nameTextStyle: { |
| | | color: '#fff' |
| | | }, |
| | |
| | | } |
| | | ] |
| | | } |
| | | option.title.text = `${moment().format('M月D日')}利用率` |
| | | option.title.text = `${moment().subtract(1, 'days').format('M月D日')}利用率` |
| | | this.efficiencyChart.setOption(option, true) |
| | | this.efficiencyChart.hideLoading() |
| | | |
| | |
| | | center: ['50%', '60%'], |
| | | color: [ |
| | | '#0FC61A', |
| | | '#0DAF15', |
| | | '#F56436', |
| | | '#8B8B8B' |
| | | ], |
| | | label: { |
| | |
| | | rowNum: 1, |
| | | data: this.twoMaintenanceChartData, |
| | | index: true, |
| | | columnWidth: [100], |
| | | columnWidth: [100, 300, 300, 300], |
| | | align: ['center', 'center', 'center', 'center'] |
| | | } |
| | | }, |
| | |
| | | interval: yAxisInterval, |
| | | axisLabel: { |
| | | formatter: '{value}', |
| | | color: '#e2e9ff' |
| | | color: '#fff' |
| | | }, |
| | | axisTick: { |
| | | show: false |