Commit e13c793d authored by 张锡奇's avatar 张锡奇

upload

parent db7e9bd7
......@@ -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(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment