瀏覽代碼

修改逻辑

lex-xin 5 年之前
父節點
當前提交
abbff18411

文件差異過大導致無法顯示
+ 0 - 0
dist/index.html


+ 1 - 1
dist/static/css/chunk-5aaadde0.bcf4e5bd.css → dist/static/css/chunk-486c9dac.8c0d7fb7.css

@@ -1 +1 @@
-.m-core[data-v-7b882dd0]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-7b882dd0]{width:180px}.m-core h4[data-v-7b882dd0]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-7b882dd0],.m-core .right[data-v-7b882dd0],.m-core .vipLeft[data-v-7b882dd0]{width:400px}.planList[data-v-7b882dd0]{padding:0 25px}.planList .planTop[data-v-7b882dd0]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-7b882dd0]{font-size:14px}.planList .planCore .row[data-v-7b882dd0]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-7b882dd0]{width:87px}.okBtn[data-v-7b882dd0]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}
+.m-core[data-v-43edaa32]{margin-top:30px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:distribute;justify-content:space-around}.m-core .el-input[data-v-43edaa32]{width:180px}.m-core h4[data-v-43edaa32]{font-size:16px;background-color:#ccc;color:#fff;text-align:center;width:100%;height:40px;line-height:40px;margin-bottom:20px}.m-core .center[data-v-43edaa32],.m-core .right[data-v-43edaa32],.m-core .vipLeft[data-v-43edaa32]{width:400px}.planList[data-v-43edaa32]{padding:0 25px}.planList .planTop[data-v-43edaa32]{height:40px;line-height:40px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;border-bottom:1px solid #ccc;margin-top:20px}.planList .planTop>p[data-v-43edaa32]{font-size:14px}.planList .planCore .row[data-v-43edaa32]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-ms-flex-wrap:nowrap;flex-wrap:nowrap;height:40px;line-height:40px;font-size:14px;text-align:center}.planList .planCore .row div[data-v-43edaa32]{width:87px}.okBtn[data-v-43edaa32]{width:120px;height:40px;line-height:40px;text-align:center;color:#fff;border-radius:4px;margin-right:20px;cursor:pointer;background-color:#f97215;float:right}

文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/app.23ba18c6.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-486c9dac.4423e8c4.js


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-5aaadde0.afb9a5f0.js


+ 8 - 0
src/views/buildVip/index.vue

@@ -65,6 +65,7 @@
               filterable
               clearable
               :disabled="!leftForm.teacher || !leftForm.educationalTeacherId"
+              @change="onClassChange"
             >
               <el-option
                 v-for="(item,index) in classOrganList"
@@ -1228,6 +1229,9 @@ export default {
       let educationalTeacherId = leftForm.educationalTeacherId ? leftForm.educationalTeacherId : null
       leftForm.classOrganId = null // 重置课程分部数据
       this.classOrganList = []
+      // 初始化上课学生
+      this.studentList = []
+      this.rightForm.students = []
       if(!teacher || !educationalTeacherId) { // 如果没有选择指导老师和教务老师则不请求
         return
       }
@@ -1238,6 +1242,10 @@ export default {
         }
       })
     },
+    onClassChange() { // 课程分部改变时
+      this.studentList = []
+      this.rightForm.students = []
+    },
     onCancel() {
       this.$router.push({
         path: "/business/vipList",

部分文件因文件數量過多而無法顯示