mirror of
https://github.com/yudaocode/yudao-ui-admin-vue3.git
synced 2026-04-25 16:28:37 +00: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 })
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user