From f8d41c7f3be2b9d16ffe5cecf43a02a8c4740482 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Mon, 10 Nov 2025 09:43:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=9F=E8=BF=9B=E8=AF=A6=E7=BB=86=E5=88=9D?= =?UTF-8?q?=E7=89=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/api/customer.js | 13 + components/customer-detail/FollowupTab.vue | 5 + pages.json | 7 + pages/customer/follow/detail/index.vue | 566 +++++++++++++++++++++ 4 files changed, 591 insertions(+) create mode 100644 pages/customer/follow/detail/index.vue diff --git a/common/api/customer.js b/common/api/customer.js index bc6a10f..d5fd249 100644 --- a/common/api/customer.js +++ b/common/api/customer.js @@ -129,6 +129,19 @@ export const getCustomerFollowupList = (customerId) => { }); }; +/** + * 获取跟进详情 + * @param {string} followId 跟进ID + * @returns {Promise} 返回跟进详情 + */ +export const getFollowupDetail = (followId) => { + return uni.$uv.http.get(`bst/customerFollow/${followId}`, { + custom: { + auth: true + } + }); +}; + /** * 获取客户项目列表 * @param {string} customerId 客户ID diff --git a/components/customer-detail/FollowupTab.vue b/components/customer-detail/FollowupTab.vue index 85b0674..4ac5833 100644 --- a/components/customer-detail/FollowupTab.vue +++ b/components/customer-detail/FollowupTab.vue @@ -123,6 +123,11 @@ const formatTimeOnly = (dateTime) => { // 跟进项点击 const handleFollowupClick = (item) => { + if (item && item.followId) { + uni.navigateTo({ + url: `/pages/customer/follow/detail/index?followId=${item.followId}` + }); + } emit('followup-click', item); }; diff --git a/pages.json b/pages.json index f787ed3..874b856 100644 --- a/pages.json +++ b/pages.json @@ -89,6 +89,13 @@ "navigationBarTitleText": "编辑客户", "navigationStyle": "custom" } + }, + { + "path": "pages/customer/follow/detail/index", + "style": { + "navigationBarTitleText": "跟进详情", + "navigationStyle": "custom" + } } ], diff --git a/pages/customer/follow/detail/index.vue b/pages/customer/follow/detail/index.vue new file mode 100644 index 0000000..19ad3d5 --- /dev/null +++ b/pages/customer/follow/detail/index.vue @@ -0,0 +1,566 @@ + + + + + +