|
@@ -28,7 +28,7 @@
|
|
|
<div
|
|
|
v-for="(
|
|
|
item, itemIndex
|
|
|
- ) in tabData.qualityProcessAndRdEfficiencyCopywriters.filter(
|
|
|
+ ) in pieData.filter(
|
|
|
(elm) => (reportBizName ? elm.name === reportBizName : true)
|
|
|
)"
|
|
|
:key="itemIndex"
|
|
@@ -233,9 +233,10 @@ export default {
|
|
|
this.option.series[1].data = this.pieData.map(elm => {
|
|
|
return elm.subReportDetails
|
|
|
}).reduce((a, b) => a.concat(b)).filter(elm => elm.total)
|
|
|
- if (this.pieData.filter(elm => elm.total).length) {
|
|
|
- this.myChart.setOption(this.option)
|
|
|
- }
|
|
|
+ // if (this.pieData.length) {
|
|
|
+ // this.myChart.setOption(this.option)
|
|
|
+ // }
|
|
|
+ this.myChart.setOption(this.option)
|
|
|
}
|
|
|
}
|
|
|
}
|