Mercurial > gemma
changeset 1749:0a6b2ace7b7e
Gauge measurement, Fairway availability implemented
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 10 Jan 2019 14:56:17 +0100 |
parents | c11807dc6940 |
children | b28faf6fbf98 |
files | client/src/components/importschedule/Importscheduledetail.vue client/src/store/imports.js |
diffstat | 2 files changed, 11 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/client/src/components/importschedule/Importscheduledetail.vue Thu Jan 10 14:52:26 2019 +0100 +++ b/client/src/components/importschedule/Importscheduledetail.vue Thu Jan 10 14:56:17 2019 +0100 @@ -28,6 +28,12 @@ <option :value="$options.IMPORTTYPES.WATERWAYAXIS" ><translate>Waterway axis</translate></option > + <option :value="$options.IMPORTTYPES.GAUGEMEASUREMENT" + ><translate>Gauge measurement</translate></option + > + <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY" + ><translate>Fairway availability</translate></option + > </select> </div> <div class="flex-column ml-4"> @@ -484,6 +490,8 @@ switch (this.import_) { case this.$options.IMPORTTYPES.BOTTLENECK: case this.$options.IMPORTTYPES.WATERWAYAXIS: + case this.$options.IMPORTTYPES.GAUGEMEASUREMENT: + case this.$options.IMPORTTYPES.FAIRWAYAVAILABILITY: return true; default: return false;
--- a/client/src/store/imports.js Thu Jan 10 14:52:26 2019 +0100 +++ b/client/src/store/imports.js Thu Jan 10 14:56:17 2019 +0100 @@ -25,7 +25,9 @@ const IMPORTTYPES = { BOTTLENECK: "bottleneck", - WATERWAYAXIS: "waterwayaxis" + WATERWAYAXIS: "waterwayaxis", + GAUGEMEASUREMENT: "gaugemeasurement", + FAIRWAYAVAILABILITY: "fairwayawailability" }; const SCHEDULES = {