lrf402788946 4 年之前
父节点
当前提交
b0ecbd2329
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/views/train-plan/parts/class-table.vue

+ 2 - 2
src/views/train-plan/parts/class-table.vue

@@ -363,6 +363,8 @@ export default {
       if (this.$checkRes(res)) this.$set(this, `subjectList`, res.data);
       if (this.$checkRes(res)) this.$set(this, `subjectList`, res.data);
       // res = await this.getTeacher({ status: '4' });
       // res = await this.getTeacher({ status: '4' });
       // if (this.$checkRes(res)) this.$set(this, `teacherList`, res.data);
       // if (this.$checkRes(res)) this.$set(this, `teacherList`, res.data);
+      res = await this.fetch({ model: 'notice', classid: this.classInfo.id, type: '4', planid: this.classInfo.planid, termid: this.classInfo.termid });
+      if (this.$checkRes(res)) this.$set(this, `noticeList`, res.data);
     },
     },
     // 教师列表
     // 教师列表
     async seachTeacher() {
     async seachTeacher() {
@@ -371,8 +373,6 @@ export default {
       var ids = NewArr.map(item => item.teaid);
       var ids = NewArr.map(item => item.teaid);
       let res = await this.lessonteafetch(ids);
       let res = await this.lessonteafetch(ids);
       if (this.$checkRes(res)) this.$set(this, `teacherList`, res.data);
       if (this.$checkRes(res)) this.$set(this, `teacherList`, res.data);
-      res = await this.fetch({ model: 'notice', classid: this.classInfo.id, type: '4', planid: this.classInfo.planid, termid: this.classInfo.termid });
-      if (this.$checkRes(res)) this.$set(this, `noticeList`, res.data);
     },
     },
     //关闭抽屉
     //关闭抽屉
     toClose() {
     toClose() {