From f93a3e896a7d81f744b72e8069b8226bfdec8ade Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期六, 18 三月 2023 11:41:37 +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