guanqb
2023-10-14 17881ce1172ce17c32ebd82f58fadd0c98d42643
住宿数据不显示问题
1 files modified
3 ■■■■ changed files
src/views/home/components/leftContainer.vue 3 ●●●● patch | view | raw | blame | history
src/views/home/components/leftContainer.vue
@@ -232,8 +232,7 @@
            getHotelList({ deptId: this.$parent.areaChangeValue, orderName: 'hotel_name', hotelName: this.$parent.zhuSuName, orderRule: 'asc', size: this.$parent.zhuSuPage.pageSize, current: this.$parent.zhuSuPage.currentPage }).then(res => {
                console.log(res.data.data.records, 'getHotelList-1234')
                this.$parent.zhuSuPage.total = res.data.data.total
                //开业在前面排序
                // this.$parent.zhuSuArr = res.data.data.records.sort((x, y) => (x.status > y.status) ? -1 : (x.status < y.status) ? 1 : 0)
                this.$parent.zhuSuArr = res.data.data.records
                setTimeout(() => {
                    this.$parent.zhuSuLoading = false
                }, 500)