y595705120 1 gadu atpakaļ
vecāks
revīzija
a36cf64c71

+ 24 - 6
src/containers/center/market/index.vue

@@ -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{

+ 1 - 0
src/containers/center/market/promise.js

@@ -20,5 +20,6 @@ export default {
               分别完成企业组织的本年度施工现场专业人员专业知识不少于22学时,
               累计不少于24学时的继续教育培训。
               如有不实,本企业愿意承担相应责任。`,
+  'notice_hangong':` 根据(闽建办人函〔2023〕6号)关于建筑施工企业安全生产管理人员和特种作业人员岗位考核及证书变更有关事项的通知,“施工现场电焊工”未列入《国家职业资格目录(2021 年版)》,各地住建部门不再开展考核发证。原持有的《建筑施工特种作业操作资格证(施工现场电焊工)》有效期到期后自动注销。`,
 
 }