2 Incheckningar 90acb388f4 ... 451d5fec41

Upphovsman SHA1 Meddelande Datum
  LiChengjin 451d5fec41 opt:入住成功返回主页前清除定时器 3 månader sedan
  LiChengjin 7fcd65c52b opt:在入住时根据订单来源传入isResv 3 månader sedan

+ 0 - 6
pages/order/order.vue

@@ -123,12 +123,6 @@
 					return
 				}
 				let order = this.orderList[index]
-				if (order.orderSource == 'MINI_APP') {
-					this.orderList[index].isResv = false
-				} else {
-					this.orderList[index].isResv = true
-				}
-
 				this.updateOrder(this.orderList[index])
 				this.updateCheckinInfo([])
 				uni.navigateTo({

+ 2 - 1
subpkg_checkin/checkin/checkin.vue

@@ -62,7 +62,7 @@
 						cardId: '0',
 						userType: 1,
 						orderId: this.order.orderId,
-						isResv: this.order.isResv
+						isResv: this.order.orderSource !== 'MINI_APP'
 					}
 					let checkinResult = new Array(this.checkinInfo.length).fill(false)
 					for (let i = 0; i < this.checkinInfo.length; i++) {
@@ -121,6 +121,7 @@
 				}
 			},
 			gotoHome() {
+				clearInterval(this.countDownTimer)
 				uni.switchTab({
 					url: '/pages/home/home'
 				})

+ 0 - 3
subpkg_checkin/queryOrder/queryOrder.vue

@@ -66,9 +66,6 @@
 
 				this.orderList = res.data.data.records
 				if (this.orderList.length > 0) {
-					this.orderList.forEach((order) => {
-						order.isResv = true
-					})
 					this.updateQueryOrderResult(this.orderList)
 					uni.navigateTo({
 						url: '/subpkg_checkin/queryOrderResult/queryOrderResult'