市局:增加消息通知会议室跳转

This commit is contained in:
guoyue 2022-10-10 15:45:33 +08:00
parent 8940dc4e24
commit 37347b3de2
2 changed files with 38 additions and 11 deletions

View File

@ -898,6 +898,8 @@
if (props.searchValue) { if (props.searchValue) {
mapSearchParam.value.cameraName = props.searchValue mapSearchParam.value.cameraName = props.searchValue
} }
//
let formPage = router.currentRoute.value.query.formPage || ''
onMounted(() => { onMounted(() => {
// //
handleUser() handleUser()
@ -916,7 +918,15 @@
clickList.value.push(_obj) clickList.value.push(_obj)
tabClick(0, '视频资源') tabClick(0, '视频资源')
} else { } else {
tabClick(0, '政务云资源') //
if(formPage && formPage == 'noticePage') {
tabClick(0, '城市云脑会客厅')
roomYuyue.value = false
roomResult.value = true
onSearch()
}else {
tabClick(0, '政务云资源')
}
} }
} }

View File

@ -187,8 +187,9 @@ let typeObj = {
7: '需求后台', 7: '需求后台',
8: '评论前台', 8: '评论前台',
9: '评论后台', 9: '评论后台',
10: '评价前台', 10: '会议室前台',
11: '评价后台', 11: '会议室后台',
12: '其他'
} }
// //
@ -213,6 +214,10 @@ let pageObj = {
0: 'myAgent-CommentModeration', 0: 'myAgent-CommentModeration',
1: 'hasToDoTasks-CommentModeration', 1: 'hasToDoTasks-CommentModeration',
}, },
'会议室后台': {
0: 'activiti-RoomExamineAdmin',
1: 'activiti-RoomExamineAdmin',
},
} }
// tab // tab
@ -222,10 +227,11 @@ const tabTypeObj = {
'下架前台': '能力下架', '下架前台': '能力下架',
'需求前台': '需求评论', '需求前台': '需求评论',
'评论前台': '需求评论', '评论前台': '需求评论',
'会议室前台': '会议室前台'
} }
//
const goPage = (item) => { const goPage = (item) => {
console.log('item----更改消息状态-------->', item);
let typeText = typeObj[item.type]; let typeText = typeObj[item.type];
if (typeText) { if (typeText) {
console.log('typeText类型------------>', typeText); console.log('typeText类型------------>', typeText);
@ -235,13 +241,24 @@ const goPage = (item) => {
let _page = pageObj[typeText][_applyState] let _page = pageObj[typeText][_applyState]
window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`) window.open(window.SITE_CONFIG.backUrl + `/#/${_page}`)
} else if (typeText.indexOf('前台') !== -1) { } else if (typeText.indexOf('前台') !== -1) {
window.sessionStorage.setItem('type', JSON.stringify('apply')) if (typeText == '会议室前台') {
router.push({ router.push({
path: '/personalCenter', path: '/DetailsPageconetent',
query: { query: {
tabTypeName: tabTypeObj[typeText] || '能力申请', select: '基础设施',
} formPage: 'noticePage'
}) },
})
} else {
window.sessionStorage.setItem('type', JSON.stringify('apply'))
router.push({
path: '/personalCenter',
query: {
tabTypeName: tabTypeObj[typeText] || '能力申请',
}
})
}
} }
} }
} }