b15fc84e by xiaomiao

工作台

1 parent d8f268f3
......@@ -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,
......
......@@ -29,7 +29,7 @@ export default {
res.map((item) => {
return (
this.cdata.push({ "name": item.areaName, "value": item.ywtotal })
this.cdata.push({ "name": item.areaName, "value": item.ywtotal ,"successcount": item.successcount })
)
});
......
<!--
* @Description :工作台右侧表
* @Autor : miaofang
* @LastEditTime : 2023-05-18 11:26:52
* @LastEditTime : 2023-06-07 15:50:13
-->
<template>
<div class="rightcard">
......@@ -35,7 +35,7 @@
oddRowBGC: '#154295',
evenRowBGC: '#154295',
header: ['序号', '业务名称', '登记业务量'],
columnWidth: [120, 270, 140],
columnWidth: [60, 330, 100],
data: [],
key: 0
}
......