|
@@ -161,19 +161,19 @@ export default {
|
|
|
}
|
|
|
runDataQury(null, { getParams }).then(res => {
|
|
|
if (res.result == 'success') {
|
|
|
- this.tindoorFillRate = res.tindoorFillRate ? res.tindoorFillRate.toFixed(1) : 0 //室内温度满足率
|
|
|
+ this.tindoorFillRate = res.tindoorFillRate != undefined ? res.tindoorFillRate.toFixed(1) : 0 //室内温度满足率
|
|
|
console.log('室内温度满足率', this.tindoorFillRate)
|
|
|
- this.energySavingRate = res.energySavingRate ? res.energySavingRate.toFixed(1) : 0 //节能率
|
|
|
+ this.energySavingRate = res.energySavingRate != undefined ? res.energySavingRate.toFixed(1) : 0 //节能率
|
|
|
console.log('节能率', this.energySavingRate)
|
|
|
- this.chillerExecuteRate = res.chillerExecuteRate ? res.chillerExecuteRate.toFixed(1) : 0 //略执行率
|
|
|
+ this.chillerExecuteRate = res.chillerExecuteRate != undefined ? res.chillerExecuteRate.toFixed(1) : 0 //略执行率
|
|
|
console.log('略执行率', this.chillerExecuteRate)
|
|
|
- this.energySaving = res.energySaving ? res.energySaving.toFixed(0) : 0 //节能量
|
|
|
+ this.energySaving = res.energySaving != undefined ? res.energySaving.toFixed(0) : 0 //节能量
|
|
|
console.log('节能量', this.energySaving)
|
|
|
this.isExecutedNum = res.isExecutedNum //已执行数量
|
|
|
console.log('已执行数量', this.isExecutedNum)
|
|
|
this.allReceivedNum = res.allReceivedNum //共收到数量
|
|
|
console.log('共收到数量', this.allReceivedNum)
|
|
|
- this.tindoorOverrunDegree = res.tindoorOverrunDegree ? res.tindoorOverrunDegree.toFixed(1) : 0 //超限程度
|
|
|
+ this.tindoorOverrunDegree = res.tindoorOverrunDegree != undefined ? res.tindoorOverrunDegree.toFixed(1) : 0 //超限程度
|
|
|
console.log('超限程度', this.tindoorOverrunDegree)
|
|
|
this.energyDataList = res.dataList
|
|
|
}
|