|
|
|
@ -463,6 +463,17 @@ export default {
|
|
|
|
|
_this.yAxis1seriesMAX1 = MAX2;
|
|
|
|
|
}
|
|
|
|
|
_this.yAxis1seriesMAX2 = Math.max(..._this.series1data3);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
getMesBoardEquProductionToday({
|
|
|
|
|
factory: _this.selectxt,
|
|
|
|
|
shiftId: _this.selectxtclasses,
|
|
|
|
|
ymd: _this.datetime,
|
|
|
|
|
equTypeCode: "equ_type_cxj",
|
|
|
|
|
}).then((response) => {
|
|
|
|
|
if (response) {
|
|
|
|
|
if (response.data) {
|
|
|
|
|
let numberlist = [];
|
|
|
|
|
let dataoption = [];
|
|
|
|
|
let totalArr = [];
|
|
|
|
@ -482,7 +493,7 @@ export default {
|
|
|
|
|
dataoption.push(a);
|
|
|
|
|
numberlist.push(item.totalNum);
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dataoption.sort((a, b) => {
|
|
|
|
|
return a.value - b.value;
|
|
|
|
|
});
|
|
|
|
@ -551,7 +562,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
myChart1.setOption(option1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -679,6 +690,18 @@ export default {
|
|
|
|
|
_this.yAxis2seriesMAX1 = MAX2;
|
|
|
|
|
}
|
|
|
|
|
_this.yAxis2seriesMAX2 = Math.max(..._this.series2data3);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
getMesBoardEquProductionToday({
|
|
|
|
|
factory: _this.selectxt,
|
|
|
|
|
shiftId: _this.selectxtclasses,
|
|
|
|
|
ymd: _this.datetime,
|
|
|
|
|
equTypeCode: "equ_type_hf",
|
|
|
|
|
}).then((response) => {
|
|
|
|
|
if (response) {
|
|
|
|
|
if (response.data) {
|
|
|
|
|
let numberlist = [];
|
|
|
|
|
let dataoption = [];
|
|
|
|
|
let totalArr = [];
|
|
|
|
@ -758,7 +781,7 @@ export default {
|
|
|
|
|
],
|
|
|
|
|
};
|
|
|
|
|
myChart2.setOption(option2);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
@ -886,6 +909,17 @@ export default {
|
|
|
|
|
_this.yAxis3seriesMAX1 = MAX2;
|
|
|
|
|
}
|
|
|
|
|
_this.yAxis3seriesMAX2 = Math.max(..._this.series3data3);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
getMesBoardEquProductionToday({
|
|
|
|
|
factory: _this.selectxt,
|
|
|
|
|
shiftId: _this.selectxtclasses,
|
|
|
|
|
ymd: _this.datetime,
|
|
|
|
|
equTypeCode: "equ_type_spj",
|
|
|
|
|
}).then((response) => {
|
|
|
|
|
if (response) {
|
|
|
|
|
if (response.data) {
|
|
|
|
|
let numberlist = [];
|
|
|
|
|
let dataoption = [];
|
|
|
|
|
let totalArr = [];
|
|
|
|
@ -968,7 +1002,6 @@ export default {
|
|
|
|
|
myChart3.setOption(option3);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
var myChart4 = echarts.init(document.querySelector("#echart4"));
|
|
|
|
|