|
|
@@ -233,10 +233,6 @@ export default {
|
|
|
},
|
|
|
},
|
|
|
});
|
|
|
- dataPie = dataPie.filter(function(x){if(x.value==0){return false}return true})
|
|
|
- dataPie.forEach((item,index)=>{
|
|
|
- pieColors.push(item.color)
|
|
|
- })
|
|
|
dataBarX.push(item.label);
|
|
|
dataBarY.push({
|
|
|
sale: item.sale,
|
|
|
@@ -244,6 +240,10 @@ export default {
|
|
|
itemStyle: { color: colors[index] },
|
|
|
});
|
|
|
});
|
|
|
+ dataPie = dataPie.filter(function(x){if(x.value==0){return false}return true})
|
|
|
+ dataPie.forEach((item,index)=>{
|
|
|
+ pieColors.push(item.color)
|
|
|
+ })
|
|
|
let option = {
|
|
|
title: {
|
|
|
subtext: "填报次数",
|