createName
This commit is contained in:
@@ -8,15 +8,15 @@
|
||||
<p>身份证号:</p>
|
||||
<p class="mar-b8" style="color: #333">{{ userList.idNumber && userList.idNumber.replace(/^(\w{6})\w{8}(.*)$/, '$1******$2') }}</p>
|
||||
<p>异常情况:</p>
|
||||
<div v-if="data.length">
|
||||
<p style="color: #ff4466" v-for="(item, index) in data" :key="index" v-if="item.health != 0">
|
||||
<div v-if="datas.length">
|
||||
<p style="color: #ff4466" v-for="(item, index) in datas" :key="index" v-if="item.health != 0">
|
||||
<span v-for="(items, index) in item.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''">
|
||||
{{ $dict.getLabel('epidemicRecentHealth', items) }}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<!-- <p style="color: #333" v-else>暂无异常情况</p> -->
|
||||
<p style="color: #333" v-else>暂无异常情况</p>
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
@@ -27,12 +27,12 @@
|
||||
<p>{{ item.content }}</p>
|
||||
<div>
|
||||
<span>{{ item.createTime }}</span>
|
||||
<span class="names">网格员: 李依云</span>
|
||||
<span class="names">网格员: {{ item.createUserName }}</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- <AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty> -->
|
||||
</div>
|
||||
|
||||
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -67,6 +67,7 @@ export default {
|
||||
value: '',
|
||||
userList: [],
|
||||
data: [],
|
||||
datas: [],
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -79,6 +80,7 @@ export default {
|
||||
this.id = o.id
|
||||
this.getUser()
|
||||
this.getRecord()
|
||||
this.getErrThing()
|
||||
}
|
||||
})
|
||||
},
|
||||
@@ -103,6 +105,25 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
// 异常情况
|
||||
getErrThing() {
|
||||
this.$loading()
|
||||
this.$http
|
||||
.post(`/app/appepidemichealthreport/list?memberId=${this.id}&status=0`)
|
||||
.then((res) => {
|
||||
if (res?.code == 0) {
|
||||
this.datas = this.current > 1 ? [...this.datas, ...res.data.records] : res.data.records
|
||||
this.$hideLoading()
|
||||
} else {
|
||||
this.$hideLoading()
|
||||
}
|
||||
})
|
||||
.catch(() => {
|
||||
this.$hideLoading()
|
||||
})
|
||||
},
|
||||
|
||||
// 异常情况记录
|
||||
getRecord() {
|
||||
this.$loading()
|
||||
this.$http
|
||||
|
||||
Reference in New Issue
Block a user