lrf402788946 5 years ago
parent
commit
3d729dc5ba
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/plan/lesson-plan.vue

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

@@ -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';