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

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

No files matched your search

-4
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 })
}
+2 -2
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}` })
}
// 合同转移