|
@@ -284,7 +284,7 @@ export default {
|
|
toChooseTeacher() {
|
|
toChooseTeacher() {
|
|
if (this.form.subid) {
|
|
if (this.form.subid) {
|
|
this.dialog = true;
|
|
this.dialog = true;
|
|
- this.toGetTeacherList();
|
|
|
|
|
|
+ this.toGetTeacherList({});
|
|
} else this.$message.warning('请选择所授科目');
|
|
} else this.$message.warning('请选择所授科目');
|
|
},
|
|
},
|
|
setTea({ data }) {
|
|
setTea({ data }) {
|
|
@@ -353,7 +353,7 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
//教师列表请求
|
|
//教师列表请求
|
|
- async toGetTeacherList({ query, type } = {}) {
|
|
|
|
|
|
+ async toGetTeacherList({ query = {}, type } = {}) {
|
|
query.subid = this.form.subid;
|
|
query.subid = this.form.subid;
|
|
query.termid = this.form.termid;
|
|
query.termid = this.form.termid;
|
|
query.status = '4';
|
|
query.status = '4';
|