gaoluyang
2026-10-16 268b3e77f3beaba03a1273d643d8aa4fa5db1c10
src/api/mes/pro/route/index.ts
@@ -61,3 +61,16 @@
export function exportRoute(params: any) {
  return requestClient.download('/mes/pro/route/export-excel', { params });
}
/** 下载工艺路线导入模板 */
export function importRouteTemplate() {
  return requestClient.download('/mes/pro/route/get-import-template');
}
/** 导入工艺路线 */
export function importRoute(file: File, updateSupport: boolean) {
  return requestClient.upload(
    `/mes/pro/route/import?updateSupport=${updateSupport}`,
    { file },
  );
}