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 @@ 确定 + +
+ +
+ +