|
@@ -49,21 +49,36 @@ export default {
|
|
|
el.energySavingRate ? el.energySavingRate.toFixed(2) : 0
|
|
|
);
|
|
|
if (el.chillerExecuteRateReal >= 75) {
|
|
|
+ //绿色
|
|
|
this.strategy1.push(2);
|
|
|
- } else {
|
|
|
+ this.strategy2.push(null);
|
|
|
+ this.strategy3.push(null);
|
|
|
+ } else if (el.chillerExecuteRate >= 75) {
|
|
|
+ // 灰色
|
|
|
this.strategy1.push(null);
|
|
|
- }
|
|
|
- if (el.chillerExecuteRate >= 75) {
|
|
|
- this.strategy2.push(2);
|
|
|
- } else {
|
|
|
this.strategy2.push(null);
|
|
|
- }
|
|
|
- if (el.chillerExecuteRateReal < 75 || el.chillerExecuteRate < 75) {
|
|
|
this.strategy3.push(2);
|
|
|
} else {
|
|
|
+ this.strategy1.push(null);
|
|
|
+ this.strategy2.push(2);
|
|
|
this.strategy3.push(null);
|
|
|
}
|
|
|
+ // if (el.chillerExecuteRateReal < 75 && el.chillerExecuteRate >= 75) {
|
|
|
+ // //红色
|
|
|
+ // this.strategy2.push(2);
|
|
|
+ // } else {
|
|
|
+ // this.strategy2.push(null);
|
|
|
+ // }
|
|
|
+ // if (el.chillerExecuteRateReal < 75 || el.chillerExecuteRate < 75) {
|
|
|
+ // //灰色
|
|
|
+ // this.strategy3.push(2);
|
|
|
+ // } else {
|
|
|
+ // this.strategy3.push(null);
|
|
|
+ // }
|
|
|
});
|
|
|
+ console.log(this.strategy1)
|
|
|
+ console.log(this.strategy2)
|
|
|
+ console.log(this.strategy3)
|
|
|
this.drawIt();
|
|
|
}
|
|
|
},
|