From 7e71af0cb73fcbf358c3596bdc6645eeaeb9f837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=9D=A8?= <666> Date: Fri, 25 Oct 2024 10:52:42 +0800 Subject: [PATCH] =?UTF-8?q?add=EF=BC=9A=E8=A1=A8=E6=A0=BC=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E6=89=B9=E9=98=85;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../container/classTask/item-dialog-score.vue | 8 ++-- .../views/classTask/container/item-dialog.vue | 37 ++++++++++++++++++- .../src/views/classTask/teachClassTask.vue | 35 ++++++++++++++++++ 3 files changed, 75 insertions(+), 5 deletions(-) diff --git a/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue b/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue index 2d21c0e..a3d3909 100644 --- a/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue +++ b/src/renderer/src/views/classTask/container/classTask/item-dialog-score.vue @@ -619,13 +619,13 @@ const checkWorkType = (params) => { // 获取学生答题列表 const score = extractedNumber(params.studentObj.scoingRate) - if(0<=score<=59){ + if(0<=score && score<=59){ classWorkFormScore.rating = 5 - }else if(60<=score<=69){ + }else if(60<=score && score<=69){ classWorkFormScore.rating = 4 - }else if(70<=score<=79){ + }else if(70<=score && score<=79){ classWorkFormScore.rating = 3 - }else if(80<=score<=99){ + }else if(80<=score && score<=99){ classWorkFormScore.rating = 2 }else{ classWorkFormScore.rating = 1 diff --git a/src/renderer/src/views/classTask/container/item-dialog.vue b/src/renderer/src/views/classTask/container/item-dialog.vue index 7f7423d..a37a4c5 100644 --- a/src/renderer/src/views/classTask/container/item-dialog.vue +++ b/src/renderer/src/views/classTask/container/item-dialog.vue @@ -149,7 +149,7 @@
- +