Jelajahi Sumber

修改积分

aaa 3 tahun lalu
induk
melakukan
a68d371c8b
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      src/views/home/person/exam-history.vue

+ 2 - 3
src/views/home/person/exam-history.vue

@@ -32,13 +32,13 @@
               <div class="exam-history-item-left-schedule">
               <div class="exam-history-item-left-schedule">
                 <van-progress
                 <van-progress
                   :percentage="
                   :percentage="
-                    formatePercentageFun(item.points, examFullPoints)
+                    formatePercentageFun(item.points, item.totalPoints)
                   "
                   "
                   :show-pivot="false"
                   :show-pivot="false"
                 />
                 />
               </div>
               </div>
               <div class="exam-history-item-left-schedule-text">
               <div class="exam-history-item-left-schedule-text">
-                {{ item.points || 0 }} 分 / 满分 {{ examFullPoints }} 分
+                {{ item.points || 0 }} 分 / 满分 {{ item.totalPoints }} 分
               </div>
               </div>
             </div>
             </div>
           </div>
           </div>
@@ -62,7 +62,6 @@ export default {
       userExamPonits: 0,
       userExamPonits: 0,
       generalExamPoints: 0,
       generalExamPoints: 0,
       specialExamPoints: 0,
       specialExamPoints: 0,
-      examFullPoints: 100,
       userManualType: {
       userManualType: {
         ONE: 1,
         ONE: 1,
         TWO: 2,
         TWO: 2,