diff --git a/src/apps/AppGridManagement/AddFamily.vue b/src/apps/AppGridManagement/AddFamily.vue
index 9d9af419..926c25b3 100644
--- a/src/apps/AppGridManagement/AddFamily.vue
+++ b/src/apps/AppGridManagement/AddFamily.vue
@@ -22,7 +22,7 @@
{{item.name}}
{{item.phone}}
-
{{item.idNumber}}
+ {{item.idNumber && item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")}}
{{item.householdAddress}}
diff --git a/src/apps/AppGridManagement/FamilyList.vue b/src/apps/AppGridManagement/FamilyList.vue
index 5d87b7a5..79c9adaf 100644
--- a/src/apps/AppGridManagement/FamilyList.vue
+++ b/src/apps/AppGridManagement/FamilyList.vue
@@ -14,7 +14,7 @@
{{item.name}}
{{item.phone}}
- {{item.idNumber}}
+ {{item.idNumber && item.idNumber.replace(/(.{6}).*(.{4})/,"$1********$2")}}
{{item.householdAddress}}
@@ -22,7 +22,7 @@
-
+
@@ -32,7 +32,6 @@ export default {
return {
list:[],
current:1,
- checkType: '',
userId: '',
}
},
@@ -47,15 +46,6 @@ export default {
toAddFamily(){
uni.navigateTo({url: `./AddFamily?id=${this.userId}`})
},
- isGirdUser() {
- this.$http.post('/app/appgirdmemberinfo/checkLogOnUser').then((res) => {
- if (res.code == 0) {
- if (res.data.checkType) {
- this.checkType = res.data.checkType
- }
- }
- })
- },
},
onLoad(option) {
this.userId = option.id
@@ -68,7 +58,6 @@ export default {
this.current = 1
this.getList()
})
- this.isGirdUser()
},
onReachBottom() {
this.current = this.current + 1