Commit 9ca78319a76dcb03bcba46d5922e8c041a05f87f
1 parent
d06cf631
教师管理,科目选择范围改为年级
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/standard/setUp/teacher.vue
... | ... | @@ -736,7 +736,9 @@ export default { |
736 | 736 | }, |
737 | 737 | async _QuerySubject() { |
738 | 738 | //科目信息 |
739 | - const { data, status, info } = await this.$request.subjectList(); | |
739 | + const { data, status, info } = await this.$request.subjectList({ | |
740 | + gradeName:this.query.gradeName | |
741 | + }); | |
740 | 742 | console.log(status); |
741 | 743 | if (status === 0) { |
742 | 744 | this.subjectList = [...data.subjectNames] || []; | ... | ... |