feat:重庆市工程管理有限公司数字化提升项目 大屏

This commit is contained in:
xuyoubin 2024-01-11 16:57:37 +08:00
parent 16ee39a774
commit 0946f8123a

View File

@ -261,11 +261,11 @@ export default {
data: [
{
name: "已付款",
value: 20,
value: 70,
},
{
name: "未收款",
value: 80,
value: 30,
},
],
label: {
@ -521,27 +521,26 @@ export default {
{
location: [87.2305571, 42.952565],
name: "新疆维吾尔自治区",
money: "10",
money: "110",
project: "10",
},
{
location: [87.6720922, 30.4421226],
name: "西藏自治区",
number: "115",
money: "15",
money: "200",
project: "18",
},
{
location: [100.3294324, 37.073776],
name: "甘肃省",
money: "12",
money: "210",
project: "15",
},
{
location: [115.2680375, 42.6545234],
name: "内蒙古自治区",
money: "8",
project: "10",
money: "150",
project: "8",
},
{
location: [117.6596861, 35.494953],
@ -552,20 +551,20 @@ export default {
{
location: [101.6172432, 30.8557071],
name: "四川省",
money: "15",
project: "10",
money: "300",
project: "20",
},
{
location: [109.5096669, 21.9042145],
name: "广西壮族自治区",
money: "25",
project: "15",
money: "200",
project: "19",
},
{
location: [115.1760343, 25.8285884],
name: "江西省",
money: "20",
project: "16",
money: "270",
project: "23",
},
];
this.mainMapIns.setOption(
@ -632,7 +631,7 @@ export default {
type: "scatter",
coordinateSystem: "geo",
tooltip: {
backgroundColor: '#000',
backgroundColor: '#00000000',
formatter: (val) => {
const { data } = val;
const { INFO } = data;
@ -641,15 +640,18 @@ export default {
display:flex;
align-items:center;
flex-direction: column;
justify-content: space-around;color:#fff;width:150px;height:0px">
<div style="width:100%,text-align:center;">${data.name}</div>
height:100px;
justify-content: space-around;color:#fff;width:150px;">
<div style="display:flex;justify-content: center; align-items:center;width:100%;">
<div>${data.name}</div>
</div>
<div style="display: flex; justify-content: space-around; align-items:center;width:100%;">
<div>客户数量</div>
<div>客户数量:</div>
<div>${data.project}</div>
</div>
<div style="display: flex; justify-content: space-around; align-items:center;width:100%;">
<div>合同金额</div>
<div>${data.money}亿</div>
<div>合同金额:</div>
<div>${data.money}</div>
</div>
</div>`;
},
@ -680,7 +682,7 @@ export default {
aspectScale: 1,
itemStyle: {
borderColor: "#05d6f8",
borderWidth: 2,
borderWidth: 1,
areaColor: {
type: "radial",
x: 0.5,