Merge branch 'master' of http://139.196.74.78:10010/r/srs-police-affairs
| | |
| | | */ |
| | | export const getHouseholdSelectTenantList = (params) => { |
| | | return request({ |
| | | url: "/api/blade-houseRental/houseRental/page", |
| | | method: "get", |
| | | meta: { |
| | | isToken: true, |
| | | }, |
| | | params: params, |
| | | }) |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 获得租客列表 |
| | | * @param {*} params |
| | | * @returns |
| | | */ |
| | | export const selectTenantPage = (params) => { |
| | | return request({ |
| | | url: "/api/blade-household/household/selectTenantPage", |
| | | method: "get", |
| | | meta: { |
| | |
| | | |
| | | <script> |
| | | import { initMapPosition } from '@/utils/mapPositionInit' |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode, selectTenantStatistic } from "@/api/rentalInfo/index.js" |
| | | import { getTaskResidencePermitApplyList, getHouseRentalList, getHouseholdSelectTenantList, getDictionaryListByCode, selectTenantStatistic,selectTenantPage } from "@/api/rentalInfo/index.js" |
| | | import detailDialog from './components/detailDialog.vue' |
| | | |
| | | let loading = null |
| | |
| | | } else if (this.chooseTab == '出租屋管理') { |
| | | title = '出租屋详情' |
| | | tabList = ['出租屋信息', '租户列表'] |
| | | const { data } = await getHouseholdSelectTenantList({ housingRentalId: row.id }) |
| | | const { data } = await selectTenantPage({ housingRentalId: row.id }) |
| | | tableData = data.data.records |
| | | detailList = [ |
| | | { |
| | |
| | | |
| | | // 获得租客列表 |
| | | getHouseholdSelectTenantList () { |
| | | getHouseholdSelectTenantList({ current: this.pages.currentPage, size: this.pages.pageSize, relationship: 18, checkFlag: this.keyManFlag, searchKey: this.keyword }).then(res => { |
| | | selectTenantPage({ 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() |