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
e13c793d
Commit
e13c793d
authored
Feb 08, 2020
by
张锡奇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upload
parent
db7e9bd7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
chart.vue
src/view/healthCard/statistics/chart.vue
+15
-3
No files found.
src/view/healthCard/statistics/chart.vue
View file @
e13c793d
...
...
@@ -174,21 +174,30 @@
<div
v-show=
"activeTab == 0"
class=
"activeTab1"
>
<div>
<h3>
1.目前健康状况
</h3>
<div
ref=
"chart1"
>
<div
ref=
"chart1"
v-show=
"set1.length > 0"
>
<canvas
id=
"myChart1"
width=
"400"
height=
"300"
style=
"width:100%;height:300px;"
></canvas>
</div>
<div
class=
"img"
v-if=
"set1.length
<
=
0
"
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
</div>
</div>
<div>
<h3>
2.自2020年1月1日起,是否在湖北停留或路过,或解除过来自湖北的人员饼状图
</h3>
<div
ref=
"chart2"
>
<div
ref=
"chart2"
v-show=
"set2.length > 0"
>
<canvas
id=
"myChart2"
width=
"400"
height=
"300"
style=
"width:100%;height:300px;"
></canvas>
</div>
<div
class=
"img"
v-if=
"set2.length
<
=
0
"
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
</div>
</div>
<div>
<h3>
3.是否接触过疑似或确诊的新型肺炎患者
</h3>
<div
ref=
"chart3"
>
<div
ref=
"chart3"
v-show=
"set3.length > 0"
>
<canvas
id=
"myChart3"
width=
"400"
height=
"300"
style=
"width:100%;height:300px;"
></canvas>
</div>
<div
class=
"img"
v-if=
"set3.length
<
=
0
"
>
<img
src=
"@/assets/noData.jpg"
class=
"_img"
alt=
""
>
</div>
</div>
</div>
<div
v-show=
"activeTab == 1"
class=
"activeTab2"
ref=
"scrollDom"
@
scroll=
"scrollToBottom"
>
...
...
@@ -490,6 +499,9 @@ export default {
const
:
'const'
}
];
this
.
set1
=
this
.
set1
.
filter
(
x
=>
x
.
value
>
0
);
this
.
set2
=
this
.
set2
.
filter
(
x
=>
x
.
value
>
0
);
this
.
set3
=
this
.
set3
.
filter
(
x
=>
x
.
value
>
0
);
}
},
async
getList
(){
...
...
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