From ec87c1b61d8cb77e62142cf2c7607a8732433163 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Sun, 7 Jan 2024 21:20:00 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=96=20CRM=EF=BC=9Acode=20review=20crm?= =?UTF-8?q?=20=E5=AE=A2=E6=88=B7=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crm/customer/index.ts | 3 +- .../OperateLogV2/src/OperateLogV2.vue | 1 + src/views/crm/customer/detail/index.vue | 30 ++++++++++++------- src/views/crm/customer/index.vue | 10 +++++-- 4 files changed, 31 insertions(+), 13 deletions(-) diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index cfc3613f..5ec8a3ea 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -73,13 +73,14 @@ export const getOperateLogPage = async (id: number) => { return await request.get({ url: '/crm/customer/operate-log-page?id=' + id }) } -//======================= 业务操作 ======================= +// ======================= 业务操作 ======================= // 锁定/解锁客户 export const lockCustomer = async (id: number, lockStatus: boolean) => { return await request.put({ url: `/crm/customer/lock`, data: { id, lockStatus } }) } +// TODO @puhui999:方法名,改成和后端一致哈 // 领取公海客户 export const receive = async (ids: any[]) => { return await request.put({ url: '/crm/customer/receive', params: { ids: ids.join(',') } }) diff --git a/src/components/OperateLogV2/src/OperateLogV2.vue b/src/components/OperateLogV2/src/OperateLogV2.vue index e3b00e2e..ae8aad40 100644 --- a/src/components/OperateLogV2/src/OperateLogV2.vue +++ b/src/components/OperateLogV2/src/OperateLogV2.vue @@ -1,4 +1,5 @@