2594
|
1 <template>
|
|
2 <div>
|
2601
|
3 <div v-if="isFairwayDimension">Fairwaydimension</div>
|
|
4 <div v-if="isApprovedGaugeMeasurement">AGM</div>
|
|
5 <div v-if="isBottleneck">Bottlenecks</div>
|
|
6 <div v-if="isStretch">Stretch</div>
|
|
7 <div v-if="isSoundingResult">SoundingResult</div>
|
2594
|
8 </div>
|
|
9 </template>
|
|
10
|
|
11 <script>
|
|
12 /* This is Free Software under GNU Affero General Public License v >= 3.0
|
|
13 * without warranty, see README.md and license for details.
|
|
14 *
|
|
15 * SPDX-License-Identifier: AGPL-3.0-or-later
|
|
16 * License-Filename: LICENSES/AGPL-3.0.txt
|
|
17 *
|
|
18 * Copyright (C) 2018 by via donau
|
|
19 * – Österreichische Wasserstraßen-Gesellschaft mbH
|
|
20 * Software engineering by Intevation GmbH
|
|
21 *
|
|
22 * Author(s):
|
|
23 * Thomas Junk <thomas.junk@intevation.de>
|
|
24 */
|
|
25
|
|
26 export default {
|
|
27 name: "additionaldetail",
|
2601
|
28 props: ["entry"],
|
|
29 computed: {
|
|
30 kind() {
|
|
31 return this.entry.kind.toUpperCase();
|
|
32 },
|
|
33 isFairwayDimension() {
|
|
34 return this.kind === "FD";
|
|
35 },
|
|
36 isApprovedGaugeMeasurement() {
|
|
37 return this.kind === "AGM";
|
|
38 },
|
|
39 isBottleneck() {
|
|
40 return this.kind === "BN" || this.kind === "UBN";
|
|
41 },
|
|
42 isStretch() {
|
|
43 return this.kind === "ST";
|
|
44 },
|
|
45 isSoundingResult() {
|
|
46 return this.kind === "SR";
|
|
47 }
|
|
48 }
|
2594
|
49 };
|
|
50 </script>
|
|
51
|
|
52 <style></style>
|