Explorar o código

正式环境开发个人画像

吴朋磊 hai 1 mes
pai
achega
85b1c1789d

+ 2 - 2
src/views/analysisReport/personalProfile/MyGradeHistory.vue

@@ -196,7 +196,7 @@ export default {
           classRank: item.classRank,
           gradeRank: item.gradeRank,
           standardScore: item.standardScore,
-          scoreRate: item.scoreRate,
+          scoreRate: item.scoreRate ? item.scoreRate+'%': '',
           examId: item.examId,
           subjectId: item.subjectId,
           displayType: item.displayType,
@@ -216,7 +216,7 @@ export default {
         classRank: item.classRank,
         gradeRank: item.gradeRank,
         standardScore: item.standardScore,
-        scoreRate: item.scoreRate,
+        scoreRate: item.scoreRate ? item.scoreRate+'%': '',
         examId: item.examId,
         subjectId: item.subjectId,
         displayType: item.displayType,

+ 2 - 2
src/views/analysisReport/studentPage/mainPage.vue

@@ -47,9 +47,9 @@
                                 <!-- v-if="isShowKnowledgeButtons" -->
                                 <button class="mm_btn mb_10" :class="{ active: activeBtn === pathTwo }"
                                     @click="toPage(pathTwo)">举一反三</button>
-                                <!-- <button v-if="isShowKnowledgeButtons" class="mm_btn mb_10"
+                                <button  class="mm_btn mb_10"
                                     :class="{ active: activeBtn === pathThree }"
-                                    @click="toPage(pathThree)">个人画像</button> -->
+                                    @click="toPage(pathThree)">个人画像</button>
                                 <button class="mm_btn" v-if="showOneStudOneCase"
                                     :class="{ active: activeBtn === pathFourth }"
                                     @click="toPage(pathFourth)">一生一案</button>