能力集气泡图 BUG修改

This commit is contained in:
a0049873 2022-06-17 10:40:09 +08:00
parent ff134c7b0a
commit eed0b62c5a
1 changed files with 4 additions and 2 deletions

View File

@ -49,10 +49,10 @@
>
<a-tooltip>
<template #title>
{{ dept.deptName || dept.type + '(' + dept.total + ')' }}
{{ (dept.deptName || dept.type) + '(' + dept.total + ')' }}
</template>
<span>
{{ dept.deptName || dept.type + '(' + dept.total + ')' }}
{{ (dept.deptName || dept.type) + '(' + dept.total + ')' }}
</span>
</a-tooltip>
</span>
@ -218,6 +218,7 @@
const initBubbleList = (res) => {
if (navSelect.value === '能力类型-能力集') {
bubbleList.value = res.data.data.maxDept.resourceList.slice(0, 20)
console.log('能力类型============>', res.data.data.typeList)
bubbleList.value.unshift({
id: res.data.data.maxDept.typeName,
name: res.data.data.maxDept.typeName,
@ -232,6 +233,7 @@
departmentList.value = res.data.data.appAreaList
} else {
bubbleList.value = res.data.data.maxDept.resourceList.slice(0, 20)
console.log('其它 ============>', res.data.data.deptList)
bubbleList.value.unshift({
id: res.data.data.maxDept.deptId,
name: res.data.data.maxDept.deptName,