From bc59df29155d4c0a3288c8bbae6576e44320301e Mon Sep 17 00:00:00 2001
From: 云 <2163098428@qq.com>
Date: 星期日, 25 十月 2026 00:41:09 +0800
Subject: [PATCH] feat(hrm): 新增人事管理模块功能

---
 src/api/mes/tm/tool/type/index.ts |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/src/api/mes/tm/tool/type/index.ts b/src/api/mes/tm/tool/type/index.ts
index d7e0f15..d159340 100644
--- a/src/api/mes/tm/tool/type/index.ts
+++ b/src/api/mes/tm/tool/type/index.ts
@@ -1,4 +1,4 @@
-import type { PageParam, PageResult } from '..\..\..\..\..\packages\effects\request\src';
+import type { PageParam, PageResult } from '@vben/request';
 
 import { requestClient } from '#/api/request';
 
@@ -57,3 +57,16 @@
 export function exportToolType(params: any) {
   return requestClient.download('/mes/tm/tool-type/export-excel', { params });
 }
+
+/** 涓嬭浇宸ュ叿绫诲瀷瀵煎叆妯℃澘 */
+export function importToolTypeTemplate() {
+  return requestClient.download('/mes/tm/tool-type/get-import-template');
+}
+
+/** 瀵煎叆宸ュ叿绫诲瀷 */
+export function importToolType(file: File, updateSupport: boolean) {
+  return requestClient.upload(
+    `/mes/tm/tool-type/import?updateSupport=${updateSupport}`,
+    { file },
+  );
+}

--
Gitblit v1.9.3