diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts index 37304f5a..8dd06563 100644 --- a/src/api/crm/business/index.ts +++ b/src/api/crm/business/index.ts @@ -4,22 +4,29 @@ import { TransferReqVO } from '@/api/crm/customer' export interface BusinessVO { id: number name: string + customerId: number + customerName?: string + followUpStatus: boolean + contactLastTime: Date + contactNextTime: Date + ownerUserId: number + ownerUserName?: string // 负责人的用户名称 + ownerUserDept?: string // 负责人的部门名称 statusTypeId: number + statusTypeName?: string statusId: number - contactNextTime: Date - customerId: number + statusName?: string + endStatus: number + endRemark: string dealTime: Date - price: number + totalProductPrice: number + totalPrice: number discountPercent: number - productPrice: number remark: string - ownerUserId: number - roUserIds: string - rwUserIds: string - endStatus: number - endRemark: string - contactLastTime: Date - followUpStatus: number + creator: string // 创建人 + creatorName?: string // 创建人名称 + createTime: Date // 创建时间 + updateTime: Date // 更新时间 } // 查询 CRM 商机列表 diff --git a/src/router/modules/remaining.ts b/src/router/modules/remaining.ts index 4f845d0d..08d5db98 100644 --- a/src/router/modules/remaining.ts +++ b/src/router/modules/remaining.ts @@ -104,7 +104,6 @@ const remainingRouter: AppRouteRecordRaw[] = [ } ] }, - { path: '/dict', component: Layout, @@ -518,6 +517,17 @@ const remainingRouter: AppRouteRecordRaw[] = [ }, component: () => import('@/views/crm/customer/detail/index.vue') }, + { + path: 'business/detail/:id', + name: 'CrmBusinessDetail', + meta: { + title: '商机详情', + noCache: true, + hidden: true, + activeMenu: '/crm/business' + }, + component: () => import('@/views/crm/business/detail/index.vue') + }, { path: 'contract/detail/:id', name: 'CrmContractDetail', diff --git a/src/views/crm/business/detail/BusinessDetailsHeader.vue b/src/views/crm/business/detail/BusinessDetailsHeader.vue new file mode 100644 index 00000000..50d1efea --- /dev/null +++ b/src/views/crm/business/detail/BusinessDetailsHeader.vue @@ -0,0 +1,37 @@ + + diff --git a/src/views/crm/business/detail/BusinessDetailsInfo.vue b/src/views/crm/business/detail/BusinessDetailsInfo.vue new file mode 100644 index 00000000..a2c9ce18 --- /dev/null +++ b/src/views/crm/business/detail/BusinessDetailsInfo.vue @@ -0,0 +1,61 @@ + + diff --git a/src/views/crm/business/detail/index.vue b/src/views/crm/business/detail/index.vue new file mode 100644 index 00000000..a0aa89ee --- /dev/null +++ b/src/views/crm/business/detail/index.vue @@ -0,0 +1,121 @@ + +