From e475029725c2d1526a13db7290f29dc8f5f124af Mon Sep 17 00:00:00 2001 From: Yangk Date: Mon, 2 Mar 2026 15:09:41 +0800 Subject: [PATCH] =?UTF-8?q?feat(oa/crm):=20=E6=B7=BB=E5=8A=A0=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E8=AF=A6=E6=83=85=E9=A1=B5=E9=9D=A2=E5=B9=B6=E4=BC=98?= =?UTF-8?q?=E5=8C=96=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增客户详情页面组件,支持查看客户基本信息和联系人列表 - 将客户列表中的客户名称链接指向客户详情页面 - 在客户列表操作栏新增出差记录按钮 --- src/router/index.ts | 6 + src/views/oa/crm/customerDetail/index.vue | 312 ++++++++++++++++++++++ src/views/oa/crm/customerInfo/index.vue | 14 +- 3 files changed, 330 insertions(+), 2 deletions(-) create mode 100644 src/views/oa/crm/customerDetail/index.vue diff --git a/src/router/index.ts b/src/router/index.ts index c4ee043..37caac6 100644 --- a/src/router/index.ts +++ b/src/router/index.ts @@ -165,6 +165,12 @@ export const constantRoutes: RouteRecordRaw[] = [ component: () => import('@/views/oa/crm/businessTripApply/edit.vue'), name: 'BusinessTripApplyEdit', meta: { title: '出差申请编辑', activeMenu: '/oa/crm/businessTripApply' } + }, + { + path: 'customerDetail/:customerId', + component: () => import('@/views/oa/crm/customerDetail/index.vue'), + name: 'CustomerDetail', + meta: { title: '客户详情', activeMenu: '/oa/crm/customerInfo' } } ] }, diff --git a/src/views/oa/crm/customerDetail/index.vue b/src/views/oa/crm/customerDetail/index.vue new file mode 100644 index 0000000..8b10e7f --- /dev/null +++ b/src/views/oa/crm/customerDetail/index.vue @@ -0,0 +1,312 @@ + + + + + diff --git a/src/views/oa/crm/customerInfo/index.vue b/src/views/oa/crm/customerInfo/index.vue index 1016f11..e3854e7 100644 --- a/src/views/oa/crm/customerInfo/index.vue +++ b/src/views/oa/crm/customerInfo/index.vue @@ -77,7 +77,7 @@ @@ -155,11 +155,14 @@ - +