diff --git a/src/mods/conv/AppHealthReport/Detail.vue b/src/mods/conv/AppHealthReport/Detail.vue index fe26297..5b510b1 100644 --- a/src/mods/conv/AppHealthReport/Detail.vue +++ b/src/mods/conv/AppHealthReport/Detail.vue @@ -3,7 +3,7 @@

张三返乡人员

-

拨打电话

+

拨打电话

身份证号: @@ -59,17 +59,16 @@ data () { return { info: {}, - pageShow: false, checked: true, } }, - // onLoad (query) { - // this.$loading() - // this.$dict.load(['epidemicTouchInFourteen', 'epidemicRecentHealth', 'epidemicRecentTestResult', 'epidemicHealthCode', 'epidemicVaccineTime']).then(() => { - // this.getInfo(query.id) - // }) - // }, + onLoad (query) { + this.$dict.load(['epidemicTouchInFourteen', 'epidemicRecentHealth', 'epidemicRecentTestResult', 'epidemicHealthCode', 'epidemicVaccineTime']).then(() => { + this.getInfo(query.id) + }) + this.getInfo(query.id) + }, methods: { preview (url) { @@ -84,6 +83,12 @@ this.checked = !this.checked }, + call(phone) { + uni.makePhoneCall({ + phoneNumber: phone + }) + }, + getInfo (id) { this.$instance.post(`/app/appepidemichealthreport/queryDetailById?id=${id}`).then(res => { if (res.code === 0) { @@ -98,13 +103,7 @@ healthName = healthName + this.$dict.getLabel('epidemicRecentHealth', v) }) this.info.healthName = healthName - - this.$nextTick(() => { - this.pageShow = true - }) } - - this.$hideLoading() }) }, diff --git a/src/mods/conv/AppReturnHomeRegister/Detail.vue b/src/mods/conv/AppReturnHomeRegister/Detail.vue index 4d88425..6492db2 100644 --- a/src/mods/conv/AppReturnHomeRegister/Detail.vue +++ b/src/mods/conv/AppReturnHomeRegister/Detail.vue @@ -3,16 +3,16 @@
-

张三

-
拨打电话
+

{{ info.name }}

+
拨打电话
身份证号: - 220102200303078610 + {{ info.idNumber }}
手机号码: - 13827263092 + {{ info.phone }}
@@ -80,7 +80,7 @@
- {{ info.startAddress }} + {{ info.arriveAreaName }}
@@ -89,7 +89,7 @@
- {{ info.startAddress }} + {{ info.startAreaName }}