|
@ -262,7 +262,7 @@ export default { |
|
|
ldUserRatio: '5%',//流动居民总数占比 |
|
|
ldUserRatio: '5%',//流动居民总数占比 |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
userColorArray: ['#1B51FF', '#00E5ED'], |
|
|
userColorArray: ['#ff7800', '#00E5ED'], |
|
|
userPieData: [], |
|
|
userPieData: [], |
|
|
|
|
|
|
|
|
subList: [], |
|
|
subList: [], |
|
@ -285,10 +285,11 @@ export default { |
|
|
methods: { |
|
|
methods: { |
|
|
async getApiData () { |
|
|
async getApiData () { |
|
|
|
|
|
|
|
|
|
|
|
this.housePieInitState = false |
|
|
await this.getHousechart() |
|
|
this.userPieInitState = false |
|
|
await this.getUserchart() |
|
|
this.getHousechart() |
|
|
await this.getSubuserhouselist() |
|
|
this.getUserchart() |
|
|
|
|
|
this.getSubuserhouselist() |
|
|
|
|
|
|
|
|
this.getHousePie() |
|
|
this.getHousePie() |
|
|
this.getUserPie() |
|
|
this.getUserPie() |
|
@ -296,13 +297,13 @@ export default { |
|
|
housePieInitOk (dom) { |
|
|
housePieInitOk (dom) { |
|
|
console.log('pie准备好了', dom) |
|
|
console.log('pie准备好了', dom) |
|
|
this.housePieChartS = dom |
|
|
this.housePieChartS = dom |
|
|
this.housePieInitState = true |
|
|
// this.housePieInitState = true |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
userPieInitOk (dom) { |
|
|
userPieInitOk (dom) { |
|
|
console.log('pie准备好了', dom) |
|
|
console.log('pie准备好了', dom) |
|
|
this.userPieChartS = dom |
|
|
this.userPieChartS = dom |
|
|
this.userPieInitState = true |
|
|
// this.userPieInitState = true |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
@ -330,6 +331,7 @@ export default { |
|
|
this.houseData = {} |
|
|
this.houseData = {} |
|
|
this.$message.error(msg); |
|
|
this.$message.error(msg); |
|
|
} |
|
|
} |
|
|
|
|
|
this.housePieInitState = true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getHousePie () { |
|
|
getHousePie () { |
|
@ -411,6 +413,7 @@ export default { |
|
|
this.userData = {} |
|
|
this.userData = {} |
|
|
this.$message.error(msg); |
|
|
this.$message.error(msg); |
|
|
} |
|
|
} |
|
|
|
|
|
this.userPieInitState = true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
getUserPie () { |
|
|
getUserPie () { |
|
|