社区管理,核酸采样

This commit is contained in:
liuye
2022-09-26 15:56:02 +08:00
parent 5df2e8a40d
commit c529d917b4
9 changed files with 170 additions and 116 deletions

View File

@@ -32,15 +32,15 @@
{{item.name}}
<span class="type">{{$dict.getLabel('EP_registerInfoType', item.infoType)}}</span>
</div>
<div class="status" :class="'status'+item.queryType">
<div class="status" :class="item.nucleicAcidSamplingCount >0 ? 'status1' : 'status0'">
<span class="cir"></span>
<span v-if="item.queryType == 1">核酸采样{{item.nucleicAcidSamplingCount}}</span>
<span v-if="item.nucleicAcidSamplingCount >0">核酸采样{{item.nucleicAcidSamplingCount}}</span>
<span v-else>核酸未采样</span>
</div>
</div>
<p> {{item.idNumberText}}</p>
<p> {{item.phone}}</p>
<div class="btn" v-if="item.status != 2" @click="toEdit(item.id)">排查</div>
<div class="btn" v-if="item.status != 2" @click.stop="toEdit(item.id)">排查</div>
<img src="./components/img/status-img.png" alt="" class="status-img" v-else>
</div>
<div class="bottom">
@@ -113,7 +113,7 @@ export default {
this.getList()
},
getList() {
this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, {
this.$http.post('/app/appepidemicpreventioncommunitymanagement/list', null, {
params: { size: 10, current: this.current, status: this.currentTabs, areaId: this.areaId, name: this.keyword, infoType: this.infoType },
}).then((res) => {
if (res.code == 0) {