Merge branch 'dev' of http://yun.pashanhoo.com:9090/bdc/bdcjg-web into dev
Showing
3 changed files
with
11 additions
and
5 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, | ... | ... |
... | @@ -31,7 +31,6 @@ | ... | @@ -31,7 +31,6 @@ |
31 | try { | 31 | try { |
32 | let { result: res } = await work.mapViews("A20"); | 32 | let { result: res } = await work.mapViews("A20"); |
33 | res.map((item) => { | 33 | res.map((item) => { |
34 | |||
35 | return ( | 34 | return ( |
36 | this.cdata.push({ "name": item.areaName, "value": item.ywtotal }) | 35 | this.cdata.push({ "name": item.areaName, "value": item.ywtotal }) |
37 | ) | 36 | ) | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description :工作台右侧表 | 2 | * @Description :工作台右侧表 |
3 | * @Autor : miaofang | 3 | * @Autor : miaofang |
4 | * @LastEditTime: 2023-07-03 16:50:07 | 4 | * @LastEditTime: 2023-07-03 16:54:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="rightcard"> | 7 | <div class="rightcard"> |
... | @@ -36,7 +36,7 @@ | ... | @@ -36,7 +36,7 @@ |
36 | oddRowBGC: '#154295', | 36 | oddRowBGC: '#154295', |
37 | evenRowBGC: '#154295', | 37 | evenRowBGC: '#154295', |
38 | header: ['序号', '业务名称', '登记业务量'], | 38 | header: ['序号', '业务名称', '登记业务量'], |
39 | columnWidth: [120, 270, 140], | 39 | columnWidth: [60, 330, 100], |
40 | data: [], | 40 | data: [], |
41 | key: 0 | 41 | key: 0 |
42 | } | 42 | } | ... | ... |
-
Please register or sign in to post a comment