Mr.Zhang
2023-09-01 a52f13d719ee9cd53f129f4c59dcad783977fce9
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
28
29
30
31
32
33
34
35
36
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
//     })
// }