|
@@ -179,7 +179,7 @@ export default {
|
|
|
// data: this.subIndex > -1 && this.tabData.qualityProcessAndRdEfficiencyCopywriters[this.subIndex].subReportDetails,
|
|
|
data: this.tabData.qualityProcessAndRdEfficiencyCopywriters.map(elm => {
|
|
|
return elm.subReportDetails
|
|
|
- }).reduce((a, b) => a.concat(b)).filter(elm=>elm.total),
|
|
|
+ }).reduce((a, b) => a.concat(b)).filter(elm => elm.total),
|
|
|
emphasis: {
|
|
|
itemStyle: {
|
|
|
shadowBlur: 0,
|
|
@@ -227,7 +227,7 @@ export default {
|
|
|
this.option.series[0].data = this.tabData.qualityProcessAndRdEfficiencyCopywriters
|
|
|
this.option.series[1].data = this.tabData.qualityProcessAndRdEfficiencyCopywriters.map(elm => {
|
|
|
return elm.subReportDetails
|
|
|
- }).reduce((a, b) => a.concat(b)).filter(elm=>elm.total)
|
|
|
+ }).reduce((a, b) => a.concat(b)).filter(elm => elm.total)
|
|
|
this.myChart.setOption(this.option)
|
|
|
}
|
|
|
}
|