1
guanqb
2023-04-04 2f397b19fda815986df69bc04685126005364767
1
1 files modified
12 ■■■■■ changed files
src/views/home/components/dialog/areaDetailsBox.vue 12 ●●●●● patch | view | raw | blame | history
src/views/home/components/dialog/areaDetailsBox.vue
@@ -98,6 +98,7 @@
         */
        searchPeopleDetail () {
            this.peoplePage.currentPage = 1
            this.peopleInfoList = []
            this.getPersonInfoPage(1)
        },
@@ -109,7 +110,7 @@
            this.peoplePoliceName = ''
            this.peopleCallPhone = ''
            this.peoplePage.currentPage = 1
            this.peopleInfoList = []
            this.getPersonInfoPage(1)
        },
        /**
@@ -119,6 +120,7 @@
         */
        handlePeopleCurrentChange (currentPage) {
            this.peoplePage.currentPage = currentPage
            this.peopleInfoList = []
            this.getPersonInfoPage(1)
        },
@@ -139,12 +141,13 @@
                current: this.peoplePage.currentPage,
                size: this.peoplePage.pageSize
            }).then(res => {
                this.peopleInfoList = []
                this.peoplePage.total = 0
                if (res.data.data.records.length > 0) {
                    this.peoplePage.total = res.data.data.total
                    this.peopleInfoList = res.data.data.records
                    setTimeout(() => {
                        this.peopleInfoList = res.data.data.records
                    }, 200)
                } else {
                    this.peopleInfoList = []
@@ -161,8 +164,9 @@
        showpeopledetail (id, name) {
            this.peopleTitle = name
            this.peopleSearchQuery.id = id
            this.getPersonInfoPage(1)
            this.peopleVisible = true
            this.peopleInfoList = []
            this.getPersonInfoPage(1)
        }
    },
}