guanqb
2023-10-25 29beb484de94022d286de6df86739c55400c266c
入住弹窗修改
1 files modified
22 ■■■■ changed files
src/views/home/index.vue 22 ●●●● patch | view | raw | blame | history
src/views/home/index.vue
@@ -595,18 +595,18 @@
            <el-table :data="zhuHuInfoArr" style="width: 100%"
                :header-cell-style="{ 'text-align': 'center', 'background-color': '#203c60', 'borderColor': '#324e75' }"
                :cell-style="{ 'text-align': 'center', 'borderColor': '#324e75', 'cursor': 'default' }">
                <el-table-column :show-overflow-tooltip="true" prop="xm" label="姓名"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="xbdm_dic" label="性别"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="xm" label="姓名" width="100"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="xbdm_dic" label="性别" width="60"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="zjhm" label="身份证号"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="lxdh" label="联系电话" width="130"></el-table-column>
                <el-table-column label="旅客地址" align="center">
                <el-table-column :show-overflow-tooltip="true" label="旅客地址" align="center" width="240">
                    <template slot-scope="scope">
                        <div>{{ scope.row.dzmc == null ? '' : scope.row.dzmc }}</div>
                    </template>
                </el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="rz_fjh" label="入住房间号"></el-table-column>
                <el-table-column :show-overflow-tooltip="true" prop="rz_rqsj" label="入住时间"></el-table-column>
                <el-table-column label="住宿天数" align="center">
                <el-table-column :show-overflow-tooltip="true" label="住宿天数" align="center">
                    <template slot-scope="scope">
                        <div>{{ scope.row.zhus_ts01 == null ? '' : scope.row.zhus_ts01 }}</div>
                    </template>
@@ -1259,16 +1259,20 @@
        zhuHuInfoClick (row) {
            this.zhuHuInfoPopupShow = true
            this.zhuHuInfoPopupTitle = row.hotelName + '入住信息'
            this.zhuHuInfoPage.currentPage = 1
            this.chooseZhuHuInfoCode = row.hotelCode
            getCheckInInfo({ lddm: this.chooseZhuHuInfoCode }).then(res => {
                this.zhuHuInfoArr = res.data.data.records
                this.zhuHuInfoPage.total = res.data.data.total
            })
        },
        // 实有楼栋---酒店--住户信息弹窗搜索
        searchZhuHuInfoDetail () {
            this.zhuHuInfoPage.currentPage = 1
            getCheckInInfo({ lddm: this.chooseZhuHuInfoCode, xm: this.zhuHuInfoName, zjhm: this.zhuHuInfoID, startTime: this.zhuHuInfoDate[0], endTime: this.zhuHuInfoDate[1] }).then(res => {
                this.zhuHuInfoArr = res.data.data.records
                this.zhuHuInfoPage.total = res.data.data.total
            })
        },
@@ -1277,8 +1281,10 @@
            this.zhuHuInfoName = ''
            this.zhuHuInfoID = ''
            this.zhuHuInfoDate = ''
            this.zhuHuInfoPage.currentPage = 1
            getCheckInInfo({ lddm: this.chooseZhuHuInfoCode, xm: this.zhuHuInfoName, zjhm: this.zhuHuInfoID, startTime: this.zhuHuInfoDate[0], endTime: this.zhuHuInfoDate[1] }).then(res => {
                this.zhuHuInfoArr = res.data.data.records
                this.zhuHuInfoPage.total = res.data.data.total
            })
        },
@@ -1290,6 +1296,14 @@
            this.zhuHuInfoDate = ''
        },
        // 实有楼栋---酒店--住户信息弹窗分页事件
        handleZhuHuInfoPageChange (currentPage) {
            this.zhuHuInfoPage.currentPage = currentPage
            getCheckInInfo({ current: currentPage, lddm: this.chooseZhuHuInfoCode, xm: this.zhuHuInfoName, zjhm: this.zhuHuInfoID, startTime: this.zhuHuInfoDate[0], endTime: this.zhuHuInfoDate[1] }).then(res => {
                this.zhuHuInfoArr = res.data.data.records
                this.zhuHuInfoPage.total = res.data.data.total
            })
        },
        // 实有楼栋分页事件
        handleSyldPageChange (current) {