CRM:优化合同列的新增/修改界面

This commit is contained in:
YunaiV
2024-02-04 12:57:39 +08:00
parent 6d0231d409
commit cac39ae126
8 changed files with 112 additions and 137 deletions

View File

@ -33,10 +33,6 @@ 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 })
}

View File

@ -68,8 +68,8 @@ export const exportContract = async (params) => {
}
// 提交审核
export const handleApprove = async (id: number) => {
return await request.put({ url: `/crm/contract/approve?id=${id}` })
export const submitContract = async (id: number) => {
return await request.put({ url: `/crm/contract/submit?id=${id}` })
}
// 合同转移