src/views/exam/paper/edit.vue
@@ -223,6 +223,7 @@ }, subjectIdList: [], form: { deptId: '', menuIds: [], aggregateSource: 100, id: null, @@ -282,11 +283,11 @@ }; }, created() { departmentApi.getCurrentDeptId().then(res => { if (res.response && res.response[0]) { this.form.deptId = res.response[0]; } }); // departmentApi.getCurrentDeptId().then(res => { // if (res.response && res.response[0]) { // this.form.deptId = res.response[0]; // } // }); let id = this.$route.query.id; let _this = this; this.initSubject(function () {