Mercurial > gemma
diff client/src/components/importschedule/Importscheduledetail.vue @ 1789:4a7aa3f57efe
importschedule: frontend for WW_Area and Fairwaydimensions
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Mon, 14 Jan 2019 10:33:20 +0100 |
parents | bd72d1a7ffe6 |
children | 0f98ef2531a5 |
line wrap: on
line diff
--- a/client/src/components/importschedule/Importscheduledetail.vue Sun Jan 13 13:47:08 2019 +0100 +++ b/client/src/components/importschedule/Importscheduledetail.vue Mon Jan 14 10:33:20 2019 +0100 @@ -34,6 +34,12 @@ <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY" ><translate>Available Fairway Depths</translate></option > + <option :value="$options.IMPORTTYPES.WATERWAYAREA" + ><translate>Waterwayarea</translate></option + > + <option :value="$options.IMPORTTYPES.FAIRWAYDIMENSIONS" + ><translate>Fairwaydimensions</translate></option + > </select> </div> <div class="flex-column ml-4"> @@ -496,6 +502,8 @@ case this.$options.IMPORTTYPES.WATERWAYAXIS: case this.$options.IMPORTTYPES.GAUGEMEASUREMENT: case this.$options.IMPORTTYPES.FAIRWAYAVAILABILITY: + case this.$options.IMPORTTYPES.WATERWAYAREA: + case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: return true; default: return false; @@ -504,6 +512,8 @@ isFeatureTypeRequired() { switch (this.import_) { case this.$options.IMPORTTYPES.WATERWAYAXIS: + case this.$options.IMPORTTYPES.WATERWAYAREA: + case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: return true; default: return false; @@ -512,6 +522,8 @@ isSortbyRequired() { switch (this.import_) { case this.$options.IMPORTTYPES.WATERWAYAXIS: + case this.$options.IMPORTTYPES.WATERWAYAREA: + case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: return true; default: return false;