| | |
| | | data: data, |
| | | }); |
| | | } |
| | | // 修改用户个人信息 |
| | | export function getSfStatistics(data) { |
| | | return request({ |
| | | url: "/smartor/serviceSubtask/getSfStatistics", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | | |
| | | // 用户密码重置 |
| | | export function updateUserPwd(oldPassword, newPassword) { |
| | |
| | | // 保存授权角色 |
| | | export function updateAuthRole(data) { |
| | | return request({ |
| | | url: "/system/user/authRole", |
| | | url: "/system/user/authRole/insertAuthRole", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | |
| | | } |
| | | |
| | | // 查询部门下拉树结构 |
| | | export function deptTreeSelect() { |
| | | export function deptTreeSelect(type) { |
| | | const data = { |
| | | deptType:type, |
| | | }; |
| | | return request({ |
| | | url: "/system/user/deptTree", |
| | | method: "get", |
| | | params: data, |
| | | }); |
| | | } |
| | | // 新增科室/病区 |