|
|
@ -113,6 +113,7 @@ export default { |
|
|
|
subCategoryIDs: [], |
|
|
|
uploadBookingID: "", |
|
|
|
categoryList: [], |
|
|
|
query: "", |
|
|
|
|
|
|
|
}; |
|
|
|
}, |
|
|
@ -157,7 +158,6 @@ export default { |
|
|
|
this.bookingStatus = []; |
|
|
|
} else if (this.currentType == "訂單確認中") { |
|
|
|
this.bookingStatus = ["01"]; |
|
|
|
console.log("Unpaid"); |
|
|
|
} else if (this.currentType == "訂單處理中") { |
|
|
|
this.bookingStatus = ["02"]; |
|
|
|
} else if (this.currentType == "訂單完成") { |
|
|
@ -204,8 +204,6 @@ export default { |
|
|
|
|
|
|
|
async getBookingList() { |
|
|
|
|
|
|
|
console.log("getBookingList"); |
|
|
|
|
|
|
|
await this.$axios |
|
|
|
|
|
|
|
.get(`/trending/api/BookingOnline/BookingCardList?` + |
|
|
@ -214,6 +212,7 @@ export default { |
|
|
|
`&SubCategoryIDs=${JSON.stringify(this.subCategoryIDs)}` + |
|
|
|
`&BookingStatuses=${JSON.stringify(this.bookingStatus)}` + |
|
|
|
`&PaymentStatuses` + |
|
|
|
`&Query=${this.query}` + |
|
|
|
`&Lang=${this.$i18n.localeProperties["langQuery"]}`) |
|
|
|
|
|
|
|
.then((response) => { |
|
|
@ -221,10 +220,6 @@ export default { |
|
|
|
let data = response.data.DATA.rel; |
|
|
|
|
|
|
|
if (data.DataList) { |
|
|
|
|
|
|
|
// console.table(data.DataList); |
|
|
|
console.log(data.DataList); |
|
|
|
|
|
|
|
this.total = data.Total; |
|
|
|
this.bookingList = data.DataList; |
|
|
|
} |
|
|
|