diff --git a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue index a4aa967..9e4c2c9 100644 --- a/src/views/incomePayments/meetManage/SignUpInfoEdit.vue +++ b/src/views/incomePayments/meetManage/SignUpInfoEdit.vue @@ -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()