From 43c69bdbadbc91e606504a35c5d7db87dd0940ae Mon Sep 17 00:00:00 2001
From: WindowBird <13870814+windows-bird@user.noreply.gitee.com>
Date: Fri, 7 Nov 2025 15:58:14 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E8=AF=A6=E7=BB=86-=E8=B7=9F?=
=?UTF-8?q?=E8=BF=9B=E5=8A=A8=E6=80=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
common/api/customer.js | 4 ++--
pages/customer/detail/index.vue | 20 +++++++++++++++++---
2 files changed, 19 insertions(+), 5 deletions(-)
diff --git a/common/api/customer.js b/common/api/customer.js
index fae4097..48e48cc 100644
--- a/common/api/customer.js
+++ b/common/api/customer.js
@@ -105,10 +105,10 @@ export const getCustomerDetail = (id) => {
/**
* 获取客户跟进动态列表
* @param {string} customerId 客户ID
- * @returns {Promise} 返回跟进动态列表
+ * @returns {Promise} 返回跟进动态列表 { total: number, rows: array }
*/
export const getCustomerFollowupList = (customerId) => {
- return uni.$uv.http.get(`bst/customer/followup/list`, {
+ return uni.$uv.http.get(`bst/customerFollow/list`, {
params: {
customerId: customerId
},
diff --git a/pages/customer/detail/index.vue b/pages/customer/detail/index.vue
index cf014d4..70ce0b6 100644
--- a/pages/customer/detail/index.vue
+++ b/pages/customer/detail/index.vue
@@ -89,7 +89,7 @@
@click="handleFollowupClick(item)"
>
- {{ formatDate(item.createTime) }}
+ {{ formatDate(item.followTime) }}
{{ item.content }}
- {{ formatDateTime(item.createTime) }}
+
+ 跟进时间:{{ formatDateTime(item.followTime) }}
+ 下次跟进:{{ formatDateTime(item.nextFollowTime) }}
+
@@ -763,11 +766,22 @@ onMounted(() => {
margin-bottom: 8px;
}
+.followup-meta {
+ display: flex;
+ flex-direction: column;
+ gap: 4px;
+}
+
.followup-time {
font-size: 12px;
color: #999;
}
+.followup-next-time {
+ font-size: 12px;
+ color: #1976d2;
+}
+
// 项目列表样式
.project-card {
background-color: #fff;