首页通过资源申请跳转 默认进入政务云资源tab

This commit is contained in:
a0049873 2022-11-14 09:51:46 +08:00
parent 11a959022c
commit cb60a8736d
3 changed files with 519 additions and 520 deletions

View File

@ -1784,6 +1784,7 @@
Cardsname.value = name Cardsname.value = name
newQuery.select = Cardsname.value newQuery.select = Cardsname.value
newQuery.type = '' newQuery.type = ''
newQuery.zwy = ''
router router
.replace({ .replace({
query: newQuery, query: newQuery,

View File

@ -1024,6 +1024,7 @@
} }
// //
let formPage = router.currentRoute.value.query.formPage || '' let formPage = router.currentRoute.value.query.formPage || ''
let zwy = router.currentRoute.value.query.zwy || ''
// -- // --
let facilitiesType = router.currentRoute.value.query.facilitiesType || '' let facilitiesType = router.currentRoute.value.query.facilitiesType || ''
onMounted(() => { onMounted(() => {
@ -1054,7 +1055,12 @@
roomResult.value = true roomResult.value = true
onSearch() onSearch()
} else { } else {
tabClick(0, '城市云脑会客厅') //
if (zwy) {
tabClick(0, '政务云资源')
} else {
tabClick(0, '城市云脑会客厅')
}
} }
} }
} }
@ -1264,10 +1270,10 @@
} }
// ---- // ----
// //
const disabledDate = (current) => { const disabledDate = (current) => {
const time = moment().endOf('day').subtract(1, 'days') const time = moment().endOf('day').subtract(1, 'days')
return current && current < time return current && current < time
} }
// //
const disabledStartHours = () => { const disabledStartHours = () => {
if (roomEndTime.value) { if (roomEndTime.value) {

File diff suppressed because it is too large Load Diff