Compare commits
No commits in common. "6a558cbab54337f2943ccb367f509573e96bb29e" and "f1fd85456700bcd9f97111c3c8fc01246b50399e" have entirely different histories.
6a558cbab5
...
f1fd854567
@ -104,24 +104,24 @@ export default {
|
||||
{ name: '故障时长', value: 580 },
|
||||
],
|
||||
},
|
||||
// {
|
||||
// // 内环
|
||||
// name: '',
|
||||
// type: 'pie',
|
||||
// center: ['50%', '48%'],
|
||||
// radius: ['60%', '75%'],
|
||||
// itemStyle: {
|
||||
// borderRadius: 10,
|
||||
// },
|
||||
// label: {
|
||||
// show: false,
|
||||
// },
|
||||
// data: [
|
||||
// //<=========
|
||||
// { name: '总', value: 3000 },
|
||||
// { name: '', value: 1400 },
|
||||
// ],
|
||||
// },
|
||||
{
|
||||
// 内环
|
||||
name: '',
|
||||
type: 'pie',
|
||||
center: ['50%', '48%'],
|
||||
radius: ['60%', '75%'],
|
||||
itemStyle: {
|
||||
borderRadius: 10,
|
||||
},
|
||||
label: {
|
||||
show: false,
|
||||
},
|
||||
data: [
|
||||
//<=========
|
||||
{ name: '总', value: 3000 },
|
||||
{ name: '', value: 1400 },
|
||||
],
|
||||
},
|
||||
// {
|
||||
// name: this.value.equipmentName || 'Default',
|
||||
// type: 'pie',
|
||||
@ -195,22 +195,22 @@ export default {
|
||||
this.config.title.text = lineName;
|
||||
this.config.title.subtext = equipmentName;
|
||||
this.config.series[0].data = [
|
||||
{ name: '有效时长', value: workTime },
|
||||
{ name: '关机时长', value: stopTime },
|
||||
{ name: '中断时长', value: downTime }
|
||||
{ name: '工作时长', value: workTime },
|
||||
{ name: '停机时长', value: stopTime },
|
||||
{ name: '故障时长', value: downTime },
|
||||
];
|
||||
// this.config.series[1].data = [
|
||||
this.config.series[1].data = [
|
||||
{ name: '速度开动率', value: peEfficiency },
|
||||
{ name: '', value: 100 },
|
||||
// { name: '速度开动率', value: peEfficiency },
|
||||
// // { name: '', value: 100 },
|
||||
// // { name: '速度开动率', value: peEfficiency },
|
||||
// // { name: '', value: Math.ceil(peEfficiency) - peEfficiency },
|
||||
// ];
|
||||
// { name: '', value: Math.ceil(peEfficiency) - peEfficiency },
|
||||
];
|
||||
//
|
||||
this.textData = {
|
||||
workTime: +workTime?.toFixed(2),
|
||||
stopTime: +stopTime?.toFixed(2),
|
||||
downTime: +downTime?.toFixed(2),
|
||||
// peEfficiency: +peEfficiency?.toFixed(2),
|
||||
workTime: +workTime.toFixed(2),
|
||||
stopTime: +stopTime.toFixed(2),
|
||||
downTime: +downTime.toFixed(2),
|
||||
peEfficiency: +peEfficiency.toFixed(2),
|
||||
};
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user