|
@@ -206,6 +206,8 @@ export default {
|
|
|
time: this.time
|
|
|
}
|
|
|
};
|
|
|
+ this.chillerCommand = {}
|
|
|
+ this.chillerHourList = []
|
|
|
queryQuickData(params).then(res => {
|
|
|
this.chillerOrg = res.chillerOrg || {};
|
|
|
this.chillerCommand = res.chillerOrg || {};
|
|
@@ -214,6 +216,14 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
drawData() {
|
|
|
+ this.dataY1 = []
|
|
|
+ this.dataX = []
|
|
|
+ this.loadX = []
|
|
|
+ this.dataY2 = []
|
|
|
+ this.dataY3 = []
|
|
|
+ this.loadY1 = []
|
|
|
+ this.loadY2 = []
|
|
|
+ this.loadY3 = []
|
|
|
this.chillerHourList.forEach(el => {
|
|
|
el.value = el.time.slice(0, 2) + ":" + el.time.slice(2, 4);
|
|
|
this.dataX.push(el.value);
|