This commit is contained in:
shijingjing
2022-09-26 09:34:06 +08:00
parent 6bc0e587b4
commit c842a60f45
2 changed files with 24 additions and 3 deletions

View File

@@ -65,7 +65,10 @@
<label>出行方式</label>
</div>
<div class="right">
<span>{{ $dict.getLabel('epidemicRecentTravel', info.travelType) }}</span>
<span v-for="(item, index) in info.travelType.split(',')" :key="index">
{{ $dict.getLabel('epidemicRecentTravel', item) }}
<span v-show="index < info.travelType.split(',').length - 1"></span>
</span>
</div>
</div>
<div class="detail-info__item">
@@ -187,6 +190,7 @@ export default {
return {
info: {},
// pageShow: false
data: []
}
},
@@ -209,6 +213,7 @@ export default {
this.$instance.post(`/app/appepidemicpreventionregisterinfo/queryDetailById?id=${id}`).then(res => {
if (res?.data) {
this.info = res.data
// this.data = this.info.travelType.split(',')
}
this.$hideLoading()