Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<template>
<v-container>
<v-row>
<v-col cols="9">
<h1 class="primary--text">{{ reportCardStructure.title }}</h1>
<v-divider />
<br />
<div
v-for="section in reportCardStructure.sections"
:key="section.id"
class="section-container"
>
<ReportCardSection :section-description="section" />
<v-divider />
</div>
</v-col>
<v-col cols="3">
<Navigator :report-card-structure="reportCardStructure" />
</v-col>
</v-row>
</v-container>
</template>
<script>
import Navigator from '~/components/report_cards/Navigator.vue'
import ReportCardSection from '~/components/report_cards/shared/ReportCardSection.vue'
export default {
components: {
Navigator,
ReportCardSection,
},
props: {
reportCardStructure: {
type: Object,
default: () => {},
},
},
}
</script>
<style>
.section-container {
padding: 10px 0;
margin-bottom: 10px;
}
</style>