BUG修改
This commit is contained in:
parent
0ad5646167
commit
4774431110
|
@ -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)
|
||||
"
|
||||
>
|
||||
<a-tooltip>
|
||||
<template #title>{{ item.name }}</template>
|
||||
|
@ -58,7 +60,7 @@
|
|||
</span>
|
||||
</nav>
|
||||
</article>
|
||||
<p>查看更多></p>
|
||||
<!-- <p>查看更多></p> -->
|
||||
</div>
|
||||
<div class="itemList" v-else-if="navSelect.indexOf('应用领域') > 0">
|
||||
<div class="item" v-for="item in dataList" :key="item.deptId">
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue