| | |
| | | </div> |
| | | <div class="search-item-box" style="justify-content: flex-start;" v-if="chooseTab == '租客管理'"> |
| | | <el-button @click="filterBtn" class="bjnr-btn" |
| | | :class="{ isOneClick: keyManFlag == 3 }">重点人员({{zdryNum}})</el-button> |
| | | :class="{ isOneClick: keyManFlag == 3 }">重点人员({{ zdryNum }})</el-button> |
| | | </div> |
| | | </div> |
| | | <div class="list police-info" ref="tableBox"> |
| | |
| | | |
| | | <script> |
| | | import { initMapPosition } from '@/utils/mapPositionInit' |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode,selectTenantStatistic } from "@/api/rentalInfo/index.js" |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode, selectTenantStatistic } from "@/api/rentalInfo/index.js" |
| | | import detailDialog from './components/detailDialog.vue' |
| | | |
| | | let loading = null |
| | |
| | | |
| | | data () { |
| | | return { |
| | | zdryNum:0, |
| | | zdryNum: 0, |
| | | boxShow: false, |
| | | tabList: ['居住证申请', '出租屋管理', '租客管理'], |
| | | chooseTab: '居住证申请', |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | selectTenantStatistic(){ |
| | | var that = this; |
| | | selectTenantStatistic () { |
| | | var that = this |
| | | selectTenantStatistic({ |
| | | keyword:this.keyword |
| | | }).then(res=>{ |
| | | that.zdryNum = res.data.data.count; |
| | | keyword: this.keyword |
| | | }).then(res => { |
| | | that.zdryNum = res.data.data.count |
| | | }) |
| | | }, |
| | | // 下拉值发生改变 |
| | | changeSelect () { |
| | | this.pages.current = 1 |
| | | this.pages.currentPage = 1 |
| | | this.initTableList() |
| | | }, |
| | | |
| | | // 点击搜索 |
| | | searchBtn () { |
| | | this.pages.current = 1 |
| | | this.pages.currentPage = 1 |
| | | this.initTableList() |
| | | }, |
| | | |
| | | // 重置搜索 |
| | | resetSearch () { |
| | | this.pages.current = 1 |
| | | this.pages.currentPage = 1 |
| | | this.keyword = '' |
| | | this.keyManFlag = '' |
| | | this.initTableList() |
| | |
| | | |
| | | // 分页处理 |
| | | handleCurrentChange (current) { |
| | | this.pages.current = current |
| | | this.pages.currentPage = current |
| | | this.initTableList() |
| | | }, |
| | | |