|
@ -156,6 +156,7 @@ export default { |
|
|
// [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'], |
|
|
// [1,'商丘路社区第一网格','商丘路小区','2号楼','杨颖、王平、刘佳敏、丁辉、杨萍'], |
|
|
], |
|
|
], |
|
|
noInit: false, |
|
|
noInit: false, |
|
|
|
|
|
noEduInit: false, |
|
|
selectAgency: null, |
|
|
selectAgency: null, |
|
|
ageTotalCount: 0, |
|
|
ageTotalCount: 0, |
|
|
eduTotalCount: 0, |
|
|
eduTotalCount: 0, |
|
@ -533,13 +534,13 @@ export default { |
|
|
this.pieEduOptions.series[1].data = this.eduItem |
|
|
this.pieEduOptions.series[1].data = this.eduItem |
|
|
// this.$refs.pieChart.hideLoading() |
|
|
// this.$refs.pieChart.hideLoading() |
|
|
this.$refs.eduChart.setOption(this.pieEduOptions) |
|
|
this.$refs.eduChart.setOption(this.pieEduOptions) |
|
|
if (this.noInit) { |
|
|
if (this.noEduInit) { |
|
|
const _arr = this.selectAgency[this.selectAgency.length - 1].split('-') |
|
|
const _arr = this.selectAgency[this.selectAgency.length - 1].split('-') |
|
|
const orgType = _arr[1] !== 'grid' ? 'agency': 'grid' |
|
|
const orgType = _arr[1] !== 'grid' ? 'agency': 'grid' |
|
|
|
|
|
|
|
|
this.getEduList(_arr[0], orgType, _code) |
|
|
this.getEduList(_arr[0], orgType, _code) |
|
|
} |
|
|
} |
|
|
this.noInit = true |
|
|
this.noEduInit = true |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|