首页通过资源申请跳转 默认进入政务云资源tab
This commit is contained in:
parent
11a959022c
commit
cb60a8736d
|
@ -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,
|
||||||
|
|
|
@ -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
Loading…
Reference in New Issue