| | |
| | | { |
| | | name: '分时作业量', |
| | | type: 'bar', |
| | | barWidth: 15, |
| | | barWidth: 10, |
| | | label: { |
| | | show: false, |
| | | position: 'top', |
| | |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: '#63d6fa' |
| | | color: 'rgba(0, 208, 221, 1)' |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: '#32718d' |
| | | color: 'rgba(0, 194, 255, 0.20)' |
| | | } |
| | | ], false), |
| | | lineStyle: { |
| | |
| | | { |
| | | name: '累计作业量', |
| | | type: 'bar', |
| | | barWidth: 15, |
| | | barWidth: 10, |
| | | label: { |
| | | show: false, |
| | | position: 'top', |
| | |
| | | color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [ |
| | | { |
| | | offset: 0, |
| | | color: '#63d6fa' |
| | | color: 'rgba(0, 86, 255, 1)' |
| | | }, |
| | | { |
| | | offset: 1, |
| | | color: '#32718d' |
| | | color: 'rgba(0, 86, 255, 0.20)' |
| | | } |
| | | ], false), |
| | | lineStyle: { |
| | |
| | | cnplatformWorkData().then(res => { |
| | | const result = res.data || [] |
| | | dataList5.value = result.map(i => { |
| | | i.statusTemp = i.status == 0 ? '作业中' : i.status == 1 ? '空闲中' : '作业超时' |
| | | i.statusTemp = i.status == 0 ? '作业中' : i.status == 1 ? '空闲中' : i.status == 2 ? '作业超时' : '叫号中' |
| | | if (i.workTime) { |
| | | // i.workTime = dayjs.duration(i.workTime * 1000).format('HH小时mm分') |
| | | i.workTime = (i.workTime / 60).toFixed(0) |