| 
					
				 | 
			
			
				@@ -203,9 +203,18 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     </el-dialog> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    <el-dialog title="承诺书" class="fc tc" :visible.sync="commitmentDialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    <el-dialog :title="hasNotice()?'温馨提示':'承诺书'" class="fc tc" :visible.sync="commitmentDialog"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div v-if="hasNotice()" class="p10"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div class="tl commitment"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+              {{promise.notice_hangong}} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          <div slot="footer" class="dialog-footer mt20"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-button @click="commitmentDialog = false">取 消</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            <el-button type="primary"  @click="buyCourseDialog=true">继续购买</el-button> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        <div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        <div v-else> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div v-if="hasPromise(type)"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="commitment-header"> 致:三明市城市建设项目服务中心 </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="tl commitment"> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -215,7 +224,6 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               特此诺书! 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           </div> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           <div v-else-if="type=='建筑施工企业特种作业人员'"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             <div class="tl commitment"> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               {{promise.promise_special}} 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -515,14 +523,24 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       hasPromise( type ){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				           return type == '施工现场专业人员' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      hasNotice(){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        return this.buyForm.name =='施工现场电焊工' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+      }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       testBuyOK(item){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.stage = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.isCompanyPay = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.isCommitment='' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.rzCode = item.rzCode; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm.company = 'ssss'; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.buyForm.courseName = item.courseName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        this.buyCourseDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        this.buyForm.name = item.courseName; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        let isEdu = this.hasPromise(item.type); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if( isEdu || this.hasNotice() ){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.buyCourseDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.commitmentDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        }else{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.buyCourseDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+          this.commitmentDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       }, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				       goPay( item ) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         this.buyForm = Object.assign(this.buyForm, item) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -543,7 +561,7 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isCompanyPay = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.isCommitment='' 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Object.assign( this.buyForm, res.data); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if( isEdu){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if( isEdu || this.hasNotice()){ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.buyCourseDialog = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				               this.commitmentDialog = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             }else{ 
			 |