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 @@