comparison client/src/components/importoverview/LogDetail.vue @ 3358:c0c880553cd5

client: import review: added section details (actually just the link to move the map to the feature)
author Markus Kottlaender <markus@intevation.de>
date Tue, 21 May 2019 16:31:22 +0200
parents 1b8bb4f89227
children 45307cf4931a
comparison
equal deleted inserted replaced
3357:8d6e70a9ffcb 3358:c0c880553cd5
1 <template> 1 <template>
2 <div> 2 <div>
3 <div 3 <div
4 class="d-flex border-bottom" 4 class="d-flex border-bottom"
5 style="padding-left: 3px;" 5 style="padding-left: 3px;"
6 v-if="hasAdditionalInfo || isST || isSR" 6 v-if="hasAdditionalInfo || isST || isSEC || isSR"
7 > 7 >
8 <div v-if="hasAdditionalInfo"> 8 <div v-if="hasAdditionalInfo">
9 <UISpinnerButton 9 <UISpinnerButton
10 @click="toggleAdditionalInfo" 10 @click="toggleAdditionalInfo"
11 :state="entry.id === showAdditional" 11 :state="entry.id === showAdditional"
25 <span class="text-left" v-if="isFD"> 25 <span class="text-left" v-if="isFD">
26 {{ details.summary["source-organization"] }} 26 {{ details.summary["source-organization"] }}
27 (LOS: {{ details.summary.los }}) 27 (LOS: {{ details.summary.los }})
28 </span> 28 </span>
29 </div> 29 </div>
30 <StretchDetail v-if="isST && isPending" :entry="entry" /> 30 <SectionDetails v-if="isSEC && isPending" :entry="entry" />
31 <StretchDetails v-if="isST && isPending" :entry="entry" />
31 <SoundingResultDetail :entry="entry" v-if="isSR && isPending" /> 32 <SoundingResultDetail :entry="entry" v-if="isSR && isPending" />
32 </div> 33 </div>
33 <div 34 <div
34 v-if="entry.id === showAdditional && isPending && (isFD || isAGM || isBN)" 35 v-if="entry.id === showAdditional && isPending && (isFD || isAGM || isBN)"
35 class="d-flex border-bottom" 36 class="d-flex border-bottom"
69 import { mapState } from "vuex"; 70 import { mapState } from "vuex";
70 71
71 export default { 72 export default {
72 components: { 73 components: {
73 SoundingResultDetail: () => import("./SoundingResultDetail"), 74 SoundingResultDetail: () => import("./SoundingResultDetail"),
74 StretchDetail: () => import("./StretchDetails"), 75 StretchDetails: () => import("./StretchDetails"),
76 SectionDetails: () => import("./SectionDetails"),
75 FairwayDimensionDetail: () => import("./FairwayDimensionDetail"), 77 FairwayDimensionDetail: () => import("./FairwayDimensionDetail"),
76 ApprovedGaugeMeasurementDetail: () => 78 ApprovedGaugeMeasurementDetail: () =>
77 import("./ApprovedGaugeMeasurementDetail"), 79 import("./ApprovedGaugeMeasurementDetail"),
78 BottleneckDetail: () => import("./BottleneckDetail"), 80 BottleneckDetail: () => import("./BottleneckDetail"),
79 AdditionalLog: () => import("./AdditionalLog") 81 AdditionalLog: () => import("./AdditionalLog")
100 return this.kind === "BN" || this.kind === "UBN"; 102 return this.kind === "BN" || this.kind === "UBN";
101 }, 103 },
102 isST() { 104 isST() {
103 return this.kind === "ST"; 105 return this.kind === "ST";
104 }, 106 },
107 isSEC() {
108 return this.kind === "SEC";
109 },
105 isSR() { 110 isSR() {
106 return this.kind === "SR"; 111 return this.kind === "SR";
107 } 112 }
108 }, 113 },
109 methods: { 114 methods: {