shuishen
2024-12-26 c5d9ff804d35a24839635cd67a5bc4bfaf6f0fd9
Merge branch 'master' of http://139.196.74.78:10010/r/srs-police-affairs
2 files modified
24 ■■■■ changed files
src/api/rentalInfo/index.js 18 ●●●●● patch | view | raw | blame | history
src/views/rentalInfo/index.vue 6 ●●●● patch | view | raw | blame | history
src/api/rentalInfo/index.js
@@ -56,6 +56,24 @@
 */
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: {
src/views/rentalInfo/index.vue
@@ -105,7 +105,7 @@
<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
@@ -330,7 +330,7 @@
            } 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 = [
                    {
@@ -455,7 +455,7 @@
        // 获得租客列表
        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()