| | |
| | | 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) |