Browse Source

统计分析bug

彭宇 2 years ago
parent
commit
3c91277dae
1 changed files with 2 additions and 4 deletions
  1. 2 4
      src/views/bigdata/chart-foamLiquid.vue

+ 2 - 4
src/views/bigdata/chart-foamLiquid.vue

@@ -97,11 +97,10 @@
           ],
 
           series: [{
-            name: "受理数", // bar图的外边框
             type: "bar",
             barWidth: "20%",
             yAxisIndex: 0,
-            data: [500, 500, 500, 500, 500].map((item, i) => {
+            data: that.data_pmy_value.map((item, i) => {
               return {
                 value: item,
                 itemStyle: {
@@ -115,11 +114,10 @@
             }),
           },
             {
-              name: "受理数", //这个是Bar图
               type: 'bar',
               yAxisIndex: 1,
               barWidth: "10%",
-              data: [150, 298, 206, 75, 154]
+              data: that.data_pmy_value
             }
           ],
           itemStyle: {