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