工作台
Showing
3 changed files
with
13 additions
and
6 deletions
... | @@ -53,9 +53,14 @@ export default { | ... | @@ -53,9 +53,14 @@ export default { |
53 | }, | 53 | }, |
54 | // 如果需要自定义 tooltip样式,需要使用formatter | 54 | // 如果需要自定义 tooltip样式,需要使用formatter |
55 | formatter: (params) => { | 55 | formatter: (params) => { |
56 | return `<div style="">${params.name}:${params.value + "个" | 56 | return `<div style="color: #000;font-size: 14px;line-height: 24px background-color: #000000"> |
57 | }</div>`; | 57 | 接入量:<span style="color: #7df7ce; font-size: 16px; font-weight: 600;"> ${params.value} </span>个 |
58 | <br> | ||
59 | 上报量:<span style="color: #f32c51; font-size: 16px; font-weight: 600;"> ${params.data.successcount} </span>个 | ||
60 | </div>`; | ||
58 | }, | 61 | }, |
62 | extraCssText: | ||
63 | "background: #85a2eb; border-radius: 2;box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);color: #333;", | ||
59 | }, | 64 | }, |
60 | visualMap: { | 65 | visualMap: { |
61 | min: 0, | 66 | min: 0, |
... | @@ -169,6 +174,8 @@ export default { | ... | @@ -169,6 +174,8 @@ export default { |
169 | }, | 174 | }, |
170 | ], | 175 | ], |
171 | }; | 176 | }; |
177 | // 重新选择区域 | ||
178 | this.handleMapRandomSelect(); | ||
172 | }, | 179 | }, |
173 | immediate: true, | 180 | immediate: true, |
174 | deep: true, | 181 | deep: true, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-04-03 13:40:18 | 4 | * @LastEditTime: 2023-04-03 13:40:18 |
5 | --> | 5 | --> |
... | @@ -29,7 +29,7 @@ export default { | ... | @@ -29,7 +29,7 @@ export default { |
29 | res.map((item) => { | 29 | res.map((item) => { |
30 | 30 | ||
31 | return ( | 31 | return ( |
32 | this.cdata.push({ "name": item.areaName, "value": item.ywtotal }) | 32 | this.cdata.push({ "name": item.areaName, "value": item.ywtotal ,"successcount": item.successcount }) |
33 | ) | 33 | ) |
34 | 34 | ||
35 | }); | 35 | }); | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description :工作台右侧表 | 2 | * @Description :工作台右侧表 |
3 | * @Autor : miaofang | 3 | * @Autor : miaofang |
4 | * @LastEditTime : 2023-05-18 11:26:52 | 4 | * @LastEditTime : 2023-06-07 15:50:13 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rightcard"> | 7 | <div class="rightcard"> |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | oddRowBGC: '#154295', | 35 | oddRowBGC: '#154295', |
36 | evenRowBGC: '#154295', | 36 | evenRowBGC: '#154295', |
37 | header: ['序号', '业务名称', '登记业务量'], | 37 | header: ['序号', '业务名称', '登记业务量'], |
38 | columnWidth: [120, 270, 140], | 38 | columnWidth: [60, 330, 100], |
39 | data: [], | 39 | data: [], |
40 | key: 0 | 40 | key: 0 |
41 | } | 41 | } | ... | ... |
-
Please register or sign in to post a comment