const request = uni.$u.http 
 | 
  
 | 
// 修改当前用户密码 
 | 
export function updatePwd (data) { 
 | 
  return request.post('/system/updatePwd', data) 
 | 
} 
 | 
// export function updatePwd(data: any): Promise<any> { 
 | 
//     return httpRequest({ 
 | 
//         url: 'system/updatePwd', 
 | 
//         method: 'post', 
 | 
//         data 
 | 
//     }) 
 | 
// } 
 | 
  
 | 
// 切换当前公司级组织 
 | 
export function changeCom (id) { 
 | 
  return request.get(`/ext/departmentExt/changeCom/${id}`) 
 | 
} 
 | 
// export function changeCom(id: any): Promise<any> { 
 | 
//     return httpRequest({ 
 | 
//         url: `ext/departmentExt/changeCom/${id}`, 
 | 
//         method: 'get' 
 | 
//     }) 
 | 
// } 
 | 
  
 | 
// 条件查询企业全部部门 
 | 
export function getDepartmentListByConditon (data) { 
 | 
  return request.post('/ext/departmentExt/getDepartmentListByConditon', data) 
 | 
} 
 | 
// export function getDepartmentListByConditon(data: any): Promise<any> { 
 | 
//     return httpRequest({ 
 | 
//         url: 'ext/departmentExt/getDepartmentListByConditon', 
 | 
//         method: 'post', 
 | 
//         data 
 | 
//     }) 
 | 
// } 
 |