From 22554d763879ec62ab69b2626d882547c65b6788 Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Mon, 10 Nov 2025 10:02:02 +0800
Subject: [PATCH] =?UTF-8?q?=E6=9F=A5=E7=9C=8B=E8=B7=9F=E8=BF=9B=E8=AF=A6?=
=?UTF-8?q?=E7=BB=86?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/api/customer.js | 12 +++++
pages/customer/follow/detail/index.vue | 66 ++++++++++++++++++--------
2 files changed, 57 insertions(+), 21 deletions(-)
diff --git a/common/api/customer.js b/common/api/customer.js
index d5fd249..ea1f8d5 100644
--- a/common/api/customer.js
+++ b/common/api/customer.js
@@ -281,6 +281,18 @@ export const getCustomerStatusDict = () => {
});
};
+/**
+ * 获取客户跟进方式字典数据
+ * @returns {Promise} 返回字典数据数组,包含 dictLabel 和 dictValue
+ */
+export const getCustomerFollowTypeDict = () => {
+ return uni.$uv.http.get(`system/dict/data/type/customer_follow_type`, {
+ custom: {
+ auth: true
+ }
+ });
+};
+
/**
* 获取微信列表
* @returns {Promise} 返回微信列表 { total: number, rows: array }
diff --git a/pages/customer/follow/detail/index.vue b/pages/customer/follow/detail/index.vue
index 19ad3d5..cb3b444 100644
--- a/pages/customer/follow/detail/index.vue
+++ b/pages/customer/follow/detail/index.vue
@@ -24,9 +24,7 @@
{{ followupDetail.userName || '--' }}
销售经理
-
- {{ formatDateTime(followupDetail.followTime) }}
-
+
@@ -66,14 +64,18 @@
- 下次跟进
+ 时间信息
跟进时间
+ {{ formatDateTime(followupDetail.followTime) }}
+
+
+ 下次跟进
{{ formatDateTime(followupDetail.nextFollowTime) }}
-
- 跟进内容
- {{ followupDetail.nextFollowContent }}
+
+ 创建时间
+ {{ followupDetail.createTime }}
@@ -104,6 +106,10 @@
客户意向
{{ formatIntents(followupDetail.intents) }}
+
+ 跟进方式
+ {{ getFollowTypeText(followupDetail.followType || followupDetail.followMethod || followupDetail.type) }}
+
@@ -133,18 +139,7 @@
-
-
- 时间信息
-
- 创建时间
- {{ formatDateTime(followupDetail.createTime) }}
-
-
- 更新时间
- {{ formatDateTime(followupDetail.updateTime) }}
-
-
+
@@ -166,7 +161,7 @@