userInfo.js
2.31 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
import request from '@/utils/request'
// 获取自己团队成员信息
export function getMyOwnMemberInfo() {
return request({
url: '/member/info/getMyOwnMemberInfo',
method: 'get'
})
}
// 创建自己的团队
export function createMyMember(data) {
return request({
url: '/member/info/createMyMember',
method: 'post',
data
})
}
// 地区下拉列表
export function regionsList(params) {
return request({
url: '/common/region/regionsList',
method: 'get',
params
})
}
// 查询团体会员列表
export function listInfo(query) {
return request({
url: '/member/info/list',
method: 'get',
params: query
})
}
// 查询团体会员详细
export function getInfo(memId) {
return request({
url: '/member/info/' + memId,
method: 'get'
})
}
// 新增团体会员
export function addInfo(data) {
return request({
url: '/member/info',
method: 'post',
data: data
})
}
// 修改团体会员
export function updateInfo(data) {
return request({
url: '/member/info',
method: 'put',
data: data
})
}
// 删除团体会员
export function delInfo(memId) {
return request({
url: '/member/info/' + memId,
method: 'delete'
})
}
// 删除团体会员
export function editMyMemberCertifiedInfo(data) {
return request({
url: '/system/dept/editMyMemberCertifiedInfo',
method: 'post',
data
})
}
// 列举已认证的团体
export function listCertified(params) {
return request({
url: '/system/dept/listCertified',
method: 'get',
params
})
}
// 协会树
export function certifiedDeptTree(params) {
return request({
url: 'system/user//certifiedDeptTreeWithNoDaoguan',
method: 'get',
params
})
}
// 会员认证
export function commit(data) {
return request({
url: `/member/certified/commit/`,
method: 'post',
data
})
}
// 审核记录
export function getMyCertStage() {
return request({
url: `/member/certified/getMyCertStage`,
method: 'get'
// data: data
})
}
// 银行账号信息
export function editBankInfo(data) {
return request({
url: `/member/info/editBankInfo`,
method: 'put',
data: data
})
}
// 中跆协编辑机构基本资料
export function compileInfo(data) {
return request({
url: `/member/info`,
method: 'put',
data: data
})
}