From ad54cf427ee94e01e8c72a01f738615eb2b6569d Mon Sep 17 00:00:00 2001 From: qx <1084500556@qq.com> Date: 星期五, 04 七月 2025 17:58:34 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb --- src/api/system/user.js | 25 +++++++++++++++++++++++++ 1 files changed, 25 insertions(+), 0 deletions(-) diff --git a/src/api/system/user.js b/src/api/system/user.js index bd8060e..9022ba4 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -11,6 +11,20 @@ params: query }) } +// 鏌ヨ鐢ㄦ埛鍒楄〃 +export function listUser1(query) { + return request({ + url: '/system/user/userListByDeptId', + method: 'get', + params: query + }) +} +export function getlistUser() { + return request({ + url: '/system/user/getList', + method: 'get', + }) +} // 鏌ヨ鐢ㄦ埛璇︾粏 export function getUser(userId) { @@ -92,6 +106,8 @@ // 鐢ㄦ埛瀵嗙爜閲嶇疆 export function updateUserPwd(oldPassword, newPassword) { + oldPassword = encrypt(oldPassword); + newPassword = encrypt(newPassword); const data = { oldPassword, newPassword @@ -153,4 +169,13 @@ method: 'get', params: query }) +} + +// 鏌ヨ鐢ㄦ埛鍒楄〃 +export function list(query) { + return request({ + url: '/hosp/usermid/list', + method: 'get', + params: query + }) } \ No newline at end of file -- Gitblit v1.8.0