From 09935d08460f81c10ad09a73afb450547907b242 Mon Sep 17 00:00:00 2001 From: berlin-tzen Date: Tue, 14 Mar 2023 17:30:49 +0800 Subject: [PATCH] =?UTF-8?q?[WHAT]=20=E6=9B=B4=E6=96=B0=E8=A8=82=E5=96=AEAP?= =?UTF-8?q?I?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 增加關鍵字搜尋參數 --- FrontEnd/components/user/bookingListContent.vue | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/FrontEnd/components/user/bookingListContent.vue b/FrontEnd/components/user/bookingListContent.vue index dd461f7..2929a21 100644 --- a/FrontEnd/components/user/bookingListContent.vue +++ b/FrontEnd/components/user/bookingListContent.vue @@ -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; }