From ee0087bb2a995a3b4a769d836fa75fd4dcdf5082 Mon Sep 17 00:00:00 2001
From: 祖安之光 <11848914+light-of-zuan@user.noreply.gitee.com>
Date: Wed, 06 May 2026 09:47:52 +0800
Subject: [PATCH] 增加查看试卷按钮

---
 src/views/work/onlineEducation/count/index.vue |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/views/work/onlineEducation/count/index.vue b/src/views/work/onlineEducation/count/index.vue
index f5a3c5d..972aa3b 100644
--- a/src/views/work/onlineEducation/count/index.vue
+++ b/src/views/work/onlineEducation/count/index.vue
@@ -139,7 +139,7 @@
     state.dataList = res.data.list.map(item => {
       return {
         ...item,
-        passRate: item.passStudentCount  && item.paperStudentCount ? (item.passStudentCount / item.paperStudentCount).toFixed(2) *100 + '%': item.passStudentCount == 0  && item.paperStudentCount == 0? '0%': ''
+        passRate: item.passStudentCount  && item.paperStudentCount ? ((item.passStudentCount / item.paperStudentCount)*100).toFixed(2).replace(/\.00$/, '')  + '%': item.passStudentCount == 0  && item.paperStudentCount == 0? '0%': ''
 
       }
     })

--
Gitblit v1.9.2