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..9cb0dcb 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') }}
+
{{ String(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 } }) diff --git a/project/sanjianxi/AppNeighborLinkage/neighborDetail.vue b/project/sanjianxi/AppNeighborLinkage/neighborDetail.vue index 50e1016..36e3849 100644 --- a/project/sanjianxi/AppNeighborLinkage/neighborDetail.vue +++ b/project/sanjianxi/AppNeighborLinkage/neighborDetail.vue @@ -73,6 +73,8 @@ export default {