From 4e94f50e54271f1be793a9f417cf7e7cc4a13df5 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Thu, 07 May 2026 10:04:12 +0800
Subject: [PATCH] 增加年份查询
---
src/views/work/onlineEducation/groupExams/index.vue | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/views/work/onlineEducation/groupExams/index.vue b/src/views/work/onlineEducation/groupExams/index.vue
index c52624b..5224b05 100644
--- a/src/views/work/onlineEducation/groupExams/index.vue
+++ b/src/views/work/onlineEducation/groupExams/index.vue
@@ -167,7 +167,7 @@
data.dataList = res.data.list.map(item => {
return {
...item,
- passRate: item.paperStudentInfoVO.passStudentCount ===0 && item.paperStudentInfoVO.studentCount ===0 ? '0%': (item.paperStudentInfoVO.passStudentCount / item.paperStudentInfoVO.studentCount).toFixed(2) *100 + '%',
+ passRate: item.paperStudentInfoVO.passStudentCount ===0 && item.paperStudentInfoVO.studentCount ===0 ? '0%': ((item.paperStudentInfoVO.passStudentCount / item.paperStudentInfoVO.studentCount)*100).toFixed(2).replace(/\.00$/, '') + '%',
deadlineNum: item.deadline ? item.deadline.slice(0,10) : ''
}
})
--
Gitblit v1.9.2