Browse Source

用户来源 首页

魏熙美 5 years ago
parent
commit
b31cdc1497
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/views/indexEcharts/index.vue

+ 4
- 4
src/views/indexEcharts/index.vue View File

137
         // ----- 用户来源 start  -----
137
         // ----- 用户来源 start  -----
138
           console.log('selectUserSource - pie: ', x.selectUserSource.pie)
138
           console.log('selectUserSource - pie: ', x.selectUserSource.pie)
139
           console.log('selectUserSource - columnar: ', x.selectUserSource.columnar)
139
           console.log('selectUserSource - columnar: ', x.selectUserSource.columnar)
140
-          this.pie(x.selectUserSource.pie)
141
-          this.columnar(x.selectUserSource.columnar)
140
+          this.selectUserSourcePie(x.selectUserSource.pie)
141
+          this.selectUserSourceColumnar(x.selectUserSource.columnar)
142
         // ----- 用户来源 end --------
142
         // ----- 用户来源 end --------
143
 
143
 
144
       });;
144
       });;
416
       });
416
       });
417
     },
417
     },
418
       // ---------- 用户来源 start --------------
418
       // ---------- 用户来源 start --------------
419
-      pie (obj) { // 饼状图绘制
419
+      selectUserSourcePie (obj) { // 饼状图绘制
420
           // 绘制图表
420
           // 绘制图表
421
           this.pieSecondChart.setOption({
421
           this.pieSecondChart.setOption({
422
               color: ["#7974ce","#f5749d","#3688f8"],
422
               color: ["#7974ce","#f5749d","#3688f8"],
456
               ]
456
               ]
457
           });
457
           });
458
       },
458
       },
459
-      columnar(obj) { // 柱状图
459
+      selectUserSourceColumnar(obj) { // 柱状图
460
           // 活动名称
460
           // 活动名称
461
           const fromName = []
461
           const fromName = []
462
 
462