From 193c64dfd5c6872c7fe3da610db0af406a599973 Mon Sep 17 00:00:00 2001
From: lkk <364857242@qq.com>
Date: 星期一, 14 七月 2025 16:57:35 +0800
Subject: [PATCH] 1

---
 src/api/system/user.js |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/src/api/system/user.js b/src/api/system/user.js
index 41d0b06..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
@@ -144,3 +160,22 @@
     method: 'get'
   })
 }
+
+
+// 鏌ヨ鐢ㄦ埛鍒楄〃
+export function getDeptListByDictHospId(query) {
+  return request({
+    url: '/hosp/hosp/getDeptListByDictHospId',
+    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