From e1aa0ecffbabd618c71e4ad94370fb8dffe6ee1c Mon Sep 17 00:00:00 2001
From: zhanghua <314079846@qq.com>
Date: 星期日, 21 一月 2024 20:54:49 +0800
Subject: [PATCH] 优化

---
 src/api/system/department.js |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/src/api/system/department.js b/src/api/system/department.js
index 2e02049..98a48ff 100644
--- a/src/api/system/department.js
+++ b/src/api/system/department.js
@@ -1,7 +1,15 @@
 import http from "@/http";
+import {exportTeamInfo, importTeamInfo} from "@/api/system/portal/teamConstruction";
 
 export default {
     getDepartmentList: () => {
         return http.get('/sccg/sccg_region/getTree');
-    }
-}
\ No newline at end of file
+    },
+    //瀵煎嚭
+}
+export function exportTeamInfoDepartment(params) {
+    return http.downloadFile('/sccg/depart/export', params);
+}
+export function importTeamInfoDepartment(params) {
+    return http.uploadFile('/sccg/depart/import', params);
+}

--
Gitblit v1.8.0