Mercurial > gemma
comparison client/src/components/importoverview/AdditionalDetail.vue @ 2602:5d0e5159190f
overview2: detail components for unified log
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 12 Mar 2019 15:00:40 +0100 |
parents | b9523d876d01 |
children | 11fd7ee37f10 |
comparison
equal
deleted
inserted
replaced
2601:b9523d876d01 | 2602:5d0e5159190f |
---|---|
1 <template> | 1 <template> |
2 <div> | 2 <div> |
3 <div v-if="isFairwayDimension">Fairwaydimension</div> | 3 <FairwayDimensionDetail v-if="isFairwayDimension"></FairwayDimensionDetail> |
4 <div v-if="isApprovedGaugeMeasurement">AGM</div> | 4 <ApprovedGaugeMeasurementDetail |
5 <div v-if="isBottleneck">Bottlenecks</div> | 5 v-if="isApprovedGaugeMeasurement" |
6 <div v-if="isStretch">Stretch</div> | 6 ></ApprovedGaugeMeasurementDetail> |
7 <div v-if="isSoundingResult">SoundingResult</div> | 7 <BottleneckDetail v-if="isBottleneck"></BottleneckDetail> |
8 <StretchDetail v-if="isStretch"></StretchDetail> | |
9 <SoundingResultDetail v-if="isSoundingResult"></SoundingResultDetail> | |
8 </div> | 10 </div> |
9 </template> | 11 </template> |
10 | 12 |
11 <script> | 13 <script> |
12 /* This is Free Software under GNU Affero General Public License v >= 3.0 | 14 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
24 */ | 26 */ |
25 | 27 |
26 export default { | 28 export default { |
27 name: "additionaldetail", | 29 name: "additionaldetail", |
28 props: ["entry"], | 30 props: ["entry"], |
31 components: { | |
32 SoundingResultDetail: () => import("./SoundingResultDetail.vue"), | |
33 BottleneckDetail: () => import("./BottleneckDetail.vue"), | |
34 StretchDetail: () => import("./StretchDetails.vue"), | |
35 ApprovedGaugeMeasurementDetail: () => | |
36 import("./ApprovedGaugeMeasurementDetail.vue"), | |
37 FairwayDimensionDetail: () => import("./FairwayDimension.vue") | |
38 }, | |
29 computed: { | 39 computed: { |
30 kind() { | 40 kind() { |
31 return this.entry.kind.toUpperCase(); | 41 return this.entry.kind.toUpperCase(); |
32 }, | 42 }, |
33 isFairwayDimension() { | 43 isFairwayDimension() { |