shuishen
2023-12-19 0b27469212a337c5d7907de287c7b4059a7824cd
标签显示的问题与身份证***数量显示的问题
1 files modified
11 ■■■■ changed files
src/views/userHouse/houseHoldList.vue 11 ●●●● patch | view | raw | blame | history
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
                })
            })
        },