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