elective-test-reports.vue 901 B

12345678910111213141516171819202122232425262728
  1. <template>
  2. <div class="fx-column" style="padding: 0 100px">
  3. <index-card title="选科测评">
  4. <test-result :all-test-results="testResults" :selected-majors="summary.selectedList" readonly></test-result>
  5. </index-card>
  6. <index-card v-for="test in testResults" :key="test.key" :title="test.title" class="elective-report-card mt20">
  7. <test-report :category="test.key" :source="test.result" readonly></test-report>
  8. </index-card>
  9. </div>
  10. </template>
  11. <script>
  12. import TestSummary from '@/views/elective/test/components/test-summary'
  13. import IndexCard from '@/views/index/components/index-card'
  14. import TestReport from '@/views/elective/test/components/test-report'
  15. export default {
  16. name: 'elective-test-reports',
  17. extends: TestSummary,
  18. components: { TestReport, IndexCard }
  19. }
  20. </script>
  21. <style scoped>
  22. .elective-report-card > /deep/ .el-card__body {
  23. padding: 0;
  24. }
  25. </style>