异常情况
This commit is contained in:
@@ -96,11 +96,14 @@
|
||||
</div>
|
||||
<div class="item-flex">
|
||||
<div class="label">当前健康状况</div>
|
||||
<div class="value" :style=" info.health != 0 ? 'color:#FF4466;' : ''">{{$dict.getLabel('epidemicRecentHealth', info.health)}}</div>
|
||||
<div class="value" >
|
||||
<span v-for="(item, index) in info.health" :key="index" :style="item != 0 ? 'color:#FF4466;' : ''">{{$dict.getLabel('epidemicRecentHealth', item)}}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="line-bg" style="padding-bottom: 56px;"></div>
|
||||
<div class="footer" v-if="info.status != 1" @click="toError">异常情况处理</div>
|
||||
<div class="footer" @click="toError">异常情况处理</div>
|
||||
<!-- v-if="info.status != 1" -->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -123,6 +126,9 @@ export default {
|
||||
this.id = option.id
|
||||
this.getDetail()
|
||||
})
|
||||
uni.$on('updateDetail', () => {
|
||||
this.getDetail()
|
||||
})
|
||||
},
|
||||
methods: {
|
||||
getDetail() {
|
||||
@@ -130,6 +136,7 @@ export default {
|
||||
if (res.code == 0) {
|
||||
this.info = res.data
|
||||
this.info.checkPhoto = JSON.parse(this.info.checkPhoto)
|
||||
this.info.health = this.info.health.split(',')
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user