|
@@ -34,7 +34,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-show="num == 2">
|
|
|
- <ev-rate-title :tab="2" :rate="energySavingRate"></ev-rate-title>
|
|
|
+ <ev-rate-title :tab="2" :rate="energySavingRate" :accuracy='accuracy'></ev-rate-title>
|
|
|
<div class="count-historical-data">
|
|
|
<ev-history
|
|
|
v-if="Object.keys(current).length>0||Object.keys(similarDay).length>0||Object.keys(maxArr).length>0"
|
|
@@ -99,7 +99,8 @@ export default {
|
|
|
energySavingRate: "", //节能率
|
|
|
cardList: [], //执行率@
|
|
|
dateVal: "", //@
|
|
|
- stackArr: []
|
|
|
+ stackArr: [],
|
|
|
+ accuracy:''
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -198,10 +199,28 @@ export default {
|
|
|
this.queryTdbDayMethod(date);
|
|
|
} else if (this.num == 2) {
|
|
|
this.queryEnergyDayQuery(date);
|
|
|
+ this.querychillerMethod(date);
|
|
|
} else if (this.num == 3) {
|
|
|
this.queryimplement(date);
|
|
|
}
|
|
|
},
|
|
|
+ querychillerMethod(date) {
|
|
|
+ let params = {
|
|
|
+ postParams: {
|
|
|
+ criteria: {
|
|
|
+ projectId: this.$store.state.projectId,
|
|
|
+ date: date
|
|
|
+ }
|
|
|
+ }
|
|
|
+ };
|
|
|
+ querychiller(params).then(res => {
|
|
|
+ // 节能率
|
|
|
+ this.energySavingRate=res.content[0].energySavingRate?res.content[0].energySavingRate:'--'
|
|
|
+ // 准确率
|
|
|
+ this.accuracy=res.content[0].accuracy?res.content[0].accuracy:'--'
|
|
|
+ console.log(res);
|
|
|
+ });
|
|
|
+ },
|
|
|
// 点击tab @
|
|
|
changeNum(index) {
|
|
|
this.num = index;
|