From d4eb24798b901d4364c08509f10fa6ff72a44c06 Mon Sep 17 00:00:00 2001 From: puhui999 Date: Sat, 3 Feb 2024 22:17:45 +0800 Subject: [PATCH] =?UTF-8?q?CRM=EF=BC=9Atransfer?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit fe91c5ec5ca52ef45abef6f961a24ddbea6a7daa) --- src/api/crm/business/index.ts | 2 +- src/api/crm/clue/index.ts | 2 +- src/api/crm/contact/index.ts | 2 +- src/api/crm/contract/index.ts | 2 +- src/api/crm/customer/index.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/api/crm/business/index.ts b/src/api/crm/business/index.ts index bc3abe62..37304f5a 100644 --- a/src/api/crm/business/index.ts +++ b/src/api/crm/business/index.ts @@ -74,5 +74,5 @@ export const getBusinessListByIds = async (val: number[]) => { // 商机转移 export const transferBusiness = async (data: TransferReqVO) => { - return await request.put({ url: '/crm/business/transfer-business', data }) + return await request.put({ url: '/crm/business/transfer', data }) } diff --git a/src/api/crm/clue/index.ts b/src/api/crm/clue/index.ts index 711a5041..4268c420 100644 --- a/src/api/crm/clue/index.ts +++ b/src/api/crm/clue/index.ts @@ -48,5 +48,5 @@ export const exportClue = async (params) => { // 线索转移 export const transferClue = async (data: TransferReqVO) => { - return await request.put({ url: '/crm/clue/transfer-clue', data }) + return await request.put({ url: '/crm/clue/transfer', data }) } diff --git a/src/api/crm/contact/index.ts b/src/api/crm/contact/index.ts index b728c80a..2dab70bc 100644 --- a/src/api/crm/contact/index.ts +++ b/src/api/crm/contact/index.ts @@ -89,5 +89,5 @@ export const deleteContactBusinessList = async (data: ContactBusinessReqVO) => { // 联系人转移 export const transferContact = async (data: TransferReqVO) => { - return await request.put({ url: '/crm/contact/transfer-contact', data }) + return await request.put({ url: '/crm/contact/transfer', data }) } diff --git a/src/api/crm/contract/index.ts b/src/api/crm/contract/index.ts index bb4c7a7e..5b770d45 100644 --- a/src/api/crm/contract/index.ts +++ b/src/api/crm/contract/index.ts @@ -74,5 +74,5 @@ export const handleApprove = async (id: number) => { // 合同转移 export const transferContract = async (data: TransferReqVO) => { - return await request.put({ url: '/crm/contract/transfer-contract', data }) + return await request.put({ url: '/crm/contract/transfer', data }) } diff --git a/src/api/crm/customer/index.ts b/src/api/crm/customer/index.ts index d867e415..2940934e 100644 --- a/src/api/crm/customer/index.ts +++ b/src/api/crm/customer/index.ts @@ -83,7 +83,7 @@ export interface TransferReqVO { // 客户转移 export const transferCustomer = async (data: TransferReqVO) => { - return await request.put({ url: '/crm/customer/transfer-customer', data }) + return await request.put({ url: '/crm/customer/transfer', data }) } // 锁定/解锁客户