| 
					
				 | 
			
			
				@@ -142,10 +142,10 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         onChangeStatus(val) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isStatus = val 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(this.paymentResult) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.orderNo = this.paymentResult.orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                this.paymentResult = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // if(this.paymentResult) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //     this.orderNo = this.paymentResult.orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //     this.paymentResult = null 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            // } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         async onSubmit() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             // 没有订单号说明是创建订单 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -166,6 +166,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(result.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.payMap = result.data.payMap 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.paymentResult = result.data.payMap 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const orderNo = result.data.payMap.orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.orderNo = orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const examRegistrationId = result.data.examRegister.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const origin = window.location.origin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    history.replaceState("", "Title", `${origin}/#/signUpPayment?orderNo=${orderNo}&examRegistrationId=${examRegistrationId}`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.onSubmitPay() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.$toast(result.msg) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -184,6 +189,11 @@ export default { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if(result.code == 200) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.payMap = result.data.payMap 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.paymentResult = result.data.payMap 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const orderNo = result.data.payMap.orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    this.orderNo = orderNo 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const examRegistrationId = result.data.examRegister.id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const origin = window.location.origin 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    history.replaceState("", "Title", `${origin}/#/signUpPayment?orderNo=${orderNo}&examRegistrationId=${examRegistrationId}`) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.onSubmitPay() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     this.$toast(result.msg) 
			 |