CRM-合同:完善合同表单

(cherry picked from commit ed94205fa7)
This commit is contained in:
puhui999
2024-01-27 23:11:43 +08:00
committed by shizhong
parent 227f69c95d
commit 0ada34de16
7 changed files with 375 additions and 115 deletions

View File

@ -1,4 +1,5 @@
import request from '@/config/axios'
import { TransferReqVO } from '@/api/crm/customer'
export interface BusinessVO {
id: number
@ -70,3 +71,8 @@ export const getBusinessPageByContact = async (params) => {
export const getBusinessListByIds = async (val: number[]) => {
return await request.get({ url: '/crm/business/list-by-ids', params: { ids: val.join(',') } })
}
// 商机转移
export const transfer = async (data: TransferReqVO) => {
return await request.put({ url: '/crm/business/transfer', data })
}