From 0b27469212a337c5d7907de287c7b4059a7824cd Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Tue, 19 Dec 2023 15:09:17 +0800
Subject: [PATCH] 标签显示的问题与身份证***数量显示的问题
---
src/views/userHouse/houseHoldList.vue | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
diff --git a/src/views/userHouse/houseHoldList.vue b/src/views/userHouse/houseHoldList.vue
index f92c68d..a84b03c 100644
--- a/src/views/userHouse/houseHoldList.vue
+++ b/src/views/userHouse/houseHoldList.vue
@@ -236,11 +236,6 @@
search: true,
searchSpan: 4,
},
- {
- label: "地址",
- prop: "address",
- display: false
- },
{
label: "地址",
@@ -364,7 +359,7 @@
return row[type]
} else {
if (type == 'idCard') {
- return row[type].replace(/^(.{8})(?:\d+)(.{4})$/, "$1******$2")
+ return row[type].replace(/^(.{6})(?:\d+)(.{4})$/, "$1******$2")
} else {
return row[type].replace(/^(.{3})(?:\d+)(.{4})$/, "$1****$2")
}
@@ -425,6 +420,7 @@
},
manageLabel (item) {
this.currentRow = item
+ this.loading = true
this.labelFlag = true
let params = {
parentId: 1000
@@ -433,11 +429,9 @@
getLabelList(Object.assign(params)).then(res => {
const data = res.data.data
// this.labelData = data;
- this.loading = false
// 查询详情
getDetatils(item.id).then(res => {
this.householdLabelList = res.data.data.householdLabelList
- this.loading = false
// 将细类放到一起
data.forEach(e => {
e.children.forEach(f => {
@@ -452,6 +446,7 @@
})
})
this.labelData = data
+ this.loading = false
})
})
},
--
Gitblit v1.9.3