首页通过资源申请跳转 默认进入政务云资源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
newQuery.select = Cardsname.value
newQuery.type = ''
newQuery.zwy = ''
router
.replace({
query: newQuery,

View File

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

File diff suppressed because it is too large Load Diff