|
@@ -1,13 +1,17 @@
|
|
|
<template>
|
|
|
- <groups-match-table :groups="groups" :majors="majors" hidden-rank></groups-match-table>
|
|
|
+ <div v-if="majors.length&&groups.length">
|
|
|
+ <report-section-title class="new-page">自选专业</report-section-title>
|
|
|
+ <groups-match-table :groups="groups" :majors="majors" hidden-rank></groups-match-table>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import GroupsMatchTable from '@/views/elective/select/components/groups-match-table'
|
|
|
+import ReportSectionTitle from '@/views/elective/report/components/report-section-title'
|
|
|
|
|
|
export default {
|
|
|
name: 'major-match-optional',
|
|
|
- components: { GroupsMatchTable },
|
|
|
+ components: { ReportSectionTitle, GroupsMatchTable },
|
|
|
inject: ['getGeneration', 'getOptionalMajors'],
|
|
|
computed: {
|
|
|
groups() {
|