vue-join-dialog
Advanced tools
Comparing version 1.0.19 to 1.0.20
30
api.js
@@ -9,6 +9,7 @@ // 会员单位申请 | ||
let url//会员中心 | ||
let hyUrl//会员 | ||
let zcUrl// 招采 | ||
let mUrl//企业服务 | ||
let url //会员中心 | ||
let hyUrl //会员 | ||
let zcUrl // 招采 | ||
let mUrl //企业服务 | ||
let urlLg //home | ||
@@ -20,3 +21,4 @@ if (isProduction) { | ||
mUrl = 'https://gateway.shigongbang.com/sgb-meta-design' | ||
}else if (isPre) { | ||
urlLg = 'https://gateway.shigongbang.com' | ||
} else if (isPre) { | ||
url = 'https://api.jingyingbang.net/memberCenter' | ||
@@ -26,2 +28,3 @@ hyUrl = 'https://api.jingyingbang.net/sgb-member' | ||
mUrl = 'https://api.jingyingbang.net/sgb-meta-design' | ||
urlLg = 'https://api.jingyingbang.net' | ||
} else { | ||
@@ -32,15 +35,22 @@ url = 'https://api.sgbwl.com/memberCenter' | ||
mUrl = 'https://api.sgbwl.com/sgb-meta-design' | ||
urlLg = 'https://api.sgbwl.com' | ||
} | ||
const apiInviteJoin = { | ||
queryProcessByType :(data) => request.post(`${mUrl}/v1/pc/process/queryProcessByType`, data),// 根据类型查询自定义流程信息 | ||
getIdentifiers: () => request.get(`${urlLg}/authentication/sv1/user`), //用户权限 | ||
queryProcessByType: (data) => request.post(`${mUrl}/v1/pc/process/queryProcessByType`, data), // 根据类型查询自定义流程信息 | ||
provinceList: () => request.get(`${zcUrl}/ov1/base/area/provinceList`), // 获取所有省 | ||
getServiceType: () => request.get(url + '/v2/api/companyInfo/getServiceTypeList'), //获取企业服务类型列表 | ||
getServiceType: () => request.get(`${url}/v2/api/companyInfo/getServiceTypeList`), //获取企业服务类型列表 | ||
isInvitedList: () => request.get(`${hyUrl}/ov1/member/league/isInvitedList`), // 已邀请企业 | ||
allCompanyList: (data) => request.get(url + '/api/company/allCompanyList', data), // 邀请加盟-平台所有公司列表 | ||
appliedList: () => request.get(`${hyUrl}/ov1/member/league/isApplyList`), // 已申请企业 | ||
sendMsg: (data) => request.post(`${zcUrl}/ov1/member/inviteCustomer/save`, data), // 发短信邀请企业加入平台 | ||
getLocation: () => request.get(`${hyUrl}/sysArea/getAllArea`), // 获取所有地区 | ||
apersonList: () => request.get(`${hyUrl}/ov1/member/league/person/isApplyCompanyList`), // 已申请企业(个人) | ||
isInvitedPersonList: () => request.get(`${hyUrl}/ov1/member/league/person/isInvitedList`), // 已邀请个人 | ||
appliedPersonList: () => request.get(`${hyUrl}/ov1/member/league/person/isApplyList`), // 已申请个人 | ||
allCompanyList: (data) => request.get(`${url}/api/company/allCompanyList`, data), // 邀请加盟-平台所有公司列表 | ||
allMemberPage: (data) => request.get(`${url}/api/company/allMemberPage`, data), // 邀请加盟-平台所有公司列表 | ||
allSite: (data) => request.post(`${urlLg}/jyb-user-page/api/allSite/getSitePersonalInfobyPage`, data), // 邀请加盟-平台所有个人列表 | ||
getJoinRecord: (data) => request.get(`${hyUrl}/ov1/member/league/person/getJoinRecord`, data), // 根据用户no,企业no加盟关系获取加盟记录 | ||
} | ||
export default apiInviteJoin |
@@ -23,5 +23,5 @@ | ||
toComDetail: (no) => window.open(url + "/company?companyNo=" + no),//跳转企业详情 | ||
toJoinInfo: ({name,no,id,type,isApproval}) => window.location.href = (`${hyUrl}/joinInfo?name=${name}&no=${no}&id=${id}&type=${type}&isApproval=${isApproval}`),//跳转申请邀请 | ||
toJoinInfo: ({no,personal,type,isApproval,processNo}) => window.location.href = (`${hyUrl}/joinInfo?no=${no}&personal=${personal}&type=${type}&isApproval=${isApproval}&processNo=${processNo}`),//跳转申请邀请 | ||
}; | ||
export default link; |
{ | ||
"name": "vue-join-dialog", | ||
"version": "1.0.19", | ||
"version": "1.0.20", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
21385
104