会议发布修改 发布提醒 国际研讨会报名bug
This commit is contained in:
@@ -340,6 +340,8 @@ export default {
|
||||
meetingCostBool: false,
|
||||
// 是否有邀请码
|
||||
inviteCodeBool: false,
|
||||
// 邀请码错误状态
|
||||
codeErrorBool:true,
|
||||
url: {
|
||||
add: '/meeting/payMeetingSituation/signUp'
|
||||
}
|
||||
@@ -466,6 +468,10 @@ export default {
|
||||
}
|
||||
this.form.validateFields((err, values) => {
|
||||
if (!err) {
|
||||
if(this.codeErrorBool){
|
||||
this.$message.error('邀请码填写错误')
|
||||
return
|
||||
}
|
||||
this.confirmLoading = true
|
||||
let submitData = Object.assign({}, values, this.formData)
|
||||
submitData.companyId = values.companyId.id
|
||||
@@ -473,6 +479,10 @@ export default {
|
||||
submitData.meetingId = this.meetingId
|
||||
// 会议类型
|
||||
submitData.meetingType = this.meetingType
|
||||
// 身份
|
||||
submitData.identity = values.identity || this.identifyType
|
||||
// 嘉宾类型
|
||||
submitData.guestType = values.guestType || this.guestType
|
||||
console.log(submitData)
|
||||
let url = this.url.add
|
||||
let method = 'post'
|
||||
@@ -566,18 +576,22 @@ export default {
|
||||
switch (code) {
|
||||
// 合作伙伴
|
||||
case this.currentMeetingInfo.cooperativeInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 4
|
||||
break
|
||||
// 演讲嘉宾
|
||||
case this.currentMeetingInfo.speakerInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 2
|
||||
break
|
||||
// 特邀嘉宾
|
||||
case this.currentMeetingInfo.guestInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 3
|
||||
break
|
||||
// vip
|
||||
case this.currentMeetingInfo.vipInvitationCode:
|
||||
this.identifyType = 1
|
||||
this.guestType = 1
|
||||
break
|
||||
default :this.guestType = null
|
||||
@@ -608,6 +622,8 @@ export default {
|
||||
break
|
||||
default : flag = false
|
||||
}
|
||||
// 保存错误状态
|
||||
this.codeErrorBool = !flag
|
||||
// 判断guestType 是否等于 null
|
||||
if(!flag){
|
||||
// 错误
|
||||
|
||||
Reference in New Issue
Block a user