bug
This commit is contained in:
@@ -9,22 +9,26 @@
|
||||
<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.status == '0'">{{ $dict.getLabel('epidemicRecentHealth', item) }}</p>
|
||||
<p style="color: #ff4466" v-for="(item, index) in data" :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">暂无异常情况</p>
|
||||
<!-- <p style="color: #333" v-else>暂无异常情况</p> -->
|
||||
</div>
|
||||
|
||||
<div class="info">
|
||||
<div class="title">异常情况记录</div>
|
||||
<div class="error-list">
|
||||
<div v-if="data.length">
|
||||
<div class="item" v-for="(item, i) in data" :key="i" v-if="item.status == '0' && data.length">
|
||||
<div class="item" v-for="(item, i) in data" :key="i">
|
||||
<p>{{ item.content }}</p>
|
||||
<div>{{ item.checkTime }}<span>网格员: 李依云</span></div>
|
||||
</div>
|
||||
|
||||
<AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty>
|
||||
<!-- <AiEmpty description="暂无数据" class="emptyWrap" v-else></AiEmpty> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -99,7 +103,7 @@ export default {
|
||||
getRecord() {
|
||||
this.$loading()
|
||||
this.$http
|
||||
.post(`/app/appepidemichealthreport/list?memberId=${this.id}`)
|
||||
.post(`/app/appepidemichealthreport/list?recordId=${this.id}`)
|
||||
.then((res) => {
|
||||
if (res?.code == 0) {
|
||||
this.data = this.current > 1 ? [...this.data, ...res.data.records] : res.data.records
|
||||
|
||||
Reference in New Issue
Block a user