个人信息

This commit is contained in:
shijingjing
2022-10-11 11:52:09 +08:00
parent 99145dfe29
commit 758899d5d2
2 changed files with 21 additions and 29 deletions

View File

@@ -7,7 +7,7 @@
<span>上报人姓名</span>
</div>
<div class="right">
<span>{{ info.name }}</span>
<span>{{ name }}</span>
</div>
</div>
</div>
@@ -17,7 +17,7 @@
<span>身份证号</span>
</div>
<div class="right">
<span>{{ info.idNumber }}</span>
<span>{{ idNumber }}</span>
</div>
</div>
</div>
@@ -27,7 +27,7 @@
<span>手机号码</span>
</div>
<div class="right">
<span>{{ info.phone }}</span>
<span>{{ phone }}</span>
</div>
</div>
</div>
@@ -37,7 +37,7 @@
<span>上报地区</span>
</div>
<div class="right">
<span>{{ info.areaName }}</span>
<span>{{ areaName }}</span>
</div>
</div>
</div>
@@ -47,7 +47,7 @@
<span>详细地址</span>
</div>
<div class="right">
<span>{{ info.address }}</span>
<span>{{ address }}</span>
</div>
</div>
</div>
@@ -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
}
}
},
}
</script>