From a9f8c5c4dcf026a4513290f4c09af25d5a85d708 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=85=E5=BF=B5?= Date: Wed, 27 Aug 2025 09:20:56 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A2=E6=88=B7=E9=87=8D=E5=A4=8D=E9=80=9A?= =?UTF-8?q?=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/crmApi.ts | 8 ++++++++ src/typings/api.d.ts | 2 ++ src/views/crmpc/customer/Add.vue | 31 +++++++++++++++++++++++++++--- src/views/crmpc/customer/index.vue | 3 +-- 4 files changed, 39 insertions(+), 5 deletions(-) diff --git a/src/api/crmApi.ts b/src/api/crmApi.ts index e65c0f4..69bc4e1 100644 --- a/src/api/crmApi.ts +++ b/src/api/crmApi.ts @@ -199,4 +199,12 @@ export class CrmService { // showErrorMessage: false // 不显示错误消息 }) } + //通知客户重复 + static repeatCustomer(params: any) { + return request.post({ + url: '/crm/customer/distinctNotice', + params + // showErrorMessage: false // 不显示错误消息 + }) + } } diff --git a/src/typings/api.d.ts b/src/typings/api.d.ts index 150d665..8d387d7 100644 --- a/src/typings/api.d.ts +++ b/src/typings/api.d.ts @@ -147,6 +147,8 @@ declare namespace Api { interface AddResponse { code: string message: string + status: any + data?: any } /** 修改状态参数 */ interface StatusParams { diff --git a/src/views/crmpc/customer/Add.vue b/src/views/crmpc/customer/Add.vue index 1b9981e..c39a4d6 100644 --- a/src/views/crmpc/customer/Add.vue +++ b/src/views/crmpc/customer/Add.vue @@ -104,6 +104,17 @@ 确定 + +
+ +
+ +