BUG修改
This commit is contained in:
parent
0ad5646167
commit
4774431110
|
@ -31,7 +31,9 @@
|
||||||
v-for="(item, index) in bubbleList"
|
v-for="(item, index) in bubbleList"
|
||||||
:key="item.id"
|
:key="item.id"
|
||||||
class="bubble-item"
|
class="bubble-item"
|
||||||
@click.stop.prevent="index == 0 ? showDepartmentList() : ''"
|
@click.stop.prevent="
|
||||||
|
index == 0 ? showDepartmentList() : goToDetails(item)
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<a-tooltip>
|
<a-tooltip>
|
||||||
<template #title>{{ item.name }}</template>
|
<template #title>{{ item.name }}</template>
|
||||||
|
@ -58,7 +60,7 @@
|
||||||
</span>
|
</span>
|
||||||
</nav>
|
</nav>
|
||||||
</article>
|
</article>
|
||||||
<p>查看更多></p>
|
<!-- <p>查看更多></p> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="itemList" v-else-if="navSelect.indexOf('应用领域') > 0">
|
<div class="itemList" v-else-if="navSelect.indexOf('应用领域') > 0">
|
||||||
<div class="item" v-for="item in dataList" :key="item.deptId">
|
<div class="item" v-for="item in dataList" :key="item.deptId">
|
||||||
|
@ -136,6 +138,8 @@
|
||||||
provideDeptTopN,
|
provideDeptTopN,
|
||||||
applyDeptTopN,
|
applyDeptTopN,
|
||||||
} from '@/api/abilityStatistics'
|
} from '@/api/abilityStatistics'
|
||||||
|
// import { useRouter } from 'vue-router'
|
||||||
|
// const router = useRouter()
|
||||||
// 左侧导航
|
// 左侧导航
|
||||||
const navList = ref([
|
const navList = ref([
|
||||||
'能力共享方-应用领域',
|
'能力共享方-应用领域',
|
||||||
|
@ -149,6 +153,15 @@
|
||||||
])
|
])
|
||||||
const navSelect = ref('能力共享方-应用领域')
|
const navSelect = ref('能力共享方-应用领域')
|
||||||
const departmentListFlag = ref(false)
|
const departmentListFlag = ref(false)
|
||||||
|
const goToDetails = (item) => {
|
||||||
|
// console.log('点击气泡===============>', item)
|
||||||
|
// router.push({
|
||||||
|
// path: '/details',
|
||||||
|
// query: {
|
||||||
|
// id: item.id,
|
||||||
|
// },
|
||||||
|
// })
|
||||||
|
}
|
||||||
// 点击导航
|
// 点击导航
|
||||||
const selectNav = (name) => {
|
const selectNav = (name) => {
|
||||||
navSelect.value = name
|
navSelect.value = name
|
||||||
|
|
Loading…
Reference in New Issue