会议审核接口替换
This commit is contained in:
@@ -492,7 +492,7 @@ export default {
|
|||||||
this.title = '编辑会议'
|
this.title = '编辑会议'
|
||||||
// 修改会议类型 控制dom显示 编辑取接口查到的会议类型
|
// 修改会议类型 控制dom显示 编辑取接口查到的会议类型
|
||||||
this.meetingType = record.meetingType + ''
|
this.meetingType = record.meetingType + ''
|
||||||
// 编辑根据接口返回的会议类型获取不同的会议类型
|
// 编辑根据接口返回的会议类型获取不同的会议url
|
||||||
this.url = this.createUrlByMeetingType(this.meetingType)
|
this.url = this.createUrlByMeetingType(this.meetingType)
|
||||||
} else {
|
} else {
|
||||||
this.title = '新增会议'
|
this.title = '新增会议'
|
||||||
|
|||||||
@@ -156,6 +156,41 @@ export default {
|
|||||||
// 审核报名信息
|
// 审核报名信息
|
||||||
checkSignUp:'/meeting/payMeetingSituation/checkRegister'
|
checkSignUp:'/meeting/payMeetingSituation/checkRegister'
|
||||||
},
|
},
|
||||||
|
// 其他会议url
|
||||||
|
otherMeetingUrl: {
|
||||||
|
// 审核凭证
|
||||||
|
check: '/meeting/ohterMeetingSituation/check',
|
||||||
|
// 审核报名信息
|
||||||
|
checkSignUp:'/meeting/ohterMeetingSituation/checkRegister'
|
||||||
|
},
|
||||||
|
// 工作组会议url
|
||||||
|
workGroupMeetingUrl: {
|
||||||
|
// 审核凭证
|
||||||
|
check: '/meeting/workGroupMeetingSituation/check',
|
||||||
|
// 审核报名信息
|
||||||
|
checkSignUp:'/meeting/workGroupMeetingSituation/checkRegister'
|
||||||
|
},
|
||||||
|
// 分标委会议url
|
||||||
|
committeeMeetingUrl: {
|
||||||
|
// 审核凭证
|
||||||
|
check: '/meeting/committeeMeetingSituation/check',
|
||||||
|
// 审核报名信息
|
||||||
|
checkSignUp:'/meeting/committeeMeetingSituation/checkRegister'
|
||||||
|
},
|
||||||
|
// 国际研讨会url
|
||||||
|
internalMeetingUrl: {
|
||||||
|
// 审核凭证
|
||||||
|
check: '/meeting/internalMeetingSituation/check',
|
||||||
|
// 审核报名信息
|
||||||
|
checkSignUp:'/meeting/internalMeetingSituation/checkRegister'
|
||||||
|
},
|
||||||
|
// 标协会议url
|
||||||
|
standardsMeetingUrl: {
|
||||||
|
// 审核凭证
|
||||||
|
check: '/meeting/standardsMeetingSituation/check',
|
||||||
|
// 审核报名信息
|
||||||
|
checkSignUp:'/meeting/standardsMeetingSituation/checkRegister'
|
||||||
|
},
|
||||||
// 审核结果选择
|
// 审核结果选择
|
||||||
checkBool:false,
|
checkBool:false,
|
||||||
// 是否是审核报名信息
|
// 是否是审核报名信息
|
||||||
@@ -172,6 +207,8 @@ export default {
|
|||||||
this.querySingUpUserInfo()
|
this.querySingUpUserInfo()
|
||||||
// 控制行程信息显示 审核凭证不显示
|
// 控制行程信息显示 审核凭证不显示
|
||||||
this.checkSignBool = signUp || false
|
this.checkSignBool = signUp || false
|
||||||
|
// 会议类型不同 url不同
|
||||||
|
this.url = Object.assign({},this.createUrlByMeetingType(this.$route.query.meetingType))
|
||||||
console.log(record)
|
console.log(record)
|
||||||
},
|
},
|
||||||
close() {
|
close() {
|
||||||
@@ -231,6 +268,18 @@ export default {
|
|||||||
}else if(e.target.value === '0'){
|
}else if(e.target.value === '0'){
|
||||||
this.checkBool = true
|
this.checkBool = true
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
/*
|
||||||
|
* 根据会议类型不同的url
|
||||||
|
* */
|
||||||
|
createUrlByMeetingType(meetingType){
|
||||||
|
switch (meetingType){
|
||||||
|
case '1': return this.workGroupMeetingUrl
|
||||||
|
case '2': return this.standardsMeetingUrl
|
||||||
|
case '3': return this.internalMeetingUrl
|
||||||
|
case '4': return this.otherMeetingUrl
|
||||||
|
case '5': return this.committeeMeetingUrl
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user