|  |  | 
 |  |  |     data: data, | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  | // 统计查询 | 
 |  |  | export function getSfStatistics(data) { | 
 |  |  |   return request({ | 
 |  |  |     url: "/smartor/serviceSubtask/getSfStatistics", | 
 |  |  |     method: "post", | 
 |  |  |     data: data, | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  | // 未及时查询 | 
 |  |  | export function selectTimelyRate(data) { | 
 |  |  |   return request({ | 
 |  |  |     url: "/smartor/servicetask/selectTimelyRate", | 
 |  |  |     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, | 
 |  |  |     orgid:localStorage.getItem("orgid"), | 
 |  |  |   }; | 
 |  |  |   return request({ | 
 |  |  |     url: "/system/user/deptTree", | 
 |  |  |     method: "get", | 
 |  |  |     params: data, | 
 |  |  |   }); | 
 |  |  | } | 
 |  |  | // 新增科室/病区 |