mirror of
https://gitee.com/hhyykk/ipms-sjy-ui.git
synced 2025-07-15 11:25:07 +08:00
CRM:合同的 code review
This commit is contained in:
@ -32,9 +32,11 @@ export const getModelPage = async (params) => {
|
||||
export const getModel = async (id: number) => {
|
||||
return await request.get({ url: '/bpm/model/get?id=' + id })
|
||||
}
|
||||
|
||||
export const getModelByKey = async (key: string) => {
|
||||
return await request.get({ url: '/bpm/model/get-by-key?key=' + key })
|
||||
}
|
||||
|
||||
export const updateModel = async (data: ModelVO) => {
|
||||
return await request.put({ url: '/bpm/model/update', data: data })
|
||||
}
|
||||
|
@ -5,11 +5,13 @@ export interface BiContractRanKingRespVO {
|
||||
nickname: string
|
||||
deptName: string
|
||||
}
|
||||
|
||||
export interface BiReceivablesRanKingRespVO {
|
||||
price: number
|
||||
nickname: string
|
||||
deptName: string
|
||||
}
|
||||
|
||||
export interface BiRankReqVO {
|
||||
deptId: number
|
||||
type: string
|
||||
|
@ -73,6 +73,7 @@ export const getBusinessListByIds = async (val: number[]) => {
|
||||
}
|
||||
|
||||
// 商机转移
|
||||
// TODO @puhui999:transferBusiness
|
||||
export const transfer = async (data: TransferReqVO) => {
|
||||
return await request.put({ url: '/crm/business/transfer', data })
|
||||
}
|
||||
|
@ -71,6 +71,7 @@ export const handleApprove = async (id: number) => {
|
||||
}
|
||||
|
||||
// 合同转移
|
||||
// TODO @puhui999:transfer 相关方法,这块要补充下;
|
||||
export const transfer = async (data: TransferReqVO) => {
|
||||
return await request.put({ url: '/crm/contract/transfer', data })
|
||||
}
|
||||
|
Reference in New Issue
Block a user