【bug】国际研讨会验证码失效问题
This commit is contained in:
@@ -50,8 +50,6 @@ Page({
|
||||
},
|
||||
// 加载企业列表
|
||||
loadData() {
|
||||
console.log('1552203698874545454545454545454545');
|
||||
console.log(this.data.nolimitBool,'this.data.nolimitBool');
|
||||
wx.showToast({
|
||||
title: '加载中...',
|
||||
icon: 'loading'
|
||||
@@ -116,8 +114,15 @@ Page({
|
||||
if (res.confirm) {
|
||||
//这里是点击了确定以后
|
||||
if (that.data.page === 'guoji') {
|
||||
wx.navigateTo({
|
||||
url: `../signUpPageGuoji/signUpPageGuoji?company=${selectedCompany}`,
|
||||
// wx.navigateTo({
|
||||
// url: `../signUpPageGuoji/signUpPageGuoji?company=${selectedCompany}`,
|
||||
// })
|
||||
prevPage.setData({
|
||||
'selectedCompany.companyName':e.currentTarget.dataset.company.companyName,
|
||||
'selectedCompany.id':e.currentTarget.dataset.company.id,
|
||||
})
|
||||
wx.navigateBack({
|
||||
delta: 1,
|
||||
})
|
||||
} else if(that.data.page === 'register'){
|
||||
prevPage.setData({
|
||||
@@ -133,10 +138,10 @@ Page({
|
||||
})
|
||||
}
|
||||
// 在选中企业后 将选中的企业信息存入缓存中 保证新建企业联系人的时候的回显 与参数传id
|
||||
wx.setStorage({
|
||||
key: 'selectedCompany',
|
||||
data: selectedCompany
|
||||
})
|
||||
// wx.setStorage({
|
||||
// key: 'selectedCompany',
|
||||
// data: selectedCompany
|
||||
// })
|
||||
} else {
|
||||
//这里是点击了取消以后
|
||||
}
|
||||
|
||||
@@ -79,7 +79,7 @@ Page({
|
||||
guestType: -1,
|
||||
// 参会身份
|
||||
identity: '',
|
||||
// 是否有邀请码
|
||||
// 是否有邀请码
|
||||
isInviteCode: '',
|
||||
// 缴费方式
|
||||
payMethod: '',
|
||||
@@ -197,7 +197,7 @@ Page({
|
||||
payMethod: value
|
||||
})
|
||||
},
|
||||
// 是否有邀请码的选择
|
||||
// 是否有邀请码的选择
|
||||
changeInviteCode(e) {
|
||||
let value = e.detail.value
|
||||
this.setData({
|
||||
@@ -205,7 +205,7 @@ Page({
|
||||
inviteCode: '',
|
||||
})
|
||||
if (value === '1') {
|
||||
// 选择是 将身份设置为嘉宾
|
||||
// 选择是 将身份设置为嘉宾
|
||||
this.setData({
|
||||
identity: '1'
|
||||
})
|
||||
@@ -221,7 +221,7 @@ Page({
|
||||
})
|
||||
}
|
||||
},
|
||||
// 是否住酒店 参会人与内部企业 清除抵达时间 离开时间
|
||||
// 是否住酒店 参会人与内部企业 清除抵达时间 离开时间
|
||||
needHotelNot() {
|
||||
this.setData({
|
||||
arrivalTime: '请选择抵达时间',
|
||||
@@ -557,7 +557,7 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
// 手机号验证
|
||||
// 手机号验证
|
||||
if (formData.phone === '' || formData.phone === undefined) {
|
||||
wx.showToast({
|
||||
title: '请输入手机号',
|
||||
@@ -584,7 +584,7 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
// 不需要发票不校验
|
||||
// 不需要发票不校验
|
||||
if (formData.identity == '2' && (this.data.selectedPostPerson.id == -'' || this.data.selectedPostPerson.id === undefined) && formData.needInvoice !== '0') {
|
||||
wx.showToast({
|
||||
title: '请选择邮寄联系人',
|
||||
@@ -663,7 +663,7 @@ Page({
|
||||
if (formData.inHotelTime && formData.outHotelTime) {
|
||||
let flag = compareDate(formData.inHotelTime, formData.outHotelTime)
|
||||
if (flag) {
|
||||
// 入住酒店时间大于离店时间
|
||||
// 入住酒店时间大于离店时间
|
||||
wx.showToast({
|
||||
title: '入住酒店时间不能大于离店时间',
|
||||
icon: 'none',
|
||||
@@ -739,11 +739,11 @@ Page({
|
||||
})
|
||||
return
|
||||
}
|
||||
// 校验时间
|
||||
// 校验时间
|
||||
if (formData.arrivalTime && formData.departureTime) {
|
||||
let flag = compareDate(formData.arrivalTime, formData.departureTime)
|
||||
if (flag) {
|
||||
// 抵达时间大于离开时间
|
||||
// 抵达时间大于离开时间
|
||||
wx.showToast({
|
||||
title: '抵达时间不能大于离开时间',
|
||||
icon: 'none',
|
||||
@@ -793,7 +793,7 @@ Page({
|
||||
formData.companyId = this.data.selectedCompany.id
|
||||
// 嘉宾身份类型
|
||||
formData.guestType = this.data.guestType
|
||||
// 参会身份
|
||||
// 参会身份
|
||||
formData.identity = this.data.identity
|
||||
// 国际研讨会嘉宾上传的照片id
|
||||
formData.photo = this.data.imageIds
|
||||
@@ -861,8 +861,9 @@ Page({
|
||||
// 这个id 可能是是会议活动进来的 或者消息 或者扫码的
|
||||
if (options.meetingId) {
|
||||
this.queryMeetingDetail(options.meetingId)
|
||||
// this.queryMeetingDetail('1504615517497524226')
|
||||
}
|
||||
// this.queryMeetingDetail('1456069163911823361')
|
||||
|
||||
if (options.nolimit) {
|
||||
this.setData({
|
||||
nolimitBool: true
|
||||
@@ -940,4 +941,4 @@ Page({
|
||||
onShareAppMessage: function () {
|
||||
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user