From 79f08099c190a78beb676c6895804530739c2a0b Mon Sep 17 00:00:00 2001 From: 马宇豪 <978517621@qq.com> Date: 星期五, 29 十一月 2024 14:48:35 +0800 Subject: [PATCH] 修改首页 --- src/views/onlineEducation/groupExams/components/student.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/views/onlineEducation/groupExams/components/student.vue b/src/views/onlineEducation/groupExams/components/student.vue index 5707369..e44bda8 100644 --- a/src/views/onlineEducation/groupExams/components/student.vue +++ b/src/views/onlineEducation/groupExams/components/student.vue @@ -82,12 +82,12 @@ <!-- </el-table-column>--> <el-table-column label="成绩" prop="score" align="center" > <template #default="scope"> - <span>{{scope.row.state ===0 ? '--' : scope.row.score}}</span> + <span>{{scope.row.state ===0 || scope.row.state ===1 ? '--' : scope.row.score}}</span> </template> </el-table-column> <el-table-column label="是否合格" prop="passed" align="center" > <template #default="scope"> - <span>{{scope.row.state ===0 ? '--' : scope.row.passed === 0 ? '不合格' : '合格'}}</span> + <span>{{scope.row.state ===0 || scope.row.state ===1 ? '--' : scope.row.passed === 0 ? '不合格' : '合格'}}</span> </template> </el-table-column> <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="180"> @@ -239,6 +239,7 @@ paperId: data.queryParams.paperId, pageNum: data.queryParams.pageNum, pageSize: data.queryParams.pageSize, + state: val.state } const v = JSON.stringify(obj) router.push({ path: "/correctExam", query: { val: v } }); -- Gitblit v1.9.2