|
@@ -127,9 +127,9 @@ export default {
|
|
if (this.date) {
|
|
if (this.date) {
|
|
this.date = this.formatterStr3(new Date().getFullYear() + this.formatterStr2(this.date))
|
|
this.date = this.formatterStr3(new Date().getFullYear() + this.formatterStr2(this.date))
|
|
}
|
|
}
|
|
- if (this.num && this.date) {
|
|
|
|
- this.changeNumMethod(this.date)
|
|
|
|
- }
|
|
|
|
|
|
+ // if (this.num && this.date) {
|
|
|
|
+ // this.changeNumMethod(this.date)
|
|
|
|
+ // }
|
|
},
|
|
},
|
|
// @
|
|
// @
|
|
formatterStr2(str) {
|
|
formatterStr2(str) {
|
|
@@ -140,14 +140,7 @@ export default {
|
|
// 室内温度table @
|
|
// 室内温度table @
|
|
queryTdbDayMethod(date) {
|
|
queryTdbDayMethod(date) {
|
|
this.dataList = []
|
|
this.dataList = []
|
|
- let obj = {
|
|
|
|
- // 'Fl44130300016569b876ba5311e990f9592e6484ca96': {
|
|
|
|
- // id: 'Fl44130300016569b876ba5311e990f9592e6484ca96',
|
|
|
|
- // name: '1F',
|
|
|
|
- // children: []
|
|
|
|
- // }
|
|
|
|
- }
|
|
|
|
- // isSatisfy:this.value2
|
|
|
|
|
|
+ let obj = {}
|
|
let getParams = {}
|
|
let getParams = {}
|
|
if (this.value2) {
|
|
if (this.value2) {
|
|
getParams.isSatisfy = !this.value2
|
|
getParams.isSatisfy = !this.value2
|
|
@@ -157,7 +150,6 @@ export default {
|
|
this.tindoorFillRate = ''
|
|
this.tindoorFillRate = ''
|
|
queryTdbDay(date, { getParams }).then(res => {
|
|
queryTdbDay(date, { getParams }).then(res => {
|
|
this.tindoorFillRate = res.tindoorFillRate != undefined ? res.tindoorFillRate.toFixed(1) : '--'
|
|
this.tindoorFillRate = res.tindoorFillRate != undefined ? res.tindoorFillRate.toFixed(1) : '--'
|
|
- // console.log('室内温度满足率', res)
|
|
|
|
let content = res.content
|
|
let content = res.content
|
|
this.stackArr = content
|
|
this.stackArr = content
|
|
content.forEach(({ spaceDayRpt }) => {
|
|
content.forEach(({ spaceDayRpt }) => {
|
|
@@ -171,7 +163,6 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
})
|
|
})
|
|
-
|
|
|
|
this.dataList = Object.values(obj).map(i => {
|
|
this.dataList = Object.values(obj).map(i => {
|
|
// 增加 isExpand 属性
|
|
// 增加 isExpand 属性
|
|
i.isExpand = i.children.some(c => c.isSatisfy == false)
|
|
i.isExpand = i.children.some(c => c.isSatisfy == false)
|