| | |
| | | // 查询用户详细 |
| | | export function getUser(userId) { |
| | | return request({ |
| | | url: '/system/user/' + parseStrEmpty(userId), |
| | | url: '/system/user/getInfo/' + parseStrEmpty(userId), |
| | | method: 'get' |
| | | }) |
| | | } |
| | |
| | | password |
| | | } |
| | | return request({ |
| | | url: '/system/user/resetPwd/edit', |
| | | url: '/system/user/resetPwd', |
| | | method: 'post', |
| | | data: data |
| | | }) |
| | |
| | | newPassword |
| | | } |
| | | return request({ |
| | | url: '/system/user/profile/updatePwd/edit', |
| | | url: '/system/user/profile/updatePwd', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | |
| | | // 保存授权角色 |
| | | export function updateAuthRole(data) { |
| | | return request({ |
| | | url: '/system/user/authRole/edit', |
| | | url: '/system/user/authRole', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | |
| | | method: 'get' |
| | | }) |
| | | } |
| | | // 新增科室/病区 |
| | | export function adduserdept(data) { |
| | | return request({ |
| | | url: '/smartor/userdept/add', |
| | | method: 'post', |
| | | params: data |
| | | }) |
| | | } |