y595705120 3 years ago
parent
commit
8e49a9e3a3
2 changed files with 14 additions and 4 deletions
  1. 2 2
      config/index.js
  2. 12 2
      src/containers/center/market/index.vue

+ 2 - 2
config/index.js

@@ -3,8 +3,8 @@
 // see http://vuejs-templates.github.io/webpack for documentation.
 //
 // const TARGET = "http://study.ndjsxh.cn:8888/"
-const TARGET = "http://localhost:8000/"
-// const TARGET = "http://sm.hqedust.com:8889/"
+// const TARGET = "http://localhost:8000/"
+const TARGET = "http://sm.hqedust.com/"
 const path = require('path')
 
 module.exports = {

+ 12 - 2
src/containers/center/market/index.vue

@@ -11,6 +11,12 @@
         </li>
       </ul>
 
+      <div class="mt10" v-if="type=='继续教育' || type=='施工现场专业人员'">
+        <p class="tc" style="color: red;font-size: 18px;">
+          报名对象为:2020年度及以后由培训单位核发的和2021年度换发的“电子培训合格证”且每年度需参加继续教育人员
+        </p>
+      </div>
+
       <ul class="m-course-list clear mt10 classlist" v-if="total>0">
         <li v-for="(item,index) in list" :key="item.course_id" class="pt-sola mt20 pb10">
           <div>
@@ -396,11 +402,15 @@
         let item = this.list[index];
         this.buyForm = Object.assign({}, item)
         this.buyForm.temp = item;
+
+        // 绕开检查
         // this.stage = 2;
-        // this.isCompanyPay = 1;
+        // this.isCompanyPay = 0;
         // this.isCommitment=''
+        // this.buyForm.rzCode = item.rzCode;
+        // this.buyForm.courseName = item.courseName;
         // this.commitmentDialog = true;
-
+        // 检查
         httpServer("weixin.docheckpay", {
           courseId: item.course_id
         }).then((res) => {