BUG修改

This commit is contained in:
a0049873 2022-07-07 11:25:56 +08:00
parent 0ad5646167
commit 4774431110
1 changed files with 15 additions and 2 deletions

View File

@ -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>查看更多&gt;</p>
<!-- <p>查看更多&gt;</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