Mercurial > gemma
annotate client/src/components/importconfiguration/ImportDetails.vue @ 5356:3216b4a19023 extented-report
spinner added to info tool's download link for DQL reports
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Tue, 22 Jun 2021 14:44:34 +0200 |
parents | 69cc3d3047ab |
children | 1695e17c5a83 |
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 > |
4903
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
13 <optgroup :label="onetimeLabel"> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
14 <option :value="$options.IMPORTTYPES.SOUNDINGRESULTS"> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
15 <translate>Soundingresults</translate> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
16 </option> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
17 <option :value="$options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS"> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
18 <translate>Approved Gaugemeasurements</translate> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
19 </option> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
20 <option :value="$options.IMPORTTYPES.WATERWAYPROFILES"> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
21 <translate>Waterway Profiles</translate> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
22 </option> |
69cc3d3047ab
moved onetime imports to top in import selection
Thomas Junk <thomas.junk@intevation.de>
parents:
4900
diff
changeset
|
23 </optgroup> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
24 <optgroup :label="regularLabel"> |
3417
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
25 <option :value="$options.IMPORTTYPES.WATERWAYAREA"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
26 <translate>Waterway area</translate> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
27 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
28 <option :value="$options.IMPORTTYPES.WATERWAYAXIS"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
29 <translate>Waterway axis</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
30 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
31 <option :value="$options.IMPORTTYPES.FAIRWAYDIMENSION"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
32 <translate>Fairway dimension</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
33 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
34 <option :value="$options.IMPORTTYPES.DISTANCEMARKSVIRTUAL"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
35 <translate>Distance marks virtual</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
36 </option> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
37 <option :value="$options.IMPORTTYPES.DISTANCEMARKSASHORE"> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
38 <translate>Distance marks ashore</translate> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
39 </option> |
3417
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
40 <option :value="$options.IMPORTTYPES.WATERWAYGAUGES"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
41 <translate>Waterway gauges</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
42 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
43 <option :value="$options.IMPORTTYPES.BOTTLENECK"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
44 <translate>Bottlenecks</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
45 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
46 <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
47 <translate>Available fairway depths</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
48 </option> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
49 <option :value="$options.IMPORTTYPES.GAUGEMEASUREMENT"> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
50 <translate>Gauge measurement</translate> |
604ce439e1fd
Reordered import types in "new import" menu.
Sascha Wilde <wilde@intevation.de>
parents:
3281
diff
changeset
|
51 </option> |
4900
bbcea42bba87
Backed out changeset d5790fcb8df6
Thomas Junk <thomas.junk@intevation.de>
parents:
4887
diff
changeset
|
52 <option :value="$options.IMPORTTYPES.FAIRWAYMARKS"> |
bbcea42bba87
Backed out changeset d5790fcb8df6
Thomas Junk <thomas.junk@intevation.de>
parents:
4887
diff
changeset
|
53 <translate>Fairwaymarks</translate> |
bbcea42bba87
Backed out changeset d5790fcb8df6
Thomas Junk <thomas.junk@intevation.de>
parents:
4887
diff
changeset
|
54 </option> |
3281
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
55 </optgroup> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
56 </select> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
57 </div> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
58 <ApprovedGaugeMeasurement |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
59 v-if="Import === $options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS" |
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 /> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
62 <WaterwayProfiles |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
63 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
64 v-if="Import === $options.IMPORTTYPES.WATERWAYPROFILES" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
65 /> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
66 <SoundingResults |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
67 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
68 v-if="Import === $options.IMPORTTYPES.SOUNDINGRESULTS" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
69 /> |
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 class="mt-1" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
72 v-if="Import && !isOnetime" |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
73 ></ScheduledImports> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
74 </div> |
439e1865a2d2
client: define stretches/imports: code cleanup / style improvements
Markus Kottlaender <markus@intevation.de>
parents:
2998
diff
changeset
|
75 <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
|
76 <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
|
77 Back |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
78 </button> |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
79 </div> |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
80 </div> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
81 </template> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
82 |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
83 <style lang="scss" scoped></style> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
84 |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
85 <script> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
86 /* 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
|
87 * without warranty, see README.md and license for details. |
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 * SPDX-License-Identifier: AGPL-3.0-or-later |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
90 * License-Filename: LICENSES/AGPL-3.0.txt |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
91 * |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
92 * Copyright (C) 2018, 2019 by via donau |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
93 * – Österreichische Wasserstraßen-Gesellschaft mbH |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
94 * Software engineering by Intevation GmbH |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
95 * |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
96 * Author(s): |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
97 * Thomas Junk <thomas.junk@intevation.de> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
98 * Tom Gottfried <tom.gottfried@intevation.de> |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
99 */ |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
100 import { IMPORTTYPES } from "@/store/importschedule"; |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
101 import { mapState } from "vuex"; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
102 export default { |
2974
e161e1ffb6b5
unified_imports: AGM moved to new interface
Thomas Junk <thomas.junk@intevation.de>
parents:
2972
diff
changeset
|
103 components: { |
2985
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
104 ApprovedGaugeMeasurement: () => import("./types/ApprovedGaugeMeasurement"), |
2978
d6dd158b8071
unified_import: reorganizing files
Thomas Junk <thomas.junk@intevation.de>
parents:
2977
diff
changeset
|
105 WaterwayProfiles: () => import("./types/WaterwayProfiles"), |
2985
1b8bb4f89227
client: removed .js and .vue extention from imports
Markus Kottlaender <markus@intevation.de>
parents:
2979
diff
changeset
|
106 SoundingResults: () => import("./types/Soundingresults"), |
2993
ec3196e2d579
imports: moved scheduled imports component in filesystem
Thomas Junk <thomas.junk@intevation.de>
parents:
2985
diff
changeset
|
107 ScheduledImports: () => import("./ScheduledImports") |
2974
e161e1ffb6b5
unified_imports: AGM moved to new interface
Thomas Junk <thomas.junk@intevation.de>
parents:
2972
diff
changeset
|
108 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
109 data() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
110 return {}; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
111 }, |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
112 computed: { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
113 ...mapState("importschedule", ["currentSchedule"]), |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
114 isOnetime() { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
115 for (let kind of [ |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
116 this.$options.IMPORTTYPES.SOUNDINGRESULTS, |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
117 this.$options.IMPORTTYPES.APPROVEDGAUGEMEASUREMENTS, |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
118 this.$options.IMPORTTYPES.WATERWAYPROFILES |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
119 ]) { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
120 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
|
121 } |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
122 return false; |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
123 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
124 Import: { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
125 get() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
126 return this.currentSchedule.importType; |
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 set(value) { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
129 this.$store.commit("importschedule/setImportType", value); |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
130 } |
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 onetimeLabel() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
133 return this.$gettext("Onetime 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 regularLabel() { |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
136 return this.$gettext("Regular Imports"); |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
137 } |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
138 }, |
2979
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
139 methods: { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
140 back() { |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
141 this.$store.commit("importschedule/setListMode"); |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
142 } |
8f266dc8b4e3
unified_imports: moved imports partially to new UI
Thomas Junk <thomas.junk@intevation.de>
parents:
2978
diff
changeset
|
143 }, |
2972
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
144 IMPORTTYPES: IMPORTTYPES |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
145 }; |
6f351e00e579
unified_imports: initial layout etd
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
146 </script> |