| | |
| | | name: '', |
| | | suggestTime: null, |
| | | titleItems: [], |
| | | subjectSource:null |
| | | subjectSource:{} |
| | | }, |
| | | subjectFilter: null, |
| | | formLoading: false, |
| | |
| | | this.$refs.form.validate((valid) => { |
| | | if (valid) { |
| | | this.formLoading = true |
| | | if (this.subjectIdList.length=1){ |
| | | if (this.subjectIdList.length == 1){ |
| | | this.form.subjectId= this.form.subjectId |
| | | } |
| | | |
| | |
| | | this.search() |
| | | }, |
| | | confirmPaperSelect () { |
| | | console.log( this.paperPage.multipleSelection) |
| | | this.paperPage.multipleSelection.forEach(ep => this.form.paperItems.push(ep)) |
| | | this.paperPage.showDialog = false |
| | | }, |
| | |
| | | this.search() |
| | | }, |
| | | levelChange () { |
| | | this.paperPage.queryParam.subjectId = null |
| | | this.paperPage.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel) |
| | | // this.paperPage.queryParam.subjectId = null |
| | | // this.paperPage.subjectFilter = this.subjects.filter(data => data.level === this.form.gradeLevel) |
| | | }, |
| | | removePaper (row) { |
| | | this.form.paperItems.forEach((item, index, arr) => { |