|
@@ -30,7 +30,7 @@
|
|
|
<ev-two-table v-if="dataList.length>0" :switch="value2" :dataList="dataList"></ev-two-table>
|
|
|
</div>
|
|
|
<div class="count-bottom-foot">
|
|
|
- <ev-stacked-line v-if="stackArr.length>0" :stackArr='stackArr'></ev-stacked-line>
|
|
|
+ <ev-stacked-line v-if="stackArr.length>0" :stackArr="stackArr"></ev-stacked-line>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div v-show="num == 2">
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
queryTdbDay
|
|
|
} from "@/api/evaluate/evaluate.js";
|
|
|
import { queryChillerExecuteInfo } from "@/api/appeal/appeal.js";
|
|
|
-import bus from '@/utils/bus.js'
|
|
|
+import bus from "@/utils/bus.js";
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
energySavingRate: "", //节能率
|
|
|
cardList: [], //执行率@
|
|
|
dateVal: "", //@
|
|
|
- stackArr:[]
|
|
|
+ stackArr: []
|
|
|
};
|
|
|
},
|
|
|
components: {
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
);
|
|
|
}
|
|
|
if (this.num && this.date) {
|
|
|
- this.changeNumMethod();
|
|
|
+ this.changeNumMethod(this.date);
|
|
|
}
|
|
|
},
|
|
|
// @
|
|
@@ -151,7 +151,7 @@ export default {
|
|
|
this.tindoorFillRate = res.tindoorFillRate;
|
|
|
console.log("室内温度满足率", res);
|
|
|
let content = res.content;
|
|
|
- this.stackArr= content
|
|
|
+ this.stackArr = content;
|
|
|
content.forEach(({ spaceDayRpt }) => {
|
|
|
if (obj.hasOwnProperty(spaceDayRpt.floorId)) {
|
|
|
obj[spaceDayRpt.floorId].children.push(spaceDayRpt);
|
|
@@ -193,19 +193,19 @@ export default {
|
|
|
});
|
|
|
},
|
|
|
// 根据tab @
|
|
|
- changeNumMethod() {
|
|
|
+ changeNumMethod(date) {
|
|
|
if (this.num == 1) {
|
|
|
- this.queryTdbDayMethod(this.date);
|
|
|
+ this.queryTdbDayMethod(date);
|
|
|
} else if (this.num == 2) {
|
|
|
- this.queryEnergyDayQuery(this.date);
|
|
|
+ this.queryEnergyDayQuery(date);
|
|
|
} else if (this.num == 3) {
|
|
|
- this.queryimplement(this.date);
|
|
|
+ this.queryimplement(date);
|
|
|
}
|
|
|
},
|
|
|
// 点击tab @
|
|
|
changeNum(index) {
|
|
|
this.num = index;
|
|
|
- this.changeNumMethod();
|
|
|
+ this.changeNumMethod(this.dateVal);
|
|
|
},
|
|
|
// @
|
|
|
formatterStr(str) {
|
|
@@ -217,7 +217,8 @@ export default {
|
|
|
pickerVal(val) {
|
|
|
if (val) {
|
|
|
this.dateVal = this.formatterStr(val);
|
|
|
- this.changeNumMethod();
|
|
|
+ this.changeNumMethod(this.dateVal);
|
|
|
+ // console.log(this.dateVal);
|
|
|
}
|
|
|
},
|
|
|
// @
|