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
f1e4ddc3
authored
2023-07-03 17:03:08 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:地图修改
1 parent
f9184dd5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
src/components/Echart/Map/Chart.vue
src/components/Echart/Map/index.vue
src/views/home/dataView/leftcard.vue
src/components/Echart/Map/Chart.vue
View file @
f1e4ddc
...
...
@@ -5,9 +5,9 @@
</
template
>
<
script
>
import
Echart
from
"@/common/echart"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
import
Echart
from
"@/common/echart"
;
import
{
mapGetters
}
from
"vuex"
;
export
default
{
data
()
{
return
{
options
:
{},
...
...
@@ -260,6 +260,6 @@ export default {
});
},
},
};
};
</
script
>
<
style
></
style
>
...
...
src/components/Echart/Map/index.vue
View file @
f1e4ddc
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-03 1
6:50:43
* @LastEditTime: 2023-07-03 1
7:00:51
-->
<
template
>
<Chart
:cdata=
"cdata"
/>
...
...
@@ -31,8 +31,9 @@
try
{
let
{
result
:
res
}
=
await
work
.
mapViews
(
"A20"
);
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/leftcard.vue
View file @
f1e4ddc
<!--
* @Description :工作台左侧表
* @Autor : miaofang
* @LastEditTime: 2023-07-03 16:5
0:16
* @LastEditTime: 2023-07-03 16:5
5:39
-->
<
template
>
<div
class=
"leftcard"
>
...
...
@@ -78,7 +78,7 @@
created
()
{
this
.
getsthjqxjrtotal
();
this
.
timer
=
setInterval
(()
=>
{
this
.
getsthjqxjrtotal
()
;
this
.
getsthjqxjrtotal
()
},
10000
)
// 10s
},
components
:
{
columnar
},
...
...
@@ -123,9 +123,8 @@
destroyed
()
{
clearInterval
(
this
.
timer
)
}
}
;
}
</
script
>
<
style
lang=
"scss"
scoped
>
.leftcard
{
width
:
30%
;
...
...
Please
register
or
sign in
to post a comment