diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index 0cbba590..59260cbc 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -1,13 +1,14 @@ import request from '@/config/axios' export interface CustomerVO { - id: number + id?: number name: string industryId: number level: number source: number - followUpStatus: boolean - lockStatus: boolean + followUpStatus?: boolean + lockStatus?: boolean + dealStatus?: boolean mobile: string telephone: string website: string @@ -16,13 +17,20 @@ export interface CustomerVO { email: string description: string remark: string - ownerUserId: number - roUserIds: string - rwUserIds: string - areaId: number + ownerUserId?: number + ownerUserName?: string + ownerUserDept?: string + roUserIds?: string + rwUserIds?: string + areaId?: number + areaName?: string detailAddress: string - contactLastTime: Date + contactLastTime?: Date contactNextTime: Date + createTime?: Date + updateTime?: Date + creator?: string + creatorName?: string } // 查询客户列表 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 70dc5b2f..58eb1733 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -487,6 +487,24 @@ const remainingRouter: AppRouteRecordRaw[] = [ component: () => import('@/views/mall/promotion/diy/page/decorate.vue') } ] + }, + { + path: '/crm', + component: Layout, + name: 'CrmCenter', + meta: { hidden: true }, + children: [ + { + path: 'customer/detail/:id', + name: 'CrmCustomerDetail', + meta: { + title: '客户详情', + noCache: true, + hidden: true + }, + component: () => import('@/views/crm/customer/detail/index.vue') + } + ] } ] diff --git a/src/views/crm/clue/ClueForm.vue b/src/views/crm/clue/ClueForm.vue index 877b26d9..4321f952 100644 --- a/src/views/crm/clue/ClueForm.vue +++ b/src/views/crm/clue/ClueForm.vue @@ -10,7 +10,7 @@ - + @@ -31,7 +31,7 @@ - + @@ -46,7 +46,6 @@ + diff --git a/src/views/crm/customer/detail/CustomerDetails.vue b/src/views/crm/customer/detail/CustomerDetails.vue new file mode 100644 index 00000000..f6215224 --- /dev/null +++ b/src/views/crm/customer/detail/CustomerDetails.vue @@ -0,0 +1,91 @@ + + + diff --git a/src/views/crm/customer/detail/index.vue b/src/views/crm/customer/detail/index.vue new file mode 100644 index 00000000..e5c8ef43 --- /dev/null +++ b/src/views/crm/customer/detail/index.vue @@ -0,0 +1,154 @@ + + + + + diff --git a/src/views/crm/customer/index.vue b/src/views/crm/customer/index.vue index ace56dac..073bf8cb 100644 --- a/src/views/crm/customer/index.vue +++ b/src/views/crm/customer/index.vue @@ -1,7 +1,6 @@