From d3c5275b9c4cc03f3b158006f3b3fbb9e4a702c5 Mon Sep 17 00:00:00 2001 From: odc.xiaohui <xiaohui@Q1> Date: 星期四, 15 六月 2023 18:02:57 +0800 Subject: [PATCH] 修改题目列表 --- src/views/exam/paper/list.vue | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/src/views/exam/paper/list.vue b/src/views/exam/paper/list.vue index f2458b6..0e1f88a 100644 --- a/src/views/exam/paper/list.vue +++ b/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) -- Gitblit v1.8.0