fix:补充饼图查询条件
This commit is contained in:
@@ -215,6 +215,7 @@ export default {
|
|||||||
statisticsData: [],
|
statisticsData: [],
|
||||||
orderPieTable: chartPieTableTopOptions[0].value,
|
orderPieTable: chartPieTableTopOptions[0].value,
|
||||||
selectPieChartName: '',
|
selectPieChartName: '',
|
||||||
|
allSelectPieChartName: [],
|
||||||
chartOption: null
|
chartOption: null
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -509,6 +510,7 @@ export default {
|
|||||||
unitType: unitType
|
unitType: unitType
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
this.allSelectPieChartName = tableQueryParams[chartParams.nameColumn]
|
||||||
this.chartOption.series[0].data = data
|
this.chartOption.series[0].data = data
|
||||||
if (this.chartOption.series[0].data && this.chartOption.series[0].data.length > 10) { // pieWithTable 图例超过10个改为滚动显示
|
if (this.chartOption.series[0].data && this.chartOption.series[0].data.length > 10) { // pieWithTable 图例超过10个改为滚动显示
|
||||||
this.chartOption.legend.type = 'scroll'
|
this.chartOption.legend.type = 'scroll'
|
||||||
|
|||||||
Reference in New Issue
Block a user