【bug】添加参会人权限的bug

This commit is contained in:
fengachen
2021-10-27 16:43:32 +08:00
parent 24c08084f9
commit 63e477fc64
@@ -204,9 +204,34 @@ export default {
meetingType: '',
// 会议费用是否为0
meetingCostBool:false,
url:{
add:'/meeting/payMeetingSituation/add',
edit:'/meeting/payMeetingSituation/edit'
// url:{
// add:'/meeting/payMeetingSituation/add',
// edit:'/meeting/payMeetingSituation/edit'
// },
// 其他会议的url
otherMeetingUrl: {
add: '/meeting/ohterMeetingSituation/add',
edit:'/meeting/ohterMeetingSituation/edit'
},
// 分标委会议的url
committeeMeetingUrl: {
add: '/meeting/committeeMeetingSituation/add',
edit:'/meeting/committeeMeetingSituation/edit'
},
// 国际研讨会的url
internalMeetingUrl: {
add: '/meeting/internalMeetingSituation/add',
edit:'/meeting/internalMeetingSituation/edit'
},
// 标协会议的url
standardsMeetingUrl: {
add: '/meeting/standardsMeetingSituation/add',
edit:'/meeting/standardsMeetingSituation/edit'
},
// 工作组会议的url
workGroupMeetingUrl: {
add: '/meeting/workGroupMeetingSituation/add',
edit:'/meeting/workGroupMeetingSituation/edit'
},
title:'添加参会人',
}
@@ -229,6 +254,23 @@ export default {
}
},
computed:{
// eslint-disable-next-line
url() {
switch (this.$route.query.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
}
},
},
methods: {
addContactsOk() {
this.$refs.selectContacts.getContactsList()