1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
  | import httpRequest from '@/utils/request' 
 |    
 |  // 修改当前用户密码 
 |  export function updatePwd(data: any): Promise<any> { 
 |      return httpRequest({ 
 |          url: 'system/updatePwd', 
 |          method: 'post', 
 |          data 
 |      }) 
 |  } 
 |    
 |  // 切换当前公司级组织 
 |  export function changeCom(id: any): Promise<any> { 
 |      return httpRequest({ 
 |          url: `ext/departmentExt/changeCom/${id}`, 
 |          method: 'get' 
 |      }) 
 |  } 
 |    
 |  // 条件查询企业全部部门 
 |  export function getDepartmentListByConditon(data: any): Promise<any> { 
 |      return httpRequest({ 
 |          url: 'ext/departmentExt/getDepartmentListByConditon', 
 |          method: 'post', 
 |          data 
 |      }) 
 |  } 
 |  
  |