f9184dd5 by renchao@pashanhoo.com

Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web into dev

2 parents 2b76acdf b15fc84e
......@@ -53,9 +53,14 @@ export default {
},
// 如果需要自定义 tooltip样式,需要使用formatter
formatter: (params) => {
return `<div style="">${params.name}:${params.value + "个"
}</div>`;
return `<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000">
接入量:<span style="color: #7df7ce; font-size: 16px; font-weight: 600;"> ${params.value} </span>个
<br>
上报量:<span style="color: #f32c51; font-size: 16px; font-weight: 600;"> ${params.data.successcount} </span>个
</div>`;
},
extraCssText:
"background: #85a2eb; border-radius: 2;box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);color: #333;",
},
visualMap: {
min: 0,
......@@ -169,6 +174,8 @@ export default {
},
],
};
// 重新选择区域
this.handleMapRandomSelect();
},
immediate: true,
deep: true,
......
......@@ -31,7 +31,6 @@
try {
let { result: res } = await work.mapViews("A20");
res.map((item) => {
return (
this.cdata.push({ "name": item.areaName, "value": item.ywtotal })
)
......
<!--
* @Description :工作台右侧表
* @Autor : miaofang
* @LastEditTime: 2023-07-03 16:50:07
* @LastEditTime: 2023-07-03 16:54:36
-->
<template>
<div class="rightcard">
......@@ -36,7 +36,7 @@
oddRowBGC: '#154295',
evenRowBGC: '#154295',
header: ['序号', '业务名称', '登记业务量'],
columnWidth: [120, 270, 140],
columnWidth: [60, 330, 100],
data: [],
key: 0
}
......