guanqb
2023-09-07 597bbf475575fe54a03d819f2148ccea6f4c2680
社区人口详情列表弹窗参数调整
1 files modified
41 ■■■■■ changed files
src/views/house/index.vue 41 ●●●●● patch | view | raw | blame | history
src/views/house/index.vue
@@ -1710,6 +1710,7 @@
            }, 200)
            this.isShowFloorCount = true
            // 获取户籍人口重点人口数据
            console.log(item, 'item-------------')
            this.choosedBuildUid = item.build_uid
            this.choosedBuildStdId = item.build_std_addr_id
            // 重点人口户籍人口
@@ -1894,15 +1895,17 @@
            this.keyPersonVisible = true
            this.keyPeopleType = status
            this.peoplePage.currentPage = 1
            this.keyPersonTitle = status == 1 ? "户籍人口详情" : status == 2 ? "实有人口详情" : "重点人口详情"
            this.keyPersonTitle = status == 1 ? "户籍人口详情" : status == 2 ? "实有人口详情" : status == 3 ? "实有人口详情" : "未成年详情"
            this.peopleNoDataText = ' '
            this.keyPeopleLoading = true
            this.personDetailArr = []
            this.getVillagePersonInfo(
                "",
                this.choosedBuildUid,
                {type: status}
                // this.choosedBuildUid,//之前无法获取人口数据
                this.choosedBuildStdId,
                { type: status },
                this.peoplePage.currentPage,
            )
        },
@@ -2112,16 +2115,10 @@
            this.keyPeopleLoading = true
            this.peoplePage.currentPage = currentPage
            this.personDetailArr = []
            let typeObj = {}
            if (this.keyPeopleType == 1 || this.keyPeopleType == 2) {
                typeObj = { peopletype: this.keyPeopleType }
            } else {
                typeObj = { status: 2 }
            }
            this.getVillagePersonInfo(
                "",
                this.choosedBuildUid,
                typeObj,
                this.choosedBuildStdId,
                { type: this.keyPeopleType },
                currentPage
            )
        },
@@ -2255,16 +2252,10 @@
            this.peopleName = ""
            this.peoplePage.currentPage = 1
            this.personDetailArr = []
            let typeObj = {}
            if (this.keyPeopleType == 1 || this.keyPeopleType == 2) {
                typeObj = { peopletype: this.keyPeopleType }
            } else {
                typeObj = { status: 2 }
            }
            this.getVillagePersonInfo(
                "",
                this.choosedBuildUid,
                typeObj,
                this.choosedBuildStdId,
                { type: this.keyPeopleType },
                this.peoplePage.currentPage
            )
        },
@@ -2274,16 +2265,10 @@
            this.keyPeopleLoading = true
            this.peoplePage.currentPage = 1
            this.personDetailArr = []
            let typeObj = {}
            if (this.keyPeopleType == 1 || this.keyPeopleType == 2) {
                typeObj = { peopletype: this.keyPeopleType }
            } else {
                typeObj = { status: 2 }
            }
            this.getVillagePersonInfo(
                "",
                this.choosedBuildUid,
                typeObj,
                this.choosedBuildStdId,
                { type: this.keyPeopleType },
                this.peoplePage.currentPage,
                this.peopleName,
                this.callPhone