zhengkaixin před 3 roky
rodič
revize
b34e4dce06
1 změnil soubory, kde provedl 3 přidání a 46 odebrání
  1. 3 46
      pages/parking/payResult.vue

+ 3 - 46
pages/parking/payResult.vue

@@ -23,22 +23,13 @@
 			return {
 				detail: {},
 				id: "",
-				charge:false,
-				chargeObj:{},
+		
 				
 
 			}
 		},
 		onLoad(op) {
-			if(op.id){
-				this.id=op.id
-				this.getInfo();
-			}
-			var obj=this.carhelp.getGunIdCharge();
-			if(obj){
-				this.charge=true
-				this.chargeObj=obj
-			}
+			
 			
 		},
 		onReady() {
@@ -46,41 +37,7 @@
 		},
 		methods: {
 
-			getInfo() {
-				uni.showLoading({
-					title: "加载中",
-					mask: true,
-				})
-				API.accountDetail({
-					outOrderNo: this.id
-				}).then((res) => {
-					uni.hideLoading()
-
-					this.detail = res.data.orderInfo;
-				}).catch(error => {
-					uni.showToast({
-						title: error,
-						icon: "none"
-					})
-				})
-			},
-			rechargeContinue() {
-				uni.redirectTo({
-					url: '/pages/user/finance/recharge'
-				})
-			},
-			chargeLook(){
-				
-				uni.redirectTo({
-					url:'/pages/searchPile/chargeProcess/charge?isback=1&deviceNo='+this.chargeObj.deviceNo+"&gun="+this.chargeObj.channelNo+"&carNumber="+this.chargeObj.carNumber
-				})
-				
-			},
-			balanceLook() {
-				uni.redirectTo({
-					url: '/pages/user/finance/balance'
-				})
-			}
+			
 		}
 	}
 </script>