From 38847671699154f97e4149bdf13c7284f1d1429a Mon Sep 17 00:00:00 2001 From: zhaoguoqiang <849348323@qq.com> Date: Fri, 13 Aug 2021 11:41:45 +0800 Subject: [PATCH] =?UTF-8?q?=E7=AD=89=E5=BE=85=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/data.js | 4 + src/router/index.js | 13 + src/views/dataOverview/index.vue | 46 +++- src/views/login.vue | 28 +- src/views/teamList/index.vue | 212 +++++++++++++++ src/views/teamPerformance/index.vue | 391 ++++++++++++++++++++++++++++ 6 files changed, 666 insertions(+), 28 deletions(-) create mode 100644 src/views/teamList/index.vue create mode 100644 src/views/teamPerformance/index.vue diff --git a/src/api/data.js b/src/api/data.js index ef71523..8daefaa 100644 --- a/src/api/data.js +++ b/src/api/data.js @@ -15,6 +15,10 @@ class data{ async dataDistribution(){ return await get("/admin/DataReport/ShopDataReport/dataDistribution") } + //全国服务商数据 + async poxyList(param){ + return await get("/admin/DataReport/ShopDataReport/poxyList",param) + } } export default new data() \ No newline at end of file diff --git a/src/router/index.js b/src/router/index.js index bbede3c..1fa032a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -47,6 +47,19 @@ const routes = [{ name: 'dataOverview', component: () => import('../views/dataOverview/index.vue'), }, + { + path: "/teamList", + name: 'teamList', + component: () => import('../views/teamList/index.vue'), + meta: { + // title: '列表' + } + }, + { + path: "/teamPerformance", + name: 'teamPerformance', + component: () => import('../views/teamPerformance/index.vue'), + }, ]; const router = new VueRouter({ diff --git a/src/views/dataOverview/index.vue b/src/views/dataOverview/index.vue index 11520e1..8a844ba 100644 --- a/src/views/dataOverview/index.vue +++ b/src/views/dataOverview/index.vue @@ -9,7 +9,7 @@
服务商总数量
{{list.level_count | capitalize}}
{{list.level_5}}
{{list.level_4}}
{{list.level_3}}
{{list.level_2}}
本月新增服务商
{{list.month_add_level_5}}
{{list.month_add_level_4}}
{{list.month_add_level_3}}
{{list.month_add_level_2}}
{{index+1}}
{{this.$route.query.level_id | capitalize2}}
+{{index+1}}
+2021年总业绩
+¥{{list.year_count | capitalize}}
+本月业绩:{{list.month_count | capitalize}}
+服务商总数量
+{{list.level_count | capitalize}}
+股东
+{{list.level_5}}
+分公司
+{{list.level_4}}
+合伙人
+{{list.level_3}}
+总代
+{{list.level_2}}
+vip
+{{list.level_1}}
+本月新增服务商
+股东
+{{list.month_add_level_5}}
+分公司
+{{list.month_add_level_4}}
+合伙人
+{{list.month_add_level_3}}
+总代
+{{list.month_add_level_2}}
+vip
+{{list.month_add_level_1}}
+{{index+1}}
+