| | |
| | | }, |
| | | subjectIdList: [], |
| | | form: { |
| | | deptId: '', |
| | | menuIds: [], |
| | | aggregateSource: 100, |
| | | id: null, |
| | |
| | | }; |
| | | }, |
| | | 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 () { |
| | |
| | | }, |
| | | subjectIdList: [], |
| | | form: { |
| | | deptId: '', |
| | | aggregateSource: '100', |
| | | id: null, |
| | | departmentIds: [], |