瀏覽代碼

VIP修改时获取老师教学点

VIP修改时获取老师教学点,用课程组上指导老师
lex-xin 4 年之前
父節點
當前提交
8ce1de6b04

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


+ 1 - 1
dist/static/css/chunk-2c13800d.33d56340.css → dist/static/css/chunk-0826bf59.2d8ba49d.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.m-container[data-v-58e2e8b6]{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.newBand[data-v-58e2e8b6]{display:inline-block}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.m-container[data-v-323e4114]{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#fff}.newBand[data-v-323e4114]{display:inline-block}

+ 1 - 1
dist/static/css/chunk-2254bccd.6cc82d4f.css → dist/static/css/chunk-e59c4ca0.e39402f8.css

@@ -1 +1 @@
-.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.vipwrap[data-v-49f6a6ce]{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:start;-ms-flex-pack:start;justify-content:flex-start}.vipwrap .newBand[data-v-49f6a6ce]{margin-right:20px}.resetClassForm[data-v-49f6a6ce] .el-date-editor.el-input,.resetClassForm[data-v-49f6a6ce] .el-date-editor.el-input__inner{width:180px!important}[data-v-49f6a6ce] .el-date-editor.el-input,[data-v-49f6a6ce] .el-date-editor.el-input__inner{width:100px!important}
+.pagination-container[data-v-31cb099a]{background:#fff;padding:32px 16px;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:center;-ms-flex-pack:center;justify-content:center}.pagination-container.hidden[data-v-31cb099a]{display:none}.vipwrap[data-v-c04588ca]{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:start;-ms-flex-pack:start;justify-content:flex-start}.vipwrap .newBand[data-v-c04588ca]{margin-right:20px}.resetClassForm[data-v-c04588ca] .el-date-editor.el-input,.resetClassForm[data-v-c04588ca] .el-date-editor.el-input__inner{width:180px!important}[data-v-c04588ca] .el-date-editor.el-input,[data-v-c04588ca] .el-date-editor.el-input__inner{width:100px!important}

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


文件差異過大導致無法顯示
+ 0 - 0
dist/static/js/chunk-0826bf59.45dada2f.js


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


+ 2 - 1
src/views/vipClass/vipList.vue

@@ -508,11 +508,12 @@ export default {
       let id = row.id;
       let organId = row.organId;
       let educationalTeacherId = row.educationalTeacherId;
+      let userId = row.userId; // 课程组上指导老师
       let rules = JSON.stringify(this.rules);
       let searchForm = JSON.stringify(this.searchForm);
       this.$router.push({
         path: "/business/vipReset",
-        query: { id, educationalTeacherId, organId, rules, searchForm }
+        query: { id, educationalTeacherId, organId, userId, rules, searchForm }
       });
     },
     // 删除VIP

+ 9 - 9
src/views/vipClass/vipReset.vue

@@ -582,6 +582,15 @@ export default {
           this.organList = res.data;
         }
       });
+
+      // 取课程组上指导老师,教学点
+      getTeachSchool({
+        userId: query.userId
+      }).then(res => {
+        if (res.code == 200) {
+          this.schoolList = res.data;
+        }
+      })
     },
     getList () {
       findVipGroupCourseSchedules({
@@ -593,15 +602,6 @@ export default {
           this.tableList = res.data.pageInfo.rows;
           this.rules.total = res.data.pageInfo.total;
           this.courseTime = res.data.singleClassMinutes;
-          if (this.tableList.length > 0) {
-            getTeachSchool({
-              userId: res.data.pageInfo.rows[0].teacherId
-            }).then(res => {
-              if (res.code == 200) {
-                this.schoolList = res.data;
-              }
-            });
-          }
         }
       });
     },

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