【bug】不同参会情况的标题修改

This commit is contained in:
fengachen
2021-10-22 11:29:04 +08:00
parent dba6334852
commit 982ddaf1c0
5 changed files with 14 additions and 20 deletions
@@ -830,21 +830,8 @@ export default {
break break
} }
} }
},
watch:{
$route:{
immediate: true,
handler: function(val, oldVal){
if(val.query.meetingType && val.query.meetingType === '3' ){
val.meta.title ='国际研讨会参会情况'
console.log(val,'val')
console.log(this.$route,'this.$ROUTE')
}
},
// 深度观察监听
deep: true
}
} }
} }
</script> </script>
@@ -365,13 +365,20 @@ export default {
* 参会情况 * 参会情况
* */ * */
toAttendance(record) { toAttendance(record) {
const that = this let path =''
let meetingType = this.$route.query.meetingType + ''
// 分标委会议与标协会议的跳转
if(meetingType === '2' ){
path = '/incomePayments/meetManage/AttendanceStandardsMeeting'
}else if(meetingType === '5'){
path = '/incomePayments/meetManage/AttendanceCommitteeMeeting'
}
this.$router.push({ this.$router.push({
path: '/incomePayments/meetManage/Attendance', path: path,
query: { query: {
id: record.id, id: record.id,
meetingName: record.meetingName, meetingName: record.meetingName,
meetingType:that.$route.query.meetingType + '' meetingType:meetingType
} }
}) })
}, },
@@ -331,7 +331,7 @@ export default {
* */ * */
toAttendance(record) { toAttendance(record) {
this.$router.push({ this.$router.push({
path: '/incomePayments/meetManage/Attendance', path: '/incomePayments/meetManage/AttendanceWorkGroupMeeting',
query: { query: {
id: record.id, id: record.id,
meetingName: record.meetingName, meetingName: record.meetingName,
@@ -270,7 +270,7 @@ export default {
* */ * */
toAttendance(record) { toAttendance(record) {
this.$router.push({ this.$router.push({
path: '/incomePayments/meetManage/Attendance', path: '/incomePayments/meetManage/AttendanceInternalMeeting',
query: { query: {
id: record.id, id: record.id,
meetingName: record.meetingName, meetingName: record.meetingName,
+1 -1
View File
@@ -275,7 +275,7 @@ name: 'OtherMeeting',
* */ * */
toAttendance(record) { toAttendance(record) {
this.$router.push({ this.$router.push({
path: '/incomePayments/meetManage/Attendance', path: '/incomePayments/meetManage/AttendanceOhterMeeting',
query: { query: {
id: record.id, id: record.id,
meetingName: record.meetingName, meetingName: record.meetingName,