Răsfoiți Sursa

开放学生报告下载

liurongli 1 lună în urmă
părinte
comite
c29c8918d6

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

@@ -32,7 +32,7 @@
                     @click="EditOneStudOneCase" style="width: 96px;">{{
                         !isEditOneStudOneCase ? `${stuCaseIsEdited ? '编辑' : '开始编辑'}` : `${stuCaseIsEdited ? '重新提交':'提交'}`
                     }}</el-button>
-                <!-- <el-button v-if="isShowPadfBtn" style="margin-left: 10px;" size="medium" type="primary" :loading="stuPdfLoading" @click="StuDownloadPDF">下载PDF</el-button> -->
+                <el-button v-if="isShowPadfBtn" style="margin-left: 10px;" size="medium" type="primary" :loading="stuPdfLoading" @click="StuDownloadPDF">下载PDF</el-button>
             </div>
         </div>
 

+ 3 - 3
src/views/analysisReport/studentPage/scrolReport/transcript.vue

@@ -3,7 +3,7 @@
   <div>
     <TranscriptTotal v-if="isTotalScore" />
     <TranscriptSingle v-else />
-    <!-- <StudentReport ref="studentReportPdf" @closePdfLoading="closePdfLoading" @isPdfDataLoadEnd="isPdfDataLoadEnd"></StudentReport> -->
+    <StudentReport ref="studentReportPdf" @closePdfLoading="closePdfLoading" @isPdfDataLoadEnd="isPdfDataLoadEnd"></StudentReport>
   </div>
 </template>
 
@@ -11,13 +11,13 @@
 
 import TranscriptSingle from "@/views/analysisReport/studentPage/scrolReport/transcript_single";//单科的G组分析
 import TranscriptTotal from "@/views/analysisReport/studentPage/scrolReport/transcript_total";//单科的G组分析
-// import StudentReport from '../downloadPdf/studentReport.vue'
+import StudentReport from '../downloadPdf/studentReport.vue'
 
 export default {
   components: {
     TranscriptSingle,
     TranscriptTotal,
-    // StudentReport
+    StudentReport
   },
   computed: {
     isTotalScore(){