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
f9184dd5
authored
2023-07-03 16:54:39 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev' of
http://yun.pashanhoo.com:9090/bdc/bdcjg-web
into dev
2 parents
2b76acdf
b15fc84e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
6 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 @
f9184dd
...
...
@@ -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 @
f9184dd
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-03 16:50:43
-->
...
...
@@ -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
})
)
...
...
src/views/home/dataView/rightcard.vue
View file @
f9184dd
<!--
* @Description :工作台右侧表
* @Autor : miaofang
* @LastEditTime: 2023-07-03 16:5
0:07
* @LastEditTime: 2023-07-03 16:5
4:36
-->
<
template
>
<div
class=
"rightcard"
>
...
...
@@ -36,7 +36,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