Browse Source

统计新增客户 跳转到 新增用户用户界面

魏熙美 5 years ago
parent
commit
9a66557c36
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      src/views/indexEcharts/components/NewUsers.vue

+ 4
- 1
src/views/indexEcharts/components/NewUsers.vue View File

@@ -5,7 +5,7 @@
5 5
       <v-chart v-loading="loading" class="chart" :options="options" />
6 6
     </div>
7 7
     <div class="chart-box" v-if="mode == 'all' || mode == 'table'">
8
-      <h3>新增客户 <small>最近七天</small></h3>
8
+      <h3 @click="toNewUsers">新增客户 <small>最近七天</small></h3>
9 9
       <el-table v-loading="loading" :data="tableData"  border  center  style="width: 100%; margin-top: 16px">
10 10
         <el-table-column v-for="(item, index) in tableTitle" :key="index" :label="item" :prop="index == 0 ? 'label': item"></el-table-column>
11 11
       </el-table>
@@ -114,6 +114,9 @@ export default {
114 114
         this.loading = false
115 115
       })
116 116
     },
117
+    toNewUsers() {
118
+      this.$router.push({ name: "newUsers" });
119
+    },
117 120
   },
118 121
 }
119 122
 </script>