Browse Source

修改运行评价0返回-9999

guoxiaohuan 5 years ago
parent
commit
1e6545ac4c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/evaluate/evIndoorTemperature.vue

+ 2 - 2
src/views/evaluate/evIndoorTemperature.vue

@@ -42,8 +42,8 @@ export default {
                 this.energyDataList.forEach(el => {
                     el.time = el.date.slice(4, 6) + '.' + el.date.slice(6, 8)
                     this.dataX.push(el.time)
-                    this.indoorY.push(el.tindoorFillRate ? el.tindoorFillRate.toFixed(2) : 0)
-                    this.energyY.push(el.energySavingRate ? el.energySavingRate.toFixed(2) : 0)
+                    this.indoorY.push(el.tindoorFillRate == '-9999' ? undefined : el.tindoorFillRate.toFixed(2))
+                    this.energyY.push(el.energySavingRate == '-9999' ? undefined : el.energySavingRate.toFixed(2))
                     if (el.chillerExecuteRateReal >= 75) {
                         //绿色
                         this.strategy1.push(2)