【功能新增】工作流:流程分类增加批量修改 sort 界面

This commit is contained in:
YunaiV
2024-11-02 16:58:32 +08:00
parent 1bb6a23ff8
commit 77062cb391
3 changed files with 30 additions and 15 deletions

View File

@ -36,6 +36,16 @@ export const CategoryApi = {
return await request.put({ url: `/bpm/category/update`, data })
},
// 批量修改流程分类的排序
updateCategorySortBatch: async (ids: number[]) => {
return await request.put({
url: `/bpm/category/update-sort-batch`,
params: {
ids: ids.join(',')
}
})
},
// 删除流程分类
deleteCategory: async (id: number) => {
return await request.delete({ url: `/bpm/category/delete?id=` + id })