From 173a7c55b948412a6ef3d0375f4e4aa0e2fe93fe Mon Sep 17 00:00:00 2001 From: shijingjing <1789544664@qq.com> Date: Fri, 14 Jan 2022 15:37:29 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=BA=AB=E4=BB=BD=E8=AF=81?= =?UTF-8?q?=E9=9A=90=E8=97=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/apps/AppGridManagement/AddFamily.vue | 2 +- src/apps/AppGridManagement/FamilyList.vue | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) 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