| 
														
															@@ -1,10 +1,13 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <template> 
														 | 
														
														 | 
														
															 <template> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   <div class="app-container"> 
														 | 
														
														 | 
														
															   <div class="app-container"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     <div class="elective-report-container"> 
														 | 
														
														 | 
														
															     <div class="elective-report-container"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <!--   print-hidden定义在PDF生成程序中   --> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      <div v-if="electiveVisible" class="print-hidden text-right mb10"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        <el-button type="primary" icon="el-icon-printer" @click="handlePrint">打印</el-button> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <div class="width100"> 
														 | 
														
														 | 
														
															       <div class="width100"> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         <el-image :src="require('@/assets/images/elective/elective_report_cover.png')"></el-image> 
														 | 
														
														 | 
														
															         <el-image :src="require('@/assets/images/elective/elective_report_cover.png')"></el-image> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       </div> 
														 | 
														
														 | 
														
															       </div> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      <el-divider class="new-page"><h1>选科测评报告</h1></el-divider> 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <elective-test-reports></elective-test-reports> 
														 | 
														
														 | 
														
															       <elective-test-reports></elective-test-reports> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <el-divider><h1>选科大数据分析</h1></el-divider> 
														 | 
														
														 | 
														
															       <el-divider><h1>选科大数据分析</h1></el-divider> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       <group-subject-query class="print-page"></group-subject-query> 
														 | 
														
														 | 
														
															       <group-subject-query class="print-page"></group-subject-query> 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -26,6 +29,7 @@ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 <script> 
														 | 
														
														 | 
														
															 <script> 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import consts from '@/common/mx-const' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ElectiveTestReports from '@/views/elective/report/components/elective-test-reports' 
														 | 
														
														 | 
														
															 import ElectiveTestReports from '@/views/elective/report/components/elective-test-reports' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import GroupSubjectQuery from '@/views/permission/components/group-subject-query' 
														 | 
														
														 | 
														
															 import GroupSubjectQuery from '@/views/permission/components/group-subject-query' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import RoundSelect from '@/views/system/user/profile/round-select' 
														 | 
														
														 | 
														
															 import RoundSelect from '@/views/system/user/profile/round-select' 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -35,6 +39,7 @@ import GroupScoreTable from '@/views/elective/report/components/group-score-tabl 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ElectiveFlowTable from '@/views/elective/report/components/elective-flow-table' 
														 | 
														
														 | 
														
															 import ElectiveFlowTable from '@/views/elective/report/components/elective-flow-table' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ElectiveEnrollAnalysis from '@/views/elective/report/components/elective-enroll-analysis' 
														 | 
														
														 | 
														
															 import ElectiveEnrollAnalysis from '@/views/elective/report/components/elective-enroll-analysis' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 import ElectiveAiAnalysis from '@/views/elective/report/components/elective-ai-analysis' 
														 | 
														
														 | 
														
															 import ElectiveAiAnalysis from '@/views/elective/report/components/elective-ai-analysis' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+import { getSelectedBookReport } from '@/api/webApi/elective/selected-subject' 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															 export default { 
														 | 
														
														 | 
														
															 export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   name: 'report-index', 
														 | 
														
														 | 
														
															   name: 'report-index', 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -65,6 +70,19 @@ export default { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getOptionalMajors: () => this.optionalMajors, 
														 | 
														
														 | 
														
															       getOptionalMajors: () => this.optionalMajors, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       getEvaluationMajors: () => this.evaluationMajors 
														 | 
														
														 | 
														
															       getEvaluationMajors: () => this.evaluationMajors 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     } 
														 | 
														
														 | 
														
															     } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  }, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+  methods: { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    handlePrint() { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if (!this.generation?.status?.roundId) return 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      getSelectedBookReport({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        roundId: this.generation.status.roundId, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        reportType: consts.enum.electiveReportType.student 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }).then(res => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        if (res.data?.url) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          this.$router.push({ path: '/elective/report/flip', query: { path: res.data.url } }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      }) 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+    } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															   } 
														 | 
														
														 | 
														
															   } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 } 
														 | 
														
														 | 
														
															 } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 </script> 
														 | 
														
														 | 
														
															 </script> 
														 |