Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
W
WX_h5
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
godwithdh
WX_h5
Commits
1db59591
Commit
1db59591
authored
Feb 08, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
49633a70
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
17 deletions
+21
-17
chart.vue
src/view/healthCard/statistics/chart.vue
+21
-17
No files found.
src/view/healthCard/statistics/chart.vue
View file @
1db59591
...
@@ -299,7 +299,6 @@ export default {
...
@@ -299,7 +299,6 @@ export default {
this
.
myChart1
.
coord
(
'polar'
,
{
this
.
myChart1
.
coord
(
'polar'
,
{
transposed
:
true
,
transposed
:
true
,
radius
:
0.9
,
radius
:
0.9
,
innerRadius
:
0.5
});
});
this
.
myChart1
.
axis
(
false
);
this
.
myChart1
.
axis
(
false
);
this
.
myChart1
.
tooltip
(
false
);
this
.
myChart1
.
tooltip
(
false
);
...
@@ -335,8 +334,8 @@ export default {
...
@@ -335,8 +334,8 @@ export default {
}
}
});
});
this
.
myChart1
.
interval
()
this
.
myChart1
.
interval
()
.
position
(
'
title
*value'
)
.
position
(
'
const
*value'
)
.
color
(
'title'
,
[
'#
1890FF'
,
'#13C2C2'
,
'#2FC25B'
,
'#FACC14
'
])
.
color
(
'title'
,
[
'#
ff9900'
,
'#19be6b'
,
'#2d8cf0
'
])
.
adjust
(
'stack'
)
.
adjust
(
'stack'
)
this
.
myChart1
.
render
();
this
.
myChart1
.
render
();
},
},
...
@@ -350,7 +349,6 @@ export default {
...
@@ -350,7 +349,6 @@ export default {
this
.
myChart2
.
coord
(
'polar'
,
{
this
.
myChart2
.
coord
(
'polar'
,
{
transposed
:
true
,
transposed
:
true
,
radius
:
0.9
,
radius
:
0.9
,
innerRadius
:
0.5
});
});
this
.
myChart2
.
axis
(
false
);
this
.
myChart2
.
axis
(
false
);
this
.
myChart2
.
tooltip
(
false
);
this
.
myChart2
.
tooltip
(
false
);
...
@@ -386,8 +384,8 @@ export default {
...
@@ -386,8 +384,8 @@ export default {
}
}
});
});
this
.
myChart2
.
interval
()
this
.
myChart2
.
interval
()
.
position
(
'
title
*value'
)
.
position
(
'
const
*value'
)
.
color
(
'title'
,
[
'#
1890FF'
,
'#13C2C2'
,
'#2FC25B'
,
'#FACC14
'
])
.
color
(
'title'
,
[
'#
ff9900'
,
'#19be6b
'
])
.
adjust
(
'stack'
)
.
adjust
(
'stack'
)
this
.
myChart2
.
render
();
this
.
myChart2
.
render
();
},
},
...
@@ -401,7 +399,6 @@ export default {
...
@@ -401,7 +399,6 @@ export default {
this
.
myChart3
.
coord
(
'polar'
,
{
this
.
myChart3
.
coord
(
'polar'
,
{
transposed
:
true
,
transposed
:
true
,
radius
:
0.9
,
radius
:
0.9
,
innerRadius
:
0.5
});
});
this
.
myChart3
.
axis
(
false
);
this
.
myChart3
.
axis
(
false
);
this
.
myChart3
.
tooltip
(
false
);
this
.
myChart3
.
tooltip
(
false
);
...
@@ -437,8 +434,8 @@ export default {
...
@@ -437,8 +434,8 @@ export default {
}
}
});
});
this
.
myChart3
.
interval
()
this
.
myChart3
.
interval
()
.
position
(
'
title
*value'
)
.
position
(
'
const
*value'
)
.
color
(
'title'
,
[
'#
1890FF'
,
'#13C2C2'
,
'#2FC25B'
,
'#FACC14
'
])
.
color
(
'title'
,
[
'#
ff9900'
,
'#19be6b
'
])
.
adjust
(
'stack'
)
.
adjust
(
'stack'
)
this
.
myChart3
.
render
();
this
.
myChart3
.
render
();
},
},
...
@@ -455,35 +452,42 @@ export default {
...
@@ -455,35 +452,42 @@ export default {
this
.
set1
=
[
this
.
set1
=
[
{
{
title
:
'感染'
,
title
:
'感染'
,
value
:
res
.
set1
[
0
].
iFever
value
:
res
.
set1
[
0
].
iFever
,
const
:
'const'
},
},
{
{
title
:
'健康'
,
title
:
'健康'
,
value
:
res
.
set1
[
0
].
iHealthy
value
:
res
.
set1
[
0
].
iHealthy
,
const
:
'const'
},
},
{
{
title
:
'其他'
,
title
:
'其他'
,
value
:
res
.
set1
[
0
].
iOther
value
:
res
.
set1
[
0
].
iOther
,
const
:
'const'
}
}
];
];
this
.
set2
=
[
this
.
set2
=
[
{
{
title
:
'接触'
,
title
:
'接触'
,
value
:
res
.
set2
[
0
].
bHaveBeenTrue
value
:
res
.
set2
[
0
].
bHaveBeenTrue
,
const
:
'const'
},
},
{
{
title
:
'未接触'
,
title
:
'未接触'
,
value
:
res
.
set2
[
0
].
bHaveBeenFalse
value
:
res
.
set2
[
0
].
bHaveBeenFalse
,
const
:
'const'
}
}
];
];
this
.
set3
=
[
this
.
set3
=
[
{
{
title
:
'停留'
,
title
:
'停留'
,
value
:
res
.
set3
[
0
].
bTouchTrue
value
:
res
.
set3
[
0
].
bTouchTrue
,
const
:
'const'
},
},
{
{
title
:
'未停留'
,
title
:
'未停留'
,
value
:
res
.
set3
[
0
].
bTouchFalse
value
:
res
.
set3
[
0
].
bTouchFalse
,
const
:
'const'
}
}
];
];
}
}
...
@@ -521,7 +525,7 @@ export default {
...
@@ -521,7 +525,7 @@ export default {
this
.
$router
.
push
({
name
:
'healthCardStatisticsList'
,
params
:{
type
:
type
}});
this
.
$router
.
push
({
name
:
'healthCardStatisticsList'
,
params
:{
type
:
type
}});
},
},
routerToPunchClockDetail
(
item
){
routerToPunchClockDetail
(
item
){
this
.
$router
.
push
({
name
:
'punchClockDetail'
,
params
:{
id
:
'1'
,
address
:
'1'
,
openId
:
this
.
openId
},
query
:{
readOnly
:
true
,
dDate
:
new
Date
(
this
.
hdr
.
dDate
).
getTime
()}})
this
.
$router
.
push
({
name
:
'punchClockDetail'
,
params
:{
id
:
'1'
,
address
:
'1'
,
openId
:
this
.
openId
},
query
:{
readOnly
:
'true'
,
dDate
:
new
Date
(
this
.
hdr
.
dDate
).
getTime
()}})
}
}
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment