|
@@ -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() {
|