|
|
|
|
@ -549,7 +549,7 @@ const option = ref({
|
|
|
|
|
if (dataItem) { |
|
|
|
|
return ` |
|
|
|
|
<div class="tooltip"> |
|
|
|
|
<div class="tooltip-title">${params.name}</div> |
|
|
|
|
<div class="tooltip-title">${params.name.replace(/街道$/, "")}</div> |
|
|
|
|
<div class="tooltip-content"> |
|
|
|
|
<ul class="tooltip-ul" > |
|
|
|
|
<li>维权案件总数 <span>${dataItem.rightsNumber || '-'}</span></li> |
|
|
|
|
@ -562,7 +562,7 @@ const option = ref({
|
|
|
|
|
</div>`; |
|
|
|
|
} else { |
|
|
|
|
return `<div class="tooltip"> |
|
|
|
|
<div class="tooltip-title">${dataItem.name}</div> |
|
|
|
|
<div class="tooltip-title">${params.name.replace(/街道$/, "")}</div> |
|
|
|
|
<div class="tooltip-content"> |
|
|
|
|
<ul class="tooltip-ul""> |
|
|
|
|
<li>维权案件总数 <span>-</span></li> |
|
|
|
|
@ -590,7 +590,7 @@ const option = ref({
|
|
|
|
|
map: "changsha", |
|
|
|
|
visualMapIndex: 0, |
|
|
|
|
roam: true, |
|
|
|
|
label: { show: true, color: "white" }, |
|
|
|
|
label: { show: true, color: "white", formatter: (params) => params.name.replace(/街道$/, "") }, |
|
|
|
|
itemStyle: { |
|
|
|
|
areaColor: "#02215E", |
|
|
|
|
borderColor: "#24D2EE", |
|
|
|
|
|