From b8f5f6cdf5c26db929b7cda0188c587eb8d66c1d Mon Sep 17 00:00:00 2001 From: zhanghua <314079846@qq.com> Date: 星期六, 18 三月 2023 17:42:51 +0800 Subject: [PATCH] Merge branch 'dev1.0' of http://42.193.1.25:9521/r/sccg_ui into dev1.0 --- 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