From 479b96ee0629ad5e6ab43eaf82ae46ddebd02b8b Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 24 Sep 2022 12:24:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=94=BF=E5=8A=A1=E4=BA=91?= =?UTF-8?q?=E8=B5=84=E6=BA=90=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- front/src/views/home/infrastructurePage.vue | 24 ++++++++++++------- .../views/newHome/components/WorkDynamics.vue | 20 +++++++++++++--- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/front/src/views/home/infrastructurePage.vue b/front/src/views/home/infrastructurePage.vue index 7110c18e..2c984123 100644 --- a/front/src/views/home/infrastructurePage.vue +++ b/front/src/views/home/infrastructurePage.vue @@ -463,6 +463,10 @@ 一键申请 + + + 我要申请政务云资源 + @@ -916,7 +920,7 @@ const tabList = ref([ { title: '设施类型', - content: ['视频资源', '云资源', '感知资源', '城市云脑会客厅'], + content: ['政务云资源','视频资源', '感知资源', '城市云脑会客厅'], }, { title: '视频标签', @@ -991,7 +995,7 @@ // const dataTypeList = () => { // if (tabList.value[0].content.indexOf('视频资源') != -1) { // tabList.value[1].content = ['123344', '213124'] - // }else if(tabList.value[0].content.indexOf('云资源') != -1){ + // }else if(tabList.value[0].content.indexOf('政务云资源') != -1){ // tabList.value[1].content = ['5555', '666'] // } @@ -1340,14 +1344,14 @@ tableHeight.value = 330 showMap.value = true tabList.value[1].title = '视频标签' - } else if (name == '云资源') { + } else if (name == '政务云资源') { room.value = true tableHeight.value = 600 showMap.value = false dataSource.value = [] dataSource2.value = [] pagination.value.total = 0 - tabList.value[1].title = '云资源分类' + tabList.value[1].title = '政务云资源分类' } else if (name == '感知资源') { room.value = true tableHeight.value = 330 @@ -1398,14 +1402,14 @@ mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + '' emits('add', 1) getCamera() - } else if (name == '云资源') { + } else if (name == '政务云资源') { tableHeight.value = 600 showMap.value = false dataSource.value = [] dataSource2.value = [] pagination.value.total = 0 clickList.value[1].content = [] - tabList.value[1].title = '云资源分类' + tabList.value[1].title = '政务云资源分类' clickList.value[indexFather].content[0] = name tabList.value[1].content = [ '云主机', @@ -1503,7 +1507,7 @@ console.log('选中的标签code', mapSearchParam.value) mapSearchParam.value.labelCodes = mapSearchParam.value.labelCodes + '' // let fatherName = ref('视频资源') - // if (name == '视频资源' || name == '云资源' || name == '感知资源') { + // if (name == '视频资源' || name == '政务云资源' || name == '感知资源') { // fatherName.value == name // } // if (fatherName.value == '视频资源') { @@ -1512,7 +1516,7 @@ // dataSource.value = [] // pagination.value.total = 0 // } - if (name == '云资源' || name == '感知资源') { + if (name == '政务云资源' || name == '感知资源') { dataSource.value = [] dataSource2.value = [] pagination.value.total = 0 @@ -1753,6 +1757,10 @@ message.error('请选择需要添加申购车的数据') } } + // 申请政务云资源 + const applyCloudResources = () => { + window.open("http://15.72.183.88:8760/yzy/login") + } // 表格 const dataSource = ref([]) const dataSource2 = ref([]) diff --git a/front/src/views/newHome/components/WorkDynamics.vue b/front/src/views/newHome/components/WorkDynamics.vue index 4f609744..c2a83e73 100644 --- a/front/src/views/newHome/components/WorkDynamics.vue +++ b/front/src/views/newHome/components/WorkDynamics.vue @@ -53,6 +53,10 @@
+
+

+

资源申请

+

需求申请

@@ -311,6 +315,15 @@ function handlecancelAbilitySquare() { abilitySquareFunctionData.value = '智能算法' } + const applyResource = () => { + console.log('点击===============》') + router.push({ + path: '/DetailsPageconetent', + query: { + select: "基础设施", + }, + }) + }