From cb60a8736d3e98349e93d7d75b365c388e54338d Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Mon, 14 Nov 2022 09:51:46 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A6=96=E9=A1=B5=E9=80=9A=E8=BF=87=E8=B5=84?= =?UTF-8?q?=E6=BA=90=E7=94=B3=E8=AF=B7=E8=B7=B3=E8=BD=AC=20=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E8=BF=9B=E5=85=A5=E6=94=BF=E5=8A=A1=E4=BA=91=E8=B5=84?= =?UTF-8?q?=E6=BA=90tab?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/DetailsPageconetent.vue | 1 + front/src/views/home/infrastructurePage.vue | 16 +- .../views/newHome/components/WorkDynamics.vue | 1022 ++++++++--------- 3 files changed, 519 insertions(+), 520 deletions(-) diff --git a/front/src/views/home/DetailsPageconetent.vue b/front/src/views/home/DetailsPageconetent.vue index dee8e5b0..1947a3ba 100644 --- a/front/src/views/home/DetailsPageconetent.vue +++ b/front/src/views/home/DetailsPageconetent.vue @@ -1784,6 +1784,7 @@ Cardsname.value = name newQuery.select = Cardsname.value newQuery.type = '' + newQuery.zwy = '' router .replace({ query: newQuery, diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index c9e1c4f6..5031c4f4 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -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) { diff --git a/front/src/views/newHome/components/WorkDynamics.vue b/front/src/views/newHome/components/WorkDynamics.vue index 6de21b31..b3151918 100644 --- a/front/src/views/newHome/components/WorkDynamics.vue +++ b/front/src/views/newHome/components/WorkDynamics.vue @@ -13,14 +13,7 @@
能力上架
-