| | |
| | | */ |
| | | searchPeopleDetail () { |
| | | this.peoplePage.currentPage = 1 |
| | | this.peopleInfoList = [] |
| | | this.getPersonInfoPage(1) |
| | | }, |
| | | |
| | |
| | | this.peoplePoliceName = '' |
| | | this.peopleCallPhone = '' |
| | | this.peoplePage.currentPage = 1 |
| | | |
| | | this.peopleInfoList = [] |
| | | this.getPersonInfoPage(1) |
| | | }, |
| | | /** |
| | |
| | | */ |
| | | handlePeopleCurrentChange (currentPage) { |
| | | this.peoplePage.currentPage = currentPage |
| | | this.peopleInfoList = [] |
| | | this.getPersonInfoPage(1) |
| | | }, |
| | | |
| | |
| | | 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 = [] |
| | |
| | | showpeopledetail (id, name) { |
| | | this.peopleTitle = name |
| | | this.peopleSearchQuery.id = id |
| | | this.getPersonInfoPage(1) |
| | | this.peopleVisible = true |
| | | this.peopleInfoList = [] |
| | | this.getPersonInfoPage(1) |
| | | } |
| | | }, |
| | | } |