|
|
@ -311,7 +311,11 @@ export default { |
|
|
|
this.pieAgeOptions = pieOption(this.pieAgeChartS) |
|
|
|
this.clickAgePie(0) |
|
|
|
let fun = params => { |
|
|
|
if (params.seriesIndex == 0 || params.seriesIndex == 2) return |
|
|
|
if (params.seriesIndex == 0 || params.seriesIndex == 2) { |
|
|
|
this.ageCode = '' |
|
|
|
this.getAgeList() |
|
|
|
return |
|
|
|
} |
|
|
|
this.clickAgePie(params.dataIndex) |
|
|
|
} |
|
|
|
this.$refs.ageChart.handleClick(fun) |
|
|
@ -360,7 +364,11 @@ export default { |
|
|
|
// this.pieEduOptions.series[1].width = 400 |
|
|
|
this.clickEduPie(0) |
|
|
|
let fun = params => { |
|
|
|
if (params.seriesIndex == 0 || params.seriesIndex == 2) return |
|
|
|
if (params.seriesIndex == 0 || params.seriesIndex == 2) { |
|
|
|
this.eduCode = '' |
|
|
|
this.getEduList() |
|
|
|
return |
|
|
|
} |
|
|
|
this.clickEduPie(params.dataIndex) |
|
|
|
} |
|
|
|
this.$refs.eduChart.handleClick(fun) |
|
|
|