From 47744311106d591cd2c7560f28357ca9231c48c6 Mon Sep 17 00:00:00 2001 From: a0049873 <79py69t9wb@privaterelay.appleid.com> Date: Thu, 7 Jul 2022 11:25:56 +0800 Subject: [PATCH] =?UTF-8?q?BUG=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/AtlasResources.vue | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/front/src/views/abilityStatistics/components/AtlasResources.vue b/front/src/views/abilityStatistics/components/AtlasResources.vue index 4c93e14a..9d9afe04 100644 --- a/front/src/views/abilityStatistics/components/AtlasResources.vue +++ b/front/src/views/abilityStatistics/components/AtlasResources.vue @@ -31,7 +31,9 @@ v-for="(item, index) in bubbleList" :key="item.id" class="bubble-item" - @click.stop.prevent="index == 0 ? showDepartmentList() : ''" + @click.stop.prevent=" + index == 0 ? showDepartmentList() : goToDetails(item) + " > @@ -58,7 +60,7 @@ -

查看更多>

+
@@ -136,6 +138,8 @@ provideDeptTopN, applyDeptTopN, } from '@/api/abilityStatistics' + // import { useRouter } from 'vue-router' + // const router = useRouter() // 左侧导航 const navList = ref([ '能力共享方-应用领域', @@ -149,6 +153,15 @@ ]) const navSelect = ref('能力共享方-应用领域') const departmentListFlag = ref(false) + const goToDetails = (item) => { + // console.log('点击气泡===============>', item) + // router.push({ + // path: '/details', + // query: { + // id: item.id, + // }, + // }) + } // 点击导航 const selectNav = (name) => { navSelect.value = name