From dedccd50d839591ff7edd137f66a757c48d9ba60 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=A3=8E=E7=BB=A7=E7=BB=AD=E5=90=B9?= <17611323298@163.com>
Date: Mon, 3 Apr 2023 17:43:18 +0800
Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 32 +
pages/center/consumer/index.vue | 1849 ++++++++++++++++++++++---------
pages/index/consumer/index.vue | 69 +-
pages/index/customer.vue | 1 +
pages/index/index.vue | 339 ++++--
pages/index/learning.vue | 1 +
pages/index/personal.vue | 1 +
pages/login/index.vue | 2 +-
8 files changed, 1655 insertions(+), 639 deletions(-)
diff --git a/App.vue b/App.vue
index c1c7b18..cfbc8e6 100644
--- a/App.vue
+++ b/App.vue
@@ -26,6 +26,38 @@
},
methods: {
+ //实时统计
+ getTabBarBadge() {
+ uni.request({
+ url: config.service.realTimeStatistics,
+ method: "POST",
+ header: {
+ 'content-type': 'application/json',
+ 'Authorization': 'Bearer ' + uni.getStorageSync('weapp_session_login_data').token
+ },
+ data: {
+ houseId: uni.getStorageSync('buildingID').id
+ },
+ success: (data) => {
+ if (data.data.data == null) {
+ return
+ } else {
+ if (data.data.data.receivingCustomer > 0) {
+ uni.setTabBarBadge({
+ index: 0,
+ text: data.data.data.receivingCustomer.toString() || "0"
+ })
+ } else {
+ uni.hideTabBarRedDot({
+ inndex: 0,
+ })
+ }
+ }
+ },
+ fail: () => {}
+ })
+ },
+
upDateBulidIngObj() {
this.bulidIngObj = uni.getStorageSync('buildingID')
},
diff --git a/pages/center/consumer/index.vue b/pages/center/consumer/index.vue
index 2d7fbeb..4b81755 100644
--- a/pages/center/consumer/index.vue
+++ b/pages/center/consumer/index.vue
@@ -1,6 +1,6 @@
-
+
@@ -8,629 +8,1466 @@
输入客户姓名/手机号
-
+
+
+
+
+
+
+
+
-
- 接待时间
+
+ {{ sortFilter }}
+
-
- 接待时长
+
+ {{ arriveFilter }}
+
-
- 排序
+
+ {{ agentIdtext }}
+
-
- 更多筛选
+
+ 画像标签
+
+
+ 筛选结果:{{totalRecords}} 条
+
+
-
+
-
+
- 暂无数据
+ 暂无数据
-
+
-
- A
- B
- C
- D
-
+
+ A
+ B
+ C
+ D
{{item.name}}
+
+
+
+ {{ item.frection || 0 }}%
+
+
-
- 手机号码:{{item.phone || '--'}}
-
-
- 客户标签:
- 暂无
- {{che.name}}
-
+ 手机号码:{{ item.phone || "--" }}
+ 客户阶段:{{ item.clientStageName || '--' }}
- 顾问姓名:{{item.agentName}}
+ 负责顾问:{{ item.agentName || "--" }}
- 添加时间:{{item.createTime}}
+
+ 挖掘执行/成功:{{ max100(item.wordFraction) }}%/{{ max100(item.wordFinishFraction) }}%
+
+ 客户意向率:{{ `${item.levelFraction||'0'}%` }}
+
-
- {{item.visitRecord || '--'}}次到访
- {{item.fraction || '0'}}% | {{item.mm || '0'}}min
+
+ 最近到访:{{ item.createTime || "--" }}
+
+ 到访{{ item.visitRecord || 0 }}次/{{ item.mm || 0 }}min
+
-
-
- 写跟进
+
+
+
+
+ 写跟进
+
+
+
+
+
+
+ 打标签
+
+
-
-
-
-
-
- 所属顾问
+
+
+
+
+
+
+
+ 销讲业务
+
+
-
-
-
+
+
+
+ {{item.templateName}}
+
+
-
-
- 客户标签
+
+
+
+ 接待时长
+
+
-
-
-
+
+
+
+ {{ item.label }}
+
+
-
+
-
- 客户等级
+
+ 意向等级
+
+
-
-
- A
-
-
- B
-
-
- C
-
-
- D
-
+
+
+
+ {{ item.label }}
+
+
-
+
+
+ 客户来源
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
客户阶段
+
+
-
-
-
- {{item}}
+
+
+
+ {{ item.label }}
-
+
- -->
+
+
-
- 到访次数
+
+ 挖掘执行率
+
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+ 挖掘成功率
+
+
+
+
+
+
+ {{item.label}}
+
+
+
+
+
+
+
+ 销讲执行率
+
+
-
-
- 首次到访
-
-
- 2次到访
-
-
- 3次到访
-
-
- 3次以上
-
+
+
+
+ {{ item.label }}
+
+
-
+
+
-
-
-
+
-
+
- 全部
- 今天
- 昨天
- 近7天
- 近30天
- 自定义
+
+ 全部
+
+ 今天
+
+ 昨天
+
+ 近7天
+
+ 近30天
+
+ 自定义
-
- 全部
- 0~15min
- 15~30min
- 30~60min
- 60~90min
- 90min以上
+
+
+
+
+
+ {{ item.label }}
+
+
+
+
+
+
+
+
+
+
+ {{item.name}}
+
+
+
+
+
+
+ {{ subitem.name }}
+
+
+
+
+
+
+
-
+
+
+