瀏覽代碼

subject-select remove year condition

hare8999@163.com 1 年之前
父節點
當前提交
5c9a3eb69d
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 3 3
      src/views/career/subject/majorChoice.vue
  2. 2 2
      src/views/career/subject/subjectChoice.vue

+ 3 - 3
src/views/career/subject/majorChoice.vue

@@ -7,7 +7,7 @@
     ></evaluation-title>
     <div class="content-box">
       <div class="xkcx-input-box">
-        <div>
+        <div v-if="false">
           <el-select
             v-model="selected.selectNian"
             @change="onChangeYear"
@@ -22,7 +22,7 @@
             </el-option>
           </el-select>
         </div>
-        <div class="button-school">
+        <div>
           <el-button plain @click="onChangeSchoolPopup">
             学校
             <i class="el-icon-my-button"></i>
@@ -174,7 +174,7 @@ export default {
     }
   },
   created() {
-    this.httpGetXkcxYears()
+    // this.httpGetXkcxYears() // Cancelled year condition, use student's grade year instead.
     this.httpGetMarjorsList()
   },
   methods: {

+ 2 - 2
src/views/career/subject/subjectChoice.vue

@@ -2,7 +2,7 @@
   <div>
     <div class="content-box">
       <div>
-        <el-row class="radioInput">
+        <el-row v-if="false" class="radioInput">
           <div>
             <span class="radiaTitle">年份:</span>
           </div>
@@ -137,7 +137,7 @@ export default {
     this.selected.sciences[0] = this.course0 ? [this.course0] : []
     this.selected.sciences[1] = this.course1 ? this.course1.split(',') : []
     if (this.course0 && this.course1) this.httpGetXkcxList()
-    this.getYears()
+    // this.getYears() // Cancelled year condition, use student's grade year instead.
     this.getSelectCourse()
   },
   methods: {