Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
b15fc84e
authored
2023-06-07 15:52:40 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
工作台
1 parent
d8f268f3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
5 deletions
src/components/Echart/Map/Chart.vue
src/components/Echart/Map/index.vue
src/views/home/dataView/rightcard.vue
src/components/Echart/Map/Chart.vue
View file @
b15fc84
...
...
@@ -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
,
...
...
src/components/Echart/Map/index.vue
View file @
b15fc84
...
...
@@ -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
})
)
});
...
...
src/views/home/dataView/rightcard.vue
View file @
b15fc84
<!--
* @Description :工作台右侧表
* @Autor : miaofang
* @LastEditTime : 2023-0
5-18 11:26:52
* @LastEditTime : 2023-0
6-07 15:50:13
-->
<
template
>
<div
class=
"rightcard"
>
...
...
@@ -35,7 +35,7 @@
oddRowBGC
:
'#154295'
,
evenRowBGC
:
'#154295'
,
header
:
[
'序号'
,
'业务名称'
,
'登记业务量'
],
columnWidth
:
[
120
,
270
,
14
0
],
columnWidth
:
[
60
,
330
,
10
0
],
data
:
[],
key
:
0
}
...
...
Please
register
or
sign in
to post a comment