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
82dc2fa9
authored
2023-03-13 17:21:28 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:成功率统计
1 parent
865f9050
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
src/views/jktj/cgltj/index.vue
src/views/jktj/cgltj/index.vue
View file @
82dc2fa
...
...
@@ -78,6 +78,7 @@ export default {
endTime
:
timeFormat
(
new
Date
(),
true
),
qxdm
:
""
,
},
interval
:
50
};
},
mounted
()
{
...
...
@@ -100,6 +101,10 @@ export default {
this
.
form
.
qxdm
);
this
.
chartData
=
res
;
console
.
log
(
this
.
chartData
);
let
maxData
=
Math
.
max
.
apply
(
Math
,
this
.
chartData
.
map
(
item
=>
{
return
item
.
failure
}))
this
.
interval
=
Math
.
ceil
(
maxData
/
10
)
//行政区代码过滤
res
.
length
>
0
&&
res
.
forEach
((
item
)
=>
{
...
...
@@ -191,7 +196,7 @@ export default {
color
:
"#fff"
,
fontSize
:
"16"
,
},
interval
:
50
,
interval
:
this
.
interval
,
axisLabel
:
{
formatter
:
"{value}"
,
textStyle
:
{
...
...
Please
register
or
sign in
to post a comment