info.js
2.33 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
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 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
})
}