diff --git a/api/apiRoute.js b/api/apiRoute.js
index 94806c7..0e4da2e 100644
--- a/api/apiRoute.js
+++ b/api/apiRoute.js
@@ -321,6 +321,16 @@ export default {
})
},
+ //员工端统计(销售)-获取销售首页数据统计
+ xs_statisticsMarketHome(data = {}) {
+ let url = '/statistics/marketHome'
+ return http.get(url, data).then(res => {
+ return res;
+ })
+ },
+
+
+
diff --git a/pages/market/index/index.vue b/pages/market/index/index.vue
index 96a5f0e..feae96e 100644
--- a/pages/market/index/index.vue
+++ b/pages/market/index/index.vue
@@ -7,7 +7,9 @@
-
+
+
+
@@ -22,65 +24,68 @@
- 目标
+ 拉新总数
- {{infoData.goal}}元
+ {{infoData.month.new_total}}人
+
- 预测
+ 已分配
- {{infoData.yc_yj}}元
+ {{infoData.month.new_total}}人
+
- 成交
+ 昨日拉新
+
+ {{infoData.month.yesterday_new}}人
+
+
+
+
+
+
+
+ 今日拉新
- {{infoData.cj_yj}}元
+ {{infoData.month.today_new}}人
-
-
-
-
-
-
-
-
-
-
+
- {{infoData.date}}
+ {{infoData.date_range}}
-
+
-
- {{ infoData.goal_percent }}%
+
+ {{ infoData.month.yesterday_new_rate }}%
- 目标
+ 昨日
-
+
-
- {{ infoData.yc_yj_percent }}%
+
+ {{ infoData.month.assigned_sales_rate }}%
- 预测
+ 分配
-
+
-
- {{ infoData.cj_yj_percent }}%
+
+ {{ infoData.month.today_new_rate }}%
- 成交
+ 今日
@@ -88,13 +93,15 @@
+
+
- 本月业绩
+ 上月业绩
@@ -105,73 +112,224 @@
- 待联系
+ 拉新总数
- 50个
+ {{infoData.last_month.new_total}}人
+
- 待领取
+ 已分配
- {{infoData.dlq}}个
+ {{infoData.last_month.assigned_sales}}人
+
- 待释放
+ 昨日拉新
- {{infoData.dsf}}个
+ {{infoData.last_month.yesterday_new}}人
-
-
-
-
-
-
-
-
-
- 待协作
+ 今日拉新
- {{infoData.dxz}}个
+ {{infoData.last_month.today_new}}人
-
-
-
-
-
-
-
-
- 消息
-
- {{infoData.xx}}个
-
-
+
+
+
+
+
+
+
+
+ 本月业绩
+
+
+
+
+
+
+
+
+ 已分配
+
+ {{infoData.month.assigned_clients}}人
+
+
+
+
+
+
+
+ 已沟通
+
+ {{infoData.month.contacted_clients}}人
+
+
+
+
+
+
+
+ 未成交
+
+ {{infoData.month.unconverted_clients}}人
+
+
+
+
+
+
+
+ 待续费
+
+ {{infoData.month.renewal_clients}}人
+
+
+
+
+
+
+
+ 已关单
+
+ {{infoData.month.closed_clients}}人
+
+
+
+
+
+
+
+
+ {{infoData.date}}
+
+
+
+
+
+ {{ infoData.goal_percent }}%
+
+ 目标
+
+
+
+
+
+ {{ infoData.yc_yj_percent }}%
+
+ 预测
+
+
+
+
+
+ {{ infoData.cj_yj_percent }}%
+
+ 成交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 上月业绩
+
+
+
+
+
+
+
+
+
+
+ 已分配
+
+ {{infoData.last_month.assigned_clients}}人
+
+
+
+
+
+
+ 已沟通
+
+ {{infoData.last_month.contacted_clients}}人
+
+
+
+
+
+
+
+
+
+ 未成交
+
+ {{infoData.last_month.unconverted_clients}}个
+
+
+
+
+
+
+ 待续费
+
+ {{infoData.last_month.renewal_clients}}人
+
+
+
+
+
+
+
+
+
+
+ 已关单
+
+ {{infoData.last_month.closed_clients}}人
+
+
+
+
+
+