From 457f9c817adef8b003ee6379f493798bae5cbb69 Mon Sep 17 00:00:00 2001 From: zhouwx <1175765986@qq.com> Date: 星期一, 19 五月 2025 09:31:19 +0800 Subject: [PATCH] 修改 --- src/api/user.js | 28 ++++++++++++++++++++++++++++ 1 files changed, 28 insertions(+), 0 deletions(-) diff --git a/src/api/user.js b/src/api/user.js index e50b681..e1d6885 100644 --- a/src/api/user.js +++ b/src/api/user.js @@ -200,6 +200,18 @@ }) } +// 导入通讯录 +export function importUser(data){ + return request({ + headers: { + "Content-Type": "multipart/form-data", + }, + url: '/org/user/import', + method: 'post', + data: data + }) +} + //下载区划对照表 export function downLoadArea(){ return request({ @@ -265,3 +277,19 @@ data: data }) } + +export function getExportData(id){ + return request({ + url: '/org/user/export/' + id, + method: 'post', + }) +} +export function getOrgData(id){ + return request({ + url: '/org/structure/findByDistrictId/' + id, + method: 'get', + }) +} + + + -- Gitblit v1.9.2