【bug】添加参会人权限的bug
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user