From e4944e7502d040799f17e51accffcec47f654dc6 Mon Sep 17 00:00:00 2001 From: WindowBird <13870814+windows-bird@user.noreply.gitee.com> Date: Tue, 11 Nov 2025 17:53:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=8D=E7=94=A8=E5=AE=A2=E6=88=B7=E7=AE=80?= =?UTF-8?q?=E4=BB=8B=E5=8D=A1=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/CustomerManagement.vue | 62 +----- components/customer/CustomerSummaryBrief.vue | 196 +++++++++++++++++++ pages/customer/detail/index.vue | 31 +-- 3 files changed, 213 insertions(+), 76 deletions(-) create mode 100644 components/customer/CustomerSummaryBrief.vue diff --git a/components/CustomerManagement.vue b/components/CustomerManagement.vue index 5525205..cdd1150 100644 --- a/components/CustomerManagement.vue +++ b/components/CustomerManagement.vue @@ -55,41 +55,14 @@ :key="customer.id" @click="handleCustomerClick(customer)" > - - - - {{ customer.name }} - - - - - - - - - {{ getStatusText(customer.status) }} - - - - - {{ getIntentLevelText(customer.intentLevel) }} - - - - - {{ intent }} - - + @@ -185,12 +158,10 @@ + + + + diff --git a/pages/customer/detail/index.vue b/pages/customer/detail/index.vue index 6c215da..89ae501 100644 --- a/pages/customer/detail/index.vue +++ b/pages/customer/detail/index.vue @@ -11,30 +11,12 @@ - - - 客户姓名 - {{ customerDetail.contactName || customerDetail.name || '--' }} - - - 客户状态 - - {{ getStatusText(customerDetail.status) }} - - - - - - - - 客户意向 - {{ formatIntents(customerDetail.intents) }} - - - 意向强度 - {{ getIntentStrengthText(customerDetail.intentLevel) }} - - + @@ -148,6 +130,7 @@ import { getCustomerDetail, getCustomerFollowupList, getCustomerProjects, delete import FollowupTab from '@/components/customer-detail/FollowupTab.vue'; import ProjectsTab from '@/components/customer-detail/ProjectsTab.vue'; import InfoTab from '@/components/customer-detail/InfoTab.vue'; +import CustomerSummaryBrief from '@/components/customer/CustomerSummaryBrief.vue'; import { getCustomerStatusText, getCustomerStatusClass,