From f3ce80b49e6485ec2d2bda7ad632872aa1092721 Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Wed, 20 Apr 2022 10:00:05 +0800 Subject: [PATCH] bug --- .../sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue | 1 - project/sanjianxi/AppNeighborLinkage/memberInfo.vue | 9 +++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue b/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue index 75e930a..580a0a3 100644 --- a/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue +++ b/project/sanjianxi/AppNeighborLinkage/AppNeighborLinkage.vue @@ -72,7 +72,6 @@ export default { this.getList() }) this.getList() - this.getUserInfo() }, methods: { search(e) { diff --git a/project/sanjianxi/AppNeighborLinkage/memberInfo.vue b/project/sanjianxi/AppNeighborLinkage/memberInfo.vue index 2a39c05..77058bf 100644 --- a/project/sanjianxi/AppNeighborLinkage/memberInfo.vue +++ b/project/sanjianxi/AppNeighborLinkage/memberInfo.vue @@ -7,7 +7,7 @@
{{ data.name }}
-
{{ data.idNumber.replace(/(.{6}).*(.{4})/, '$1********$2') }}
+
{{ data.householdIdNumber.replace(/(.{6}).*(.{4})/, '$1********$2') }}
{{ $dict.getLabel('householdRelation',data.householdRelation) }} @@ -84,10 +84,14 @@ export default { data: {}, } }, + + onShow() { + this.getUserInfo() + }, + onLoad(o) { this.$dict.load('sex','householdRelation','nation','education','maritalStatus','politicsStatus','faithType','job') this.id = o.id - this.getUserInfo() }, methods: { getUserInfo() { @@ -97,6 +101,7 @@ export default { } }).then(res => { if(res.code ==0) { + console.log(res); this.data = res.data.resident } })