You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
882 B
36 lines
882 B
import request from '@/utils/request'
|
|
import qs from 'qs'
|
|
let tokens = window.sessionStorage.getItem('token');
|
|
class user{
|
|
verifyList(data){ // 获取列表
|
|
return request({
|
|
url: '/system/organization/verifyList',
|
|
method: 'post',
|
|
data: data,
|
|
headers: {'Content-Type': 'application/json'}
|
|
})
|
|
}
|
|
orgRegisterDetails(data){ // 单位注册信息详情
|
|
return request({
|
|
url: '/system/organization/organizationRegisterDetails/'+data.organizationSid,
|
|
method: 'get',
|
|
params: data
|
|
})
|
|
}
|
|
verify(data){ // 审核
|
|
return request({
|
|
url: '/system/organization/verify',
|
|
method: 'post',
|
|
data: qs.stringify(data)
|
|
})
|
|
}
|
|
// 删除机构信息
|
|
del(data) {
|
|
return request({
|
|
url: '/system/organization/delete/'+data.sid,
|
|
method: 'DELETE',
|
|
data
|
|
})
|
|
}
|
|
}
|
|
export default new user()
|
|
|