qinxianzhangyao
2023-10-17 ba9dbeee7c139c67d770afe0053f06f1f235e565
src/api/system/user.js
@@ -47,12 +47,12 @@
}
// 用户密码重置
export function resetUserPwd(userId, password) {
  password = encrypt(password);
  const data = {
    userId,
    password
  }
export function resetUserPwd(data) {
  // password = encrypt(password);
  // const data = {
  //   userId,
  //   password
  // }
  return request({
    url: '/system/user/resetPwd',
    method: 'put',
@@ -144,3 +144,13 @@
    method: 'get'
  })
}
// 查询用户列表
export function getDeptListByDictHospId(query) {
  return request({
    url: '/hosp/hosp/getDeptListByDictHospId',
    method: 'get',
    params: query
  })
}