diff --git a/src/apps/AppEpidemicSituation/UserInfo.vue b/src/apps/AppEpidemicSituation/UserInfo.vue index e22aadf7..5aff6e0a 100644 --- a/src/apps/AppEpidemicSituation/UserInfo.vue +++ b/src/apps/AppEpidemicSituation/UserInfo.vue @@ -5,7 +5,7 @@

{{info.name}}的返乡登记信息

{{info.arriveAreaName}}

{{info.startAreaName}}

-

{{info.checkTime}}

+

{{info.createTime}}

@@ -38,7 +38,7 @@
出发时间
-
{{info.startTime}}
+
{{info.startTime.substring(0, 10)}}
出发地区
@@ -50,7 +50,7 @@
到达时间
-
{{info.arriveTime}}
+
{{info.arriveTime.substring(0, 10)}}
返乡地区
@@ -133,6 +133,9 @@ export default { getDetail() { this.$http.post(`/app/appepidemicbackhomerecord/queryDetailById?id=${this.id}`).then((res) => { if (res.code == 0) { + if(res.data.checkTime) { + res.data.checkTime = res.data.checkTime.substring(0, 10) + } this.info = res.data this.info.checkPhoto = JSON.parse(this.info.checkPhoto) this.info.health = this.info.health.split(',')