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;