【bug】会议报名 参会人列表的查询
This commit is contained in:
@@ -2,7 +2,7 @@ import http from './http.js'
|
||||
let URL_CONFIG = '/jero-boot/'
|
||||
const signUpApi = {
|
||||
// 选择参会单位有权限的接口
|
||||
companyList: (params) => http.get(`${URL_CONFIG}company/payCompanyManagement/listMeeting`, params),
|
||||
companyList: (params) => http.get(`${URL_CONFIG}company/payCompanyManagement/list`, params),
|
||||
// 选择参会单位无权限的接口
|
||||
companyListNoLimit: (params) => http.get(`${URL_CONFIG}company/payCompanyManagement/listMeeting`, params),
|
||||
// 添加参会单位
|
||||
@@ -12,7 +12,7 @@ const signUpApi = {
|
||||
// 选择联系人接口
|
||||
personList:(params) => http.get(`${URL_CONFIG}company/payContactsManagement/queryWXByCompany`, params),
|
||||
// 选择联系人的接口无权限
|
||||
personListNolimit:(params) => http.get(`${URL_CONFIG}/company/payContactsManagement/queryWXByCompany`, params),
|
||||
personListNolimit:(params) => http.get(`${URL_CONFIG}company/payContactsManagement/queryWXByCompany`, params),
|
||||
// 添加联系人接口
|
||||
addPerson: (params) => http.post(`${URL_CONFIG}company/payContactsManagement/add`, params),
|
||||
// 添加联系人接口无权限
|
||||
@@ -22,7 +22,7 @@ const signUpApi = {
|
||||
// 上传汇款凭证
|
||||
uploadPayRecord:(params) =>http.post(`${URL_CONFIG}meeting/payMeetingSituation/editTerminal`, params),
|
||||
// 通过单位名称校验是否标协会员
|
||||
validateStandard:(params) => http.get('/meeting/internalMeetingSituation/checkMember',params)
|
||||
validateStandard:(params) => http.get(`${URL_CONFIG}meeting/internalMeetingSituation/checkMember`,params)
|
||||
}
|
||||
|
||||
export default signUpApi
|
||||
|
||||
@@ -503,7 +503,6 @@ Page({
|
||||
// 确定
|
||||
formSubmit(e) {
|
||||
const formData = Object.assign({}, e.detail.value)
|
||||
|
||||
if (this.data.flag) {
|
||||
wx.showToast({
|
||||
title: '信息输入有误',
|
||||
@@ -583,7 +582,7 @@ Page({
|
||||
return
|
||||
}
|
||||
// 是否用餐
|
||||
if (this.data.guestType !== '4' && (formData.haveMeals == '' || formData.haveMeals === undefined)) {
|
||||
if (this.data.guestType !== '4' && this.data.identity === '1' && (formData.haveMeals == '' || formData.haveMeals === undefined)) {
|
||||
wx.showToast({
|
||||
title: '请选择是否用餐',
|
||||
icon: 'none',
|
||||
@@ -592,7 +591,7 @@ Page({
|
||||
return
|
||||
}
|
||||
// 是否回民 选择了是否用餐才去校验
|
||||
if (this.data.guestType !== '4' && thism.data.haveMeal === '1' && (formData.huiPeople == '' || formData.huiPeople === undefined)) {
|
||||
if (this.data.guestType !== '4' && this.data.haveMeal === '1' && (formData.huiPeople == '' || formData.huiPeople === undefined)) {
|
||||
wx.showToast({
|
||||
title: '请选择是否回民',
|
||||
icon: 'none',
|
||||
@@ -718,7 +717,16 @@ Page({
|
||||
return
|
||||
}
|
||||
// 会议id
|
||||
formData.meetingId = this.meetingDetailInfo.id
|
||||
if( this.data.selectedMeeting.id){
|
||||
formData.meetingId = this.data.selectedMeeting.id
|
||||
}else{
|
||||
wx.getStorage({
|
||||
key:"meetingId",
|
||||
success(res){
|
||||
formData.meetingId = res.data
|
||||
}
|
||||
})
|
||||
}
|
||||
// 参会人id
|
||||
formData.companyContactId = this.data.selectedPerson.id
|
||||
// 邮寄联系人id
|
||||
@@ -747,13 +755,22 @@ Page({
|
||||
wx.removeStorage({
|
||||
key: 'selectedPostPerson',
|
||||
})
|
||||
wx.removeStorage({
|
||||
key: 'meetingId',
|
||||
})
|
||||
wx.removeStorage({
|
||||
key: 'currentMeetingInfo',
|
||||
success() {
|
||||
// 跳转报名成功页面
|
||||
wx.navigateTo({
|
||||
url: '../signUpSuccess/signUpSuccess',
|
||||
})
|
||||
if(formData.payMode){
|
||||
wx.navigateTo({
|
||||
url: `../signUpSuccess/signUpSuccess?payMode=${formData.payMode}`,
|
||||
})
|
||||
}else{
|
||||
wx.navigateTo({
|
||||
url: `../signUpSuccess/signUpSuccess`,
|
||||
})
|
||||
}
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user