|
|
@ -10,7 +10,7 @@ class Reservation {
|
|
|
|
this.root = root;
|
|
|
|
this.root = root;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
fetchReservationList(current) {
|
|
|
|
fetchReservationList(current, status=null) {
|
|
|
|
const fromDate = this.arrivalDateRange.length == 0 ? null : this.arrivalDateRange[0].format('YYYY-MM-DD');
|
|
|
|
const fromDate = this.arrivalDateRange.length == 0 ? null : this.arrivalDateRange[0].format('YYYY-MM-DD');
|
|
|
|
const thruDate = this.arrivalDateRange.length == 0 ? null : this.arrivalDateRange[1].format('YYYY-MM-DD');
|
|
|
|
const thruDate = this.arrivalDateRange.length == 0 ? null : this.arrivalDateRange[1].format('YYYY-MM-DD');
|
|
|
|
this.reservationPage.current = current;
|
|
|
|
this.reservationPage.current = current;
|
|
|
@ -21,6 +21,7 @@ class Reservation {
|
|
|
|
.append('GroupNo', this.referenceNo)
|
|
|
|
.append('GroupNo', this.referenceNo)
|
|
|
|
.append('DateStart', fromDate)
|
|
|
|
.append('DateStart', fromDate)
|
|
|
|
.append('DateEnd', thruDate)
|
|
|
|
.append('DateEnd', thruDate)
|
|
|
|
|
|
|
|
.append('NotConfirm', status)
|
|
|
|
.append('TotalNum', totalNum)
|
|
|
|
.append('TotalNum', totalNum)
|
|
|
|
.append('PageSize', this.reservationPage.size)
|
|
|
|
.append('PageSize', this.reservationPage.size)
|
|
|
|
.append('PageIndex', this.reservationPage.current)
|
|
|
|
.append('PageIndex', this.reservationPage.current)
|
|
|
|