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, }); }