|  | @@ -9,18 +9,20 @@
 | 
											
												
													
														|  |          <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>
 | 
											
												
													
														|  |        <elective-test-reports></elective-test-reports>
 |  |        <elective-test-reports></elective-test-reports>
 | 
											
												
													
														|  | -      <el-divider class="new-page"><h1>选科大数据分析</h1></el-divider>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <report-section-title class="new-page">选科大数据分析</report-section-title>
 | 
											
												
													
														|  |        <group-subject-query class="print-page"></group-subject-query>
 |  |        <group-subject-query class="print-page"></group-subject-query>
 | 
											
												
													
														|  | -      <el-divider class="new-page"><h1>自选专业</h1></el-divider>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <report-section-title class="new-page">自选专业</report-section-title>
 | 
											
												
													
														|  |        <major-match-optional class="print-page"></major-match-optional>
 |  |        <major-match-optional class="print-page"></major-match-optional>
 | 
											
												
													
														|  |        <major-introduce-batch></major-introduce-batch>
 |  |        <major-introduce-batch></major-introduce-batch>
 | 
											
												
													
														|  | -      <el-divider class="new-page"><h1>选科成绩表</h1></el-divider>
 |  | 
 | 
											
												
													
														|  | -      <group-score-table class="print-page"></group-score-table>
 |  | 
 | 
											
												
													
														|  | -      <el-divider class="new-page"><h1>选科进程表</h1></el-divider>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <template v-if="showScore">
 | 
											
												
													
														|  | 
 |  | +        <report-section-title class="new-page">选科成绩表</report-section-title>
 | 
											
												
													
														|  | 
 |  | +        <group-score-table class="print-page"></group-score-table>
 | 
											
												
													
														|  | 
 |  | +      </template>
 | 
											
												
													
														|  | 
 |  | +      <report-section-title class="new-page">选科进程表</report-section-title>
 | 
											
												
													
														|  |        <elective-flow-table class="print-page"></elective-flow-table>
 |  |        <elective-flow-table class="print-page"></elective-flow-table>
 | 
											
												
													
														|  |        <!-- AI分析可能有也可能没有,在elective-ai-analysis内部控制 -->
 |  |        <!-- AI分析可能有也可能没有,在elective-ai-analysis内部控制 -->
 | 
											
												
													
														|  |        <elective-ai-analysis></elective-ai-analysis>
 |  |        <elective-ai-analysis></elective-ai-analysis>
 | 
											
												
													
														|  | -      <el-divider class="new-page"><h1>选科录取分析报告</h1></el-divider>
 |  | 
 | 
											
												
													
														|  | 
 |  | +      <report-section-title class="new-page">选科录取分析报告</report-section-title>
 | 
											
												
													
														|  |        <elective-enroll-analysis class="print-page"></elective-enroll-analysis>
 |  |        <elective-enroll-analysis class="print-page"></elective-enroll-analysis>
 | 
											
												
													
														|  |      </div>
 |  |      </div>
 | 
											
												
													
														|  |    </div>
 |  |    </div>
 | 
											
										
											
												
													
														|  | @@ -39,11 +41,13 @@ import ElectiveFlowTable from '@/views/elective/report/components/elective-flow-
 | 
											
												
													
														|  |  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'
 |  |  import { getSelectedBookReport } from '@/api/webApi/elective/selected-subject'
 | 
											
												
													
														|  | 
 |  | +import ReportSectionTitle from '@/views/elective/report/components/report-section-title'
 | 
											
												
													
														|  |  
 |  |  
 | 
											
												
													
														|  |  export default {
 |  |  export default {
 | 
											
												
													
														|  |    name: 'report-index',
 |  |    name: 'report-index',
 | 
											
												
													
														|  |    extends: RoundSelect,
 |  |    extends: RoundSelect,
 | 
											
												
													
														|  |    components: {
 |  |    components: {
 | 
											
												
													
														|  | 
 |  | +    ReportSectionTitle,
 | 
											
												
													
														|  |      ElectiveAiAnalysis,
 |  |      ElectiveAiAnalysis,
 | 
											
												
													
														|  |      ElectiveEnrollAnalysis,
 |  |      ElectiveEnrollAnalysis,
 | 
											
												
													
														|  |      ElectiveFlowTable,
 |  |      ElectiveFlowTable,
 | 
											
										
											
												
													
														|  | @@ -61,6 +65,11 @@ export default {
 | 
											
												
													
														|  |        roundId: ''
 |  |        roundId: ''
 | 
											
												
													
														|  |      }
 |  |      }
 | 
											
												
													
														|  |    },
 |  |    },
 | 
											
												
													
														|  | 
 |  | +  computed: {
 | 
											
												
													
														|  | 
 |  | +    showScore() {
 | 
											
												
													
														|  | 
 |  | +      return !this.generation?.status?.scoreInvisible
 | 
											
												
													
														|  | 
 |  | +    }
 | 
											
												
													
														|  | 
 |  | +  },
 | 
											
												
													
														|  |    provide() {
 |  |    provide() {
 | 
											
												
													
														|  |      // 扩展一些注入,方便报告内部组件直接获取依赖数据
 |  |      // 扩展一些注入,方便报告内部组件直接获取依赖数据
 | 
											
												
													
														|  |      // 需要把数据转方法,不然注入的数据无法动态更新
 |  |      // 需要把数据转方法,不然注入的数据无法动态更新
 | 
											
										
											
												
													
														|  | @@ -95,13 +104,4 @@ export default {
 | 
											
												
													
														|  |  .elective-report-container {
 |  |  .elective-report-container {
 | 
											
												
													
														|  |    width: 100%;
 |  |    width: 100%;
 | 
											
												
													
														|  |  }
 |  |  }
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -/deep/ .elective-report-container > .el-divider {
 |  | 
 | 
											
												
													
														|  | -  margin: 40px 0;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  | -
 |  | 
 | 
											
												
													
														|  | -h1 {
 |  | 
 | 
											
												
													
														|  | -  font-size: 36px;
 |  | 
 | 
											
												
													
														|  | -  margin: 0;
 |  | 
 | 
											
												
													
														|  | -}
 |  | 
 | 
											
												
													
														|  |  </style>
 |  |  </style>
 |