liurongli 2 kuukautta sitten
vanhempi
commit
f18cb61a2a

+ 1 - 1
src/App.vue

@@ -18,7 +18,7 @@ export default {
     },
     methods: {
         SubmitLogin() {
-            const username = '76434917044491';
+            const username = '376050cy_xiyanzuo_015';
             const password = '123456';
             // const type = '1';
             const schoolType = sessionStorage.getItem('schoolType');

+ 1 - 1
src/views/analysisReport/studentPage/downloadPdf/studentReport.vue

@@ -238,7 +238,7 @@
                                                             <span :class="GetDifficultyClass(scope.row[header.prop])"></span>
                                                             <span>{{ GetDifficultyName(scope.row[header.prop]) }}</span>
                                                         </template>
-                                                        <template v-else-if="header.prop == 'classGroupAvgScoreMap' || header.prop == 'classGroupScoreRateMap'">{{ scope.row?.[header.prop]?.[header.code] || '-' }}</template>
+                                                        <template v-else-if="header.prop == 'classGroupAvgScoreMap' || header.prop == 'classGroupScoreRateMap'">{{ scope.row?.[header.prop]?.[header.code] || '-' }}{{ scope.row?.[header.prop]?.[header.code]&&header.prop=='classGroupScoreRateMap'?'%':''}}</template>
                                                         <template v-else>{{ scope.row[header.prop] || '-' }}</template>
                                                     </template>
                                                 </el-table-column>

+ 1 - 1
src/views/analysisReport/studentPage/scrolReport/transcript_single.vue

@@ -287,7 +287,7 @@
                   ><span :class="GetDifficultyClass(scope.row[title.prop])"></span
                   ><span>{{ GetDifficultyName(scope.row[title.prop]) }}</span></template
                 >
-                <template v-else-if="title.prop == 'classGroupAvgScoreMap' || title.prop == 'classGroupScoreRateMap'">{{ scope.row?.[title.prop]?.[title.code] || '-' }}</template>
+                <template v-else-if="title.prop == 'classGroupAvgScoreMap' || title.prop == 'classGroupScoreRateMap'">{{ scope.row?.[title.prop]?.[title.code] || '-' }}{{ scope.row?.[title.prop]?.[title.code]&&title.prop=='classGroupScoreRateMap'?'%':'' }}</template>
                 <template v-else>{{ scope.row[title.prop] || '-' }}</template>
               </template>
             </el-table-column>