|
|
|
@ -427,7 +427,9 @@ export default { |
|
|
|
this.pieEduOptions = pieOption(this.pieEduChartS) |
|
|
|
this.pieEduOptions.legend = { ...legend } |
|
|
|
// this.pieEduOptions.series[1].width = 400 |
|
|
|
this.clickEduPie(0) |
|
|
|
const maxValue = Math.max(...this.eduItem.map(i => Number(i.value))); |
|
|
|
const maxIndex = this.eduItem.findIndex(a => Number(a.value)==maxValue) |
|
|
|
this.clickEduPie(maxIndex) |
|
|
|
let fun = params => { |
|
|
|
// if (params.seriesIndex == 0 || params.seriesIndex == 2) { |
|
|
|
// this.eduCode = '' |
|
|
|
@ -638,6 +640,7 @@ export default { |
|
|
|
isClick: false |
|
|
|
} |
|
|
|
}) |
|
|
|
console.log('&&&&&&&&&&&&', this.eduItem) |
|
|
|
this.eduTotalCount = 0 |
|
|
|
data.forEach(item => { |
|
|
|
this.eduTotalCount += Number(item.value) |
|
|
|
|