info.js
3.32 KB
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
import request from '@/utils/request'
// 查询个人会员信息列表
export function listInfo(query) {
return request({
url: '/person/info/list',
method: 'get',
params: query
})
}
// 查询个人会员信息列表
export function selectPageList(query) {
return request({
url: '/person/info/selectPageList',
method: 'get',
params: query
})
}
// 查询个人会员信息详细
export function getInfo(perId) {
return request({
url: '/person/info/' + perId,
method: 'get'
})
}
// 新增个人会员信息
export function addInfo(data) {
return request({
url: '/person/info',
method: 'post',
data: data
})
}
// 修改个人会员信息
export function updateInfo(data) {
return request({
url: '/person/info',
method: 'put',
data: data
})
}
// 删除个人会员信息
export function delInfo(perId) {
return request({
url: '/person/info/' + perId,
method: 'delete'
})
}
// 添加会员信息
export function addPersonToMyDept(data) {
return request({
url: '/person/info/addPersonToMyDept',
method: 'post',
data: data
})
}
// 提取用户身份证信息
export function extractInfoFromChinaIdCard(data) {
return request({
url: '/person/info/extractInfo',
method: 'post',
data: data
})
}
export function extractInfoFromChinaIdCard2(data) {
return request({
url: '/person/info/extractInfoFromChinaIdCard',
method: 'post',
data: data
})
}
// 身份校验
export function checkId(data) {
return request({
url: `/person/info/checkId`,
method: 'get',
params: data
})
}
// 国家
export function countryList(data) {
return request({
url: `/common/country/countryList`,
method: 'get',
params: data
})
}
// 解绑
export function clearOwner(perIds) {
return request({
url: `/person/info/clearOwner/${perIds}`,
method: 'post'
})
}
// 缴费记录
export function queryJiaoFeitLog(data) {
return request({
url: `/person/payment/queryJiaoFeitLog`,
method: 'get',
params: data
})
}
export function getAssoPers(perId) {
return request({
url: '/person/info/getRoleListByPerId/' + perId,
method: 'get'
})
}
// export function carUrl(perId) {
// return request({
// url: '/person/info/getRoleListByPerId/' + perId,
// method: 'get'
// })
// }
// 添加会员自动录入 上传图片
export function carUrl(data, type) {
return request({
url: `/person/info/getPersonInfoFromCert/${type}`,
method: 'post',
data: data
})
}
// 个人会员证下载
export function downStuCertSingle(pId) {
return request({
url: `/person/info/downStuCertSingle/${pId}`,
method: 'post'
})
}
// 个人会员黑名单
export function changeBlack(params) {
return request({
url: `/person/info/changeBlack/${params.perId}/${params.type}`,
method: 'get',
params
})
}
export function getOtherInfoList(params) {
return request({
url: '/person/info/getOtherLabel',
method: 'get',
params: params
})
}
// 检测编码唯一性
export function checkCertCode(params) {
return request({
url: `/person/info/checkCertCode`,
method: 'get',
params: params
})
}
// 添加教练信息
export function insertNewRolePersonInfo(data) {
return request({
url: `/person/info/insertNewRolePersonInfo`,
method: 'post',
data: data
})
}