【功能新增】工作流:流程模型增加批量修改 sort 交互

This commit is contained in:
YunaiV
2024-11-02 18:11:35 +08:00
parent 77062cb391
commit c3cf479f6f
3 changed files with 26 additions and 11 deletions

View File

@ -38,6 +38,16 @@ export const updateModel = async (data: ModelVO) => {
return await request.put({ url: '/bpm/model/update', data: data })
}
// 批量修改流程分类的排序
export const updateModelSortBatch = async (ids: number[]) => {
return await request.put({
url: `/bpm/model/update-sort-batch`,
params: {
ids: ids.join(',')
}
})
}
export const updateModelBpmn = async (data: ModelVO) => {
return await request.put({ url: '/bpm/model/update-bpmn', data: data })
}