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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
import request from '@/utils/request'
// 进件管理
//通讯录管理---表格---获取全部人员
export function getAllMemberList(data) {
return request({
url: '/admin/auth/addressbook/clerk/getAll',
method: 'get',
params: data
})
}
// 获取未分组人员
export function getNoGroupMember(data) {
return request({
url: '/admin/auth/addressbook/clerk/getArrangeNot',
method: 'get',
params: data
})
}
// 获取柜组用户
export function getGroupById(data) {
return request({
url: '/admin/auth/addressbook/orgnization/getClerkById',
method: 'get',
params: data
})
}
// 根据部门id获取人员
export function getMemberById(data) {
return request({
url: '/admin/auth/addressbook/getUserByStallId',
method: 'get',
params: data
})
}
//通讯录管理---组织架构
export function getOrgTree() {
return request({
url: '/admin/auth/addressbook/orgnization/getAll',
method: 'get',
})
}
export function getHistoryList(data) {
return request({
url: 'admin/auth/addressbook/clerk/synchronization',
method: 'get',
params:data
})
}
export function deleteCounter(inData) {
return request({
url: '/admin/auth/stall/delete',
method: 'delete',
params: inData
})
}
// 获取移动分组
export function getGroup() {
return request({
url: '/admin/auth/addressbook/selectGroupPage',
method: 'get',
})
}
// 修改门店名字
export function storeNameChange(data) {
return request({
url: '/admin/auth/stall/update',
method: 'put',
data
})
}
// 移动人员
export function moveMember(data) {
return request({
url: 'admin/auth/addressbook/clerk/moveTo',
method: 'put',
params:data
})
}
// 设置管理员||取消管理员
export function changeRole(data) {
return request({
url: 'admin/auth/addressbook/clerk/configManagerById',
method: 'put',
params:data
})
}
// 模糊查询
export function search(data) {
return request({
url: '/admin/auth/addressbook/clerk/getByUserIdOrUserName',
method: 'get',
params:data
})
}
// 添加子部门
export function addGroup(data) {
return request({
url: '/admin/auth/addressbook/orgnization/save',
method: 'post',
params:data
})
}
// 删除子部门
export function deleteGroup(data) {
return request({
url: '/admin/auth/addressbook/orgnization/deleteById',
method: 'delete',
params:data
})
}