houzhongjian
3 天以前 1674d9bb44595d6ce5d4b6f8fed092dfe47708b8
src/api/bpm/category/index.ts
@@ -36,6 +36,16 @@
    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 })