Просмотр исходного кода

Merge branch 'optimize' of http://120.79.166.78:19005/zhongzheng-edu/saas_pc into homePage

Tang 2 лет назад
Родитель
Сommit
e71000a316
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/pages/person-center/my-course/index.vue

+ 3 - 3
src/pages/person-center/my-course/index.vue

@@ -418,7 +418,7 @@
                     type="primary"
                     class="btn"
                     @click="appointment(item)"
-                    >{{ item.subscribeSign == 4 ? "预约记录" : "预约考试" }}
+                    >{{ item.subscribeSign == 1 ? "预约考试" : "预约记录" }}
                   </el-button>
                   <el-button
                     v-if="item.openQuestion == 1"
@@ -1159,7 +1159,7 @@ export default {
           this.courseList = res.rows;
           this.total = res.total;
           //判断是否有商品可以预约考试
-          this.getGoodsApply(res.rows);
+          // this.getGoodsApply(res.rows);
         })
         .finally(() => {
           this.loading = false;
@@ -1193,7 +1193,7 @@ export default {
       );
     },
     appointment(item) {
-      if (item.subscribeSign == 4) {
+      if (item.subscribeSign !== 1) {
         this.$router.push({
           path: "/person-center/my-examination/index"
         });