gaoluyang
2026-10-16 268b3e77f3beaba03a1273d643d8aa4fa5db1c10
src/api/bpm/category/index.ts
@@ -58,3 +58,16 @@
    `/bpm/category/update-sort-batch?ids=${params}`,
  );
}
/** 下载流程分类导入模板 */
export async function importCategoryTemplate() {
  return requestClient.download('/bpm/category/get-import-template');
}
/** 导入流程分类 */
export async function importCategory(file: File, updateSupport: boolean) {
  return requestClient.upload('/bpm/category/import', {
    file,
    updateSupport,
  });
}