lrf402788946 5 年之前
父节点
当前提交
2403817650
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      src/views/plan/lesson-plan.vue
  2. 0 1
      src/views/plan/lesson.vue

+ 1 - 1
src/views/plan/lesson-plan.vue

@@ -313,7 +313,7 @@ export default {
       if (this.$checkRes(res)) this.$set(this, `locationList`, res.data);
       res = await this.getSubjectList();
       if (this.$checkRes(res)) this.$set(this, `subjectList`, res.data);
-      res = await this.getTeacherList({ is_etiquette_teacher: '1' });
+      res = await this.getTeacherList({ islyteacher: '1' });
       if (this.$checkRes(res)) this.$set(this, `lyTeacherList`, res.data);
       res = await this.getDeptList();
       if (this.$checkRes(res)) this.$set(this, `deptList`, res.data);

+ 0 - 1
src/views/plan/lesson.vue

@@ -116,7 +116,6 @@ export default {
       this.view = 'list';
     },
     async handleSave(data) {
-      console.log(data);
       //TODO 此处需要3个接口:1,课表添加;2,课表修改;3,班级修改
       //根据data中是否有id,判断是课表的添加还是修改
       //解构出data中class字段,是班级id,将各种地点,礼仪课老师,班主任修改好