diff --git a/src/project/pingchang/AppHealthReport/AppHealthReport.vue b/src/project/pingchang/AppHealthReport/AppHealthReport.vue index 30d7df8..04bd3fe 100644 --- a/src/project/pingchang/AppHealthReport/AppHealthReport.vue +++ b/src/project/pingchang/AppHealthReport/AppHealthReport.vue @@ -13,7 +13,7 @@

{{ item.name }}

- +

查看个人信息>

健康数据异常
diff --git a/src/project/pingchang/AppHealthReport/UserInfo.vue b/src/project/pingchang/AppHealthReport/UserInfo.vue index fc7ff19..a59a03e 100644 --- a/src/project/pingchang/AppHealthReport/UserInfo.vue +++ b/src/project/pingchang/AppHealthReport/UserInfo.vue @@ -7,7 +7,7 @@ 上报人姓名
- {{ info.name }} + {{ name }}
@@ -17,7 +17,7 @@ 身份证号
- {{ info.idNumber }} + {{ idNumber }}
@@ -27,7 +27,7 @@ 手机号码
- {{ info.phone }} + {{ phone }}
@@ -37,7 +37,7 @@ 上报地区
- {{ info.areaName }} + {{ areaName }}
@@ -47,7 +47,7 @@ 详细地址
- {{ info.address }} + {{ address }}
@@ -60,35 +60,27 @@ appName:"个人信息", data () { return { - info: {}, - pageShow: true, + pageShow: false, + name: '', + idNumber: '', + phone: '', + areaName: '', + address: '', } }, onLoad (query) { this.$loading() - this.getInfo(query.id) - }, - - methods: { - getInfo (id) { - this.$instance.post(`/app/appepidemicpreventionhealthreportinfo/list?reportUserId=${id}`).then(res => { - if (res.code == 0) { - this.info = res.data - if (res.data.eventStatus > 1) { - this.result = res.data.processList[0] - } - // this.$nextTick(() => { - // this.pageShow = true - // }) - } - - this.$hideLoading() - }).catch(() => { - this.$hideLoading() - }) + if(query.name) { + this.$hideLoading() + this.name = query.name + this.idNumber = query.idNumber + this.phone = query.phone + this.areaName = query.areaName + this.address = query.address + this.pageShow = true } - } + }, }