From 748eb2b576474fc874f0dd0f1e9a0676be0558e7 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Mon, 15 Jan 2024 21:30:25 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20CRM=EF=BC=9A=E8=B7=9F=E8=BF=9B?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E7=9A=84=20code=20review?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 9fa769b16aa76b73843a55e9c8a8c7c6837ca36d) --- src/api/crm/business/index.ts | 2 +- src/api/crm/followup/index.ts | 24 +++++++------------ .../OperateLogV2/src/OperateLogV2.vue | 2 +- src/router/modules/remaining.ts | 2 +- src/utils/dict.ts | 6 ++--- src/views/crm/customer/detail/index.vue | 14 +++++------ src/views/crm/customer/index.vue | 2 +- src/views/crm/customer/pool/index.vue | 2 +- src/views/crm/followup/FollowUpRecordForm.vue | 4 +++- src/views/crm/followup/index.vue | 8 ++++--- .../permission/components/TransferForm.vue | 2 ++ src/views/crm/product/ProductForm.vue | 2 +- .../product/detail/ProductDetailsHeader.vue | 15 ++++++------ .../crm/product/detail/ProductDetailsInfo.vue | 10 ++++---- src/views/crm/product/index.vue | 2 +- 15 files changed, 46 insertions(+), 51 deletions(-) diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts index 3fac5fff..810ec6e9 100644 --- a/src/api/crm/business/index.ts +++ b/src/api/crm/business/index.ts @@ -61,7 +61,7 @@ export const exportBusiness = async (params) => { return await request.download({ url: `/crm/business/export-excel`, params }) } -//联系人关联商机列表 +// 联系人关联商机列表 export const getBusinessPageByContact = async (params) => { return await request.get({ url: `/crm/business/page-by-contact`, params }) } diff --git a/src/api/crm/followup/index.ts b/src/api/crm/followup/index.ts index 8a8c695a..f6b66105 100644 --- a/src/api/crm/followup/index.ts +++ b/src/api/crm/followup/index.ts @@ -2,22 +2,14 @@ import request from '@/config/axios' // 跟进记录 VO export interface FollowUpRecordVO { - // 编号 - id: number - // 数据类型 - bizType: number - // 数据编号 - bizId: number - // 跟进类型 - type: number - // 跟进内容 - content: string - // 下次联系时间 - nextTime: Date - // 关联的商机编号数组 - businessIds: number[] - // 关联的联系人编号数组 - contactIds: number[] + id: number // 编号 + bizType: number // 数据类型 + bizId: number // 数据编号 + type: number // 跟进类型 + content: string // 跟进内容 + nextTime: Date // 下次联系时间 + businessIds: number[] // 关联的商机编号数组 + contactIds: number[] // 关联的联系人编号数组 } // 跟进记录 API diff --git a/src/components/OperateLogV2/src/OperateLogV2.vue b/src/components/OperateLogV2/src/OperateLogV2.vue index 739e1fd1..b766fb44 100644 --- a/src/components/OperateLogV2/src/OperateLogV2.vue +++ b/src/components/OperateLogV2/src/OperateLogV2.vue @@ -1,5 +1,5 @@ + - +