Mercurial > gemma
comparison client/src/components/importoverview/AdditionalDetail.vue @ 2608:13377f2a5c42
overview2: agm details prototype implemented
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Wed, 13 Mar 2019 09:45:29 +0100 |
parents | 11fd7ee37f10 |
children | c52bf6f994c0 |
comparison
equal
deleted
inserted
replaced
2607:ee60096c7eb6 | 2608:13377f2a5c42 |
---|---|
7 <ApprovedGaugeMeasurementDetail | 7 <ApprovedGaugeMeasurementDetail |
8 :entry="entry" | 8 :entry="entry" |
9 v-if="isApprovedGaugeMeasurement" | 9 v-if="isApprovedGaugeMeasurement" |
10 ></ApprovedGaugeMeasurementDetail> | 10 ></ApprovedGaugeMeasurementDetail> |
11 <BottleneckDetail :entry="entry" v-if="isBottleneck"></BottleneckDetail> | 11 <BottleneckDetail :entry="entry" v-if="isBottleneck"></BottleneckDetail> |
12 <SoundingResultDetail | |
13 :entry="entry" | |
14 v-if="isSoundingResult" | |
15 ></SoundingResultDetail> | |
16 </div> | 12 </div> |
17 </template> | 13 </template> |
18 | 14 |
19 <script> | 15 <script> |
20 /* This is Free Software under GNU Affero General Public License v >= 3.0 | 16 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
33 | 29 |
34 export default { | 30 export default { |
35 name: "additionaldetail", | 31 name: "additionaldetail", |
36 props: ["entry"], | 32 props: ["entry"], |
37 components: { | 33 components: { |
38 SoundingResultDetail: () => import("./SoundingResultDetail.vue"), | |
39 BottleneckDetail: () => import("./BottleneckDetail.vue"), | 34 BottleneckDetail: () => import("./BottleneckDetail.vue"), |
40 ApprovedGaugeMeasurementDetail: () => | 35 ApprovedGaugeMeasurementDetail: () => |
41 import("./ApprovedGaugeMeasurementDetail.vue"), | 36 import("./ApprovedGaugeMeasurementDetail.vue"), |
42 FairwayDimensionDetail: () => import("./FairwayDimension.vue") | 37 FairwayDimensionDetail: () => import("./FairwayDimension.vue") |
43 }, | 38 }, |
51 isApprovedGaugeMeasurement() { | 46 isApprovedGaugeMeasurement() { |
52 return this.kind === "AGM"; | 47 return this.kind === "AGM"; |
53 }, | 48 }, |
54 isBottleneck() { | 49 isBottleneck() { |
55 return this.kind === "BN" || this.kind === "UBN"; | 50 return this.kind === "BN" || this.kind === "UBN"; |
56 }, | |
57 isStretch() { | |
58 return this.kind === "ST"; | |
59 }, | |
60 isSoundingResult() { | |
61 return this.kind === "SR"; | |
62 } | 51 } |
63 } | 52 } |
64 }; | 53 }; |
65 </script> | 54 </script> |
66 | 55 |