| | |
| | | </div> |
| | | <div class="list-container"> |
| | | <div class="time-select"> |
| | | <div class="search-item-box" style="justify-content: flex-start;"> |
| | | <div class="search-item-box" v-if="chooseTab != '出租屋管理'"> |
| | | <span>关键字:</span> |
| | | |
| | | <el-input style="flex: 1;" size="small" placeholder="请输入(姓名或联系电话)" v-model="keyword" |
| | | @change="searchChange" clearable></el-input> |
| | | </div> |
| | | |
| | | <div class="search-item-box" v-if="chooseTab == '出租屋管理'"> |
| | | <span>用途:</span> |
| | | |
| | | <el-select v-model="rentalUseType" clearable placeholder="请选择用途" @change="changeSelect"> |
| | | <el-option v-for="item in rentalUseTypeList" :key="item.dictKey" :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="search-item-box" v-if="chooseTab == '出租屋管理'"> |
| | | <span>租赁期限:</span> |
| | | |
| | | <el-select v-model="dldType" clearable placeholder="请选择租赁期限" @change="changeSelect"> |
| | | <el-option v-for="item in dldTypeList" :key="item.dictKey" :label="item.dictValue" |
| | | :value="item.dictKey"> |
| | | </el-option> |
| | | </el-select> |
| | | </div> |
| | | |
| | | <div class="search-item-box" style="justify-content: center;" v-if="chooseTab != '出租屋管理'"> |
| | | <el-button @click="searchBtn" icon="el-icon-search" class="bjnr-btn">搜索</el-button> |
| | | <el-button @click="resetSearch" icon="el-icon-delete" class="bjnr-btn">清除</el-button> |
| | | </div> |
| | | <div class="search-item-box" style="justify-content: flex-start;" v-if="chooseTab == '租客管理'"> |
| | | <el-button @click="filterBtn" icon="el-icon-s-check" class="bjnr-btn" |
| | | :class="{ isOneClick: keyManFlag == 3 }">重点人员</el-button> |
| | | </div> |
| | |
| | | |
| | | pages: { |
| | | total: 0, |
| | | pageSize: 25, |
| | | pageSize: 22, |
| | | count: 0, |
| | | currentPage: 1 |
| | | }, |
| | | rentalUseTypeList: [], |
| | | rentalUseType: '', |
| | | dldType: '', |
| | | dldTypeList: [ |
| | | { |
| | | dictKey: 1, |
| | | dictValue: '长期' |
| | | }, |
| | | { |
| | | dictKey: 2, |
| | | dictValue: '中期' |
| | | }, |
| | | { |
| | | dictKey: 3, |
| | | dictValue: '短期' |
| | | } |
| | | ], |
| | | nationTypeList: [], |
| | | keyManFlag: '' |
| | | keyManFlag: '', |
| | | keyword: '', |
| | | } |
| | | }, |
| | | |
| | |
| | | }, |
| | | |
| | | methods: { |
| | | // 下拉值发生改变 |
| | | changeSelect () { |
| | | this.pages.current = 1 |
| | | this.initTableList() |
| | | }, |
| | | |
| | | // 点击搜索 |
| | | searchBtn () { |
| | | this.pages.current = 1 |
| | | this.initTableList() |
| | | }, |
| | | |
| | | // 重置搜索 |
| | | resetSearch () { |
| | | this.pages.current = 1 |
| | | this.keyword = '' |
| | | this.initTableList() |
| | | }, |
| | | |
| | | // 重点人员筛选 |
| | | filterBtn () { |
| | | if (this.keyManFlag == 3) { |
| | |
| | | |
| | | // 获得居住证申请记录列表 |
| | | getTaskResidencePermitApplyList () { |
| | | getTaskResidencePermitApplyList({ reportType: 2, current: this.pages.currentPage, size: this.pages.pageSize, checkFlag: this.keyManFlag }).then(res => { |
| | | console.log('getTaskResidencePermitApplyList', res.data.data.records) |
| | | getTaskResidencePermitApplyList({ reportType: 2, current: this.pages.currentPage, size: this.pages.pageSize, searchKey: this.keyword }).then(res => { |
| | | this.tableData = res.data.data.records |
| | | this.pages.total = res.data.data.total |
| | | loading && loading.close() |
| | |
| | | |
| | | // 获得出租屋列表 |
| | | getHouseRentalList () { |
| | | getHouseRentalList({ current: this.pages.currentPage, size: this.pages.pageSize, checkFlag: this.keyManFlag }).then(res => { |
| | | console.log('getHouseRentalList', res.data.data.records) |
| | | getHouseRentalList({ current: this.pages.currentPage, size: this.pages.pageSize, dldType: this.dldType, rentalUse: this.rentalUseType }).then(res => { |
| | | this.tableData = res.data.data.records |
| | | this.pages.total = res.data.data.total |
| | | loading && loading.close() |
| | |
| | | |
| | | // 获得租客列表 |
| | | getHouseholdSelectTenantList () { |
| | | getHouseholdSelectTenantList({ current: this.pages.currentPage, size: this.pages.pageSize, relationship: 18, checkFlag: this.keyManFlag }).then(res => { |
| | | console.log('getHouseholdSelectTenantList', res.data.data.records) |
| | | getHouseholdSelectTenantList({ current: this.pages.currentPage, size: this.pages.pageSize, relationship: 18, checkFlag: this.keyManFlag, searchKey: this.keyword }).then(res => { |
| | | this.tableData = res.data.data.records |
| | | this.pages.total = res.data.data.total |
| | | loading && loading.close() |