src/views/exam/paper/list.vue
@@ -63,6 +63,8 @@ created () { this.initSubject() this.search() this.queryParam.subjectId = null this.subjectFilter = this.subjects }, methods: { submitForm () { @@ -92,7 +94,7 @@ }, levelChange () { this.queryParam.subjectId = null this.subjectFilter = this.subjects.filter(data => data.level === this.queryParam.level) this.subjectFilter = this.subjects }, subjectFormatter (row, column, cellValue, index) { console.log(row, column, cellValue, index)