BUG 30142
This commit is contained in:
@@ -126,8 +126,8 @@ export default {
|
|||||||
this.$forceUpdate()
|
this.$forceUpdate()
|
||||||
},
|
},
|
||||||
handleGridSelect(e) {
|
handleGridSelect(e) {
|
||||||
this.gridName = e?.[0]?.girdName
|
this.gridName = e?.girdName
|
||||||
this.search.girdId = e?.[0]?.id
|
this.search.girdId = e?.id
|
||||||
this.getDatas()
|
this.getDatas()
|
||||||
},
|
},
|
||||||
areaSelect(e) {
|
areaSelect(e) {
|
||||||
@@ -143,13 +143,7 @@ export default {
|
|||||||
params: {...this.search, type: 0, range: 0}
|
params: {...this.search, type: 0, range: 0}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
for (let i in res.data) {
|
this.statisticsList = Object.keys(res.data).map((label, i, arr) => ({label, value: res.data[label]}))
|
||||||
let obj = {
|
|
||||||
label: i,
|
|
||||||
value: res.data[i],
|
|
||||||
}
|
|
||||||
this.statisticsList.push(obj)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
@@ -159,13 +153,7 @@ export default {
|
|||||||
params: {...this.search, type: 0, range: 1}
|
params: {...this.search, type: 0, range: 1}
|
||||||
}).then((res) => {
|
}).then((res) => {
|
||||||
if (res?.data) {
|
if (res?.data) {
|
||||||
for (let i in res.data) {
|
this.statisticsListMon = Object.keys(res.data).map((label, i, arr) => ({label, value: res.data[label]}))
|
||||||
let obj = {
|
|
||||||
label: i,
|
|
||||||
value: res.data[i],
|
|
||||||
}
|
|
||||||
this.statisticsListMon.push(obj)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user