| 
					
				 | 
			
			
				@@ -493,7 +493,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.buyImg = url; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       hasPromise( type ){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-          return type == '施工现场专业人员' || type == '燃气经营企业' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          return type == '施工现场专业人员' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       testBuyOK(item){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.stage = 2; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -509,6 +509,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.company = this.userInfo.company; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.temp = item; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.courseName = item.name; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // console.log("goPay", item); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let isEdu = this.hasPromise(item.type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // this.testBuyOK(item) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // return; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -522,11 +523,12 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isCompanyPay = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isCommitment='' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Object.assign( this.buyForm, res.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if( isEdu){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-              this.buyCourseDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.buyCourseDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.commitmentDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.buyCourseDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              this.commitmentDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             console.log("payErr") 
			 |