|
|
|
@ -508,6 +508,7 @@ const option = ref({ |
|
|
|
}, |
|
|
|
}, |
|
|
|
tooltip: { |
|
|
|
tooltip: { |
|
|
|
trigger: "item", |
|
|
|
trigger: "item", |
|
|
|
|
|
|
|
position: "bottom", |
|
|
|
formatter: function (params) { |
|
|
|
formatter: function (params) { |
|
|
|
const dataItem = auditMapData.value.find((item) => |
|
|
|
const dataItem = auditMapData.value.find((item) => |
|
|
|
item.name.includes(params.name.substring(0, 2)) |
|
|
|
item.name.includes(params.name.substring(0, 2)) |
|
|
|
@ -516,7 +517,7 @@ const option = ref({ |
|
|
|
if (dataItem) { |
|
|
|
if (dataItem) { |
|
|
|
return ` |
|
|
|
return ` |
|
|
|
<div class="tooltip"> |
|
|
|
<div class="tooltip"> |
|
|
|
<div class="tooltip-title">${dataItem.name}</div> |
|
|
|
<div class="tooltip-title">${dataItem.originalName}</div> |
|
|
|
<div class="tooltip-content"> |
|
|
|
<div class="tooltip-content"> |
|
|
|
<ul class="tooltip-ul"> |
|
|
|
<ul class="tooltip-ul"> |
|
|
|
<li>审计单位/项目数<span>${dataItem.projectNumber ?? "-"}</span></li> |
|
|
|
<li>审计单位/项目数<span>${dataItem.projectNumber ?? "-"}</span></li> |
|
|
|
@ -897,6 +898,11 @@ const getAuditMapData = async ()=>{ |
|
|
|
width: 90px; |
|
|
|
width: 90px; |
|
|
|
color: #fff; |
|
|
|
color: #fff; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.descriptions_content { |
|
|
|
|
|
|
|
font-size: 18px; |
|
|
|
|
|
|
|
line-height: 24px; |
|
|
|
|
|
|
|
} |
|
|
|
</style> |
|
|
|
</style> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|