Mercurial > gemma
annotate client/src/components/ImportApprovedGaugeMeasurement.vue @ 2442:9b7138751f5b
staging: layout logs
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Fri, 01 Mar 2019 12:07:34 +0100 |
parents | f185503ef35a |
children | bb5286acfee2 |
rev | line source |
---|---|
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
1 <template> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
2 <div class="d-flex flex-row"> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
3 <Spacer></Spacer> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
4 <div class="card sysconfig mt-3 shadow-xs w-100 h-100 mr-3"> |
2387
f185503ef35a
client: unified box's header styles by creating a reusable component
Markus Kottlaender <markus@intevation.de>
parents:
2366
diff
changeset
|
5 <UIBoxHeader icon="upload" title="Import approved gaugemeasurements" /> |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
6 <div class="card-body stretches-card"> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
7 <div class="w-95 ml-auto mr-auto mt-4 mb-4"> |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
8 <div class="d-flex flex-column text-left w-25"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
9 <label class="text-nowrap" for="originator"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
10 <small class="text-muted" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
11 >{{ $options.ORIGINATOR }} / {{ $options.FROM }}</small |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
12 > |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
13 </label> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
14 <input |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
15 type="text" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
16 v-model="originator" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
17 class="form-control" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
18 id="originator" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
19 /> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
20 <span class="text-left text-danger"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
21 <small v-if="!originator"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
22 <translate>Please enter an originator</translate> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
23 </small> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
24 </span> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
25 </div> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
26 <div class="mt-4 flex-column w-100"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
27 <div class="custom-file"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
28 <input |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
29 accept=".csv" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
30 type="file" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
31 @change="fileSelected" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
32 class="custom-file-input" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
33 id="uploadFile" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
34 /> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
35 <label class="pointer custom-file-label" for="uploadFile"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
36 {{ uploadLabel }} |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
37 </label> |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
38 </div> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
39 </div> |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
40 </div> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
41 <div class="buttons text-right"> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
42 <button |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
43 :disabled="disableUploadButton" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
44 @click="submit" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
45 class="btn btn-info mt-4" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
46 type="button" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
47 > |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
48 <font-awesome-icon |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
49 class="fa-fw mr-2" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
50 fixed-width |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
51 icon="play" |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
52 ></font-awesome-icon> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
53 <translate>Trigger import</translate> |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
54 </button> |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
55 </div> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
56 </div> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
57 </div> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
58 </div> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
59 </template> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
60 |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
61 <script> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
62 /* This is Free Software under GNU Affero General Public License v >= 3.0 |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
63 * without warranty, see README.md and license for details. |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
64 * |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
65 * SPDX-License-Identifier: AGPL-3.0-or-later |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
66 * License-Filename: LICENSES/AGPL-3.0.txt |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
67 * |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
68 * Copyright (C) 2018 by via donau |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
69 * – Österreichische Wasserstraßen-Gesellschaft mbH |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
70 * Software engineering by Intevation GmbH |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
71 * |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
72 * Author(s): |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
73 * Thomas Junk <thomas.junk@intevation.de> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
74 */ |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
75 |
1784
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
76 import { HTTP } from "@/lib/http"; |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
77 import { displayError, displayInfo } from "@/lib/errors.js"; |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
78 import app from "@/main"; |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
79 |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
80 export default { |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
81 name: "importapprovedgaugemeasurements", |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
82 data() { |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
83 return { |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
84 disableUploadButton: false, |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
85 uploadLabel: this.$gettext("choose file to upload"), |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
86 uploadFile: null, |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
87 originator: "viadonau" |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
88 }; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
89 }, |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
90 methods: { |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
91 initialState() { |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
92 this.uploadLabel = this.$gettext("choose file to upload"); |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
93 this.uploadFile = null; |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
94 this.originator = "viadonau"; |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
95 }, |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
96 fileSelected(e) { |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
97 const files = e.target.files || e.dataTransfer.files; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
98 if (!files) return; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
99 this.uploadLabel = files[0].name; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
100 this.uploadFile = files[0]; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
101 }, |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
102 submit() { |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
103 if (!this.originator || !this.uploadFile) return; |
1784
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
104 let formData = new FormData(); |
2255
33af355047e1
Approved gauge meassurement import: Unified file upload parameter to 'agm'.
Sascha L. Teichmann <sascha.teichmann@intevation.de>
parents:
2154
diff
changeset
|
105 formData.append("agm", this.uploadFile); |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
106 formData.append("originator", this.originator); |
2144
e22a354a2312
approved_gauge_measurements: url adjusted
Thomas Junk <thomas.junk@intevation.de>
parents:
2123
diff
changeset
|
107 HTTP.post("/imports/agm", formData, { |
1784
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
108 headers: { |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
109 "X-Gemma-Auth": localStorage.getItem("token"), |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
110 "Content-Type": "multipart/form-data" |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
111 } |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
112 }) |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
113 .then(() => { |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
114 displayInfo({ |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
115 title: this.$gettext("Import"), |
1804 | 116 message: this.$gettext( |
117 "Starting import of Approved Gauge Measurements" | |
118 ) | |
1784
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
119 }); |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
120 this.initialState(); |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
121 }) |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
122 .catch(error => { |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
123 const { status, data } = error.response; |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
124 displayError({ |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
125 title: this.$gettext("Backend Error"), |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
126 message: `${status}: ${data.message || data}` |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
127 }); |
724758455a4e
Submit Approved Gaugemeasurements data to backend.
Sascha Wilde <wilde@intevation.de>
parents:
1753
diff
changeset
|
128 }); |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
129 } |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
130 }, |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
131 components: { |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
132 Spacer: () => import("./Spacer") |
2366
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
133 }, |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
134 ORIGINATOR: app.$gettext("originator"), |
ff1e4f1b54c6
agm_import: originator field added
Thomas Junk <thomas.junk@intevation.de>
parents:
2255
diff
changeset
|
135 FROM: app.$gettext("from") |
1753
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
136 }; |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
137 </script> |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
138 |
68bd990dd8e5
feat: added import dialogs for approved gauge meas. and waterway profiles
Thomas Junk <thomas.junk@intevation.de>
parents:
diff
changeset
|
139 <style lang="scss" scoped></style> |