Mercurial > gemma
annotate client/src/components/importconfiguration/ImportDetails.vue @ 4672:c7dc1a6da93d
fairway_profile: calculate scales
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 15 Oct 2019 15:55:12 +0200 |
parents | 604ce439e1fd |
children | b55120fa8913 |
rev | line source |
---|---|
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 <template> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
2 <div class="text-left"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
3 <div> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
4 <div class="p-2 pb-3 border-bottom"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
5 <small class="text-muted"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
6 <translate>Import type</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
7 </small> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
8 <select |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
9 v-model="Import" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
10 class="custom-select custom-select-sm" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
11 id="importtype" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
12 > |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
13 <optgroup :label="regularLabel"> |
3417
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
14 <option :value="$options.IMPORTTYPES.WATERWAYAREA"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
15 <translate>Waterway area</translate> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
16 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
17 <option :value="$options.IMPORTTYPES.WATERWAYAXIS"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
18 <translate>Waterway axis</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
19 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
20 <option :value="$options.IMPORTTYPES.FAIRWAYDIMENSION"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
21 <translate>Fairway dimension</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
22 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
23 <option :value="$options.IMPORTTYPES.DISTANCEMARKSVIRTUAL"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
24 <translate>Distance marks virtual</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
25 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
26 <option :value="$options.IMPORTTYPES.DISTANCEMARKSASHORE"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
27 <translate>Distance marks ashore</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
28 </option> |
3417
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
29 <option :value="$options.IMPORTTYPES.WATERWAYGAUGES"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
30 <translate>Waterway gauges</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
31 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
32 <option :value="$options.IMPORTTYPES.BOTTLENECK"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
33 <translate>Bottlenecks</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
34 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
35 <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
36 <translate>Available fairway depths</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
37 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
38 <option :value="$options.IMPORTTYPES.GAUGEMEASUREMENT"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
39 <translate>Gauge measurement</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
40 </option> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
41 </optgroup> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
42 <optgroup :label="onetimeLabel"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
43 <option :value="$options.IMPORTTYPES.SOUNDINGRESULTS"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
44 <translate>Soundingresults</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
45 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
46 <option :value="$options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
47 <translate>Approved Gaugemeasurements</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
48 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
49 <option :value="$options.IMPORTTYPES.WATERWAYPROFILES"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
50 <translate>Waterway Profiles</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
51 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
52 </optgroup> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
53 </select> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
54 </div> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
55 <ApprovedGaugeMeasurement |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
56 v-if="Import === $options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
57 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
58 /> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
59 <WaterwayProfiles |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
60 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
61 v-if="Import === $options.IMPORTTYPES.WATERWAYPROFILES" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
62 /> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
63 <SoundingResults |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
64 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
65 v-if="Import === $options.IMPORTTYPES.SOUNDINGRESULTS" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
66 /> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
67 <ScheduledImports |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
68 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
69 v-if="Import && !isOnetime" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
70 ></ScheduledImports> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
71 </div> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
72 <div v-if="!Import" class="p-2"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
73 <button :key="1" @click="back()" class="btn btn-sm btn-warning"> |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
74 Back |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
75 </button> |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
76 </div> |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
77 </div> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
78 </template> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
79 |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
80 <style lang="scss" scoped></style> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
81 |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
82 <script> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
83 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
84 * without warranty, see README.md and license for details. |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
85 * |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
86 * SPDX-License-Identifier: AGPL-3.0-or-later |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
87 * License-Filename: LICENSES/AGPL-3.0.txt |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
88 * |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
89 * Copyright (C) 2018, 2019 by via donau |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
90 * – Österreichische Wasserstraßen-Gesellschaft mbH |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
91 * Software engineering by Intevation GmbH |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
92 * |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
93 * Author(s): |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
94 * Thomas Junk <thomas.junk@intevation.de> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
95 * Tom Gottfried <tom.gottfried@intevation.de> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
96 */ |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
97 import { IMPORTTYPES } from "@/store/importschedule"; |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
98 import { mapState } from "vuex"; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
99 export default { |
2974
e161e1ffb6b5
unified_imports: AGM moved to new interface
Thomas Junk <thomas.junk@intevation.de>
parents:
2972
diff
changeset
|
100 components: { |
2985
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
101 ApprovedGaugeMeasurement: () => import("./types/ApprovedGaugeMeasurement"), |
2978
d6dd158b8071
unified_import: reorganizing files
Thomas Junk <thomas.junk@intevation.de>
parents:
2977
diff
changeset
|
102 WaterwayProfiles: () => import("./types/WaterwayProfiles"), |
2985
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
103 SoundingResults: () => import("./types/Soundingresults"), |
2993
ec3196e2d579
imports: moved scheduled imports component in filesystem
Thomas Junk <thomas.junk@intevation.de>
parents:
2985
diff
changeset
|
104 ScheduledImports: () => import("./ScheduledImports") |
2974
e161e1ffb6b5
unified_imports: AGM moved to new interface
Thomas Junk <thomas.junk@intevation.de>
parents:
2972
diff
changeset
|
105 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
106 data() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
107 return {}; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
108 }, |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
109 computed: { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
110 ...mapState("importschedule", ["currentSchedule"]), |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
111 isOnetime() { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
112 for (let kind of [ |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
113 this.$options.IMPORTTYPES.SOUNDINGRESULTS, |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
114 this.$options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS, |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
115 this.$options.IMPORTTYPES.WATERWAYPROFILES |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
116 ]) { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
117 if (kind === this.currentSchedule.importType) return true; |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
118 } |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
119 return false; |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
120 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
121 Import: { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
122 get() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
123 return this.currentSchedule.importType; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
124 }, |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
125 set(value) { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
126 this.$store.commit("importschedule/setImportType", value); |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
127 } |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
128 }, |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
129 onetimeLabel() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
130 return this.$gettext("Onetime Imports"); |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
131 }, |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
132 regularLabel() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
133 return this.$gettext("Regular Imports"); |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
134 } |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
135 }, |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
136 methods: { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
137 back() { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
138 this.$store.commit("importschedule/setListMode"); |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
139 } |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
140 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
141 IMPORTTYPES: IMPORTTYPES |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
142 }; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
143 </script> |