Mercurial > gemma
comparison 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 |
comparison
equal
deleted
inserted
replaced
1788:00f34a00e6d5 | 1789:4a7aa3f57efe |
---|---|
31 <option :value="$options.IMPORTTYPES.GAUGEMEASUREMENT" | 31 <option :value="$options.IMPORTTYPES.GAUGEMEASUREMENT" |
32 ><translate>Gauge measurement</translate></option | 32 ><translate>Gauge measurement</translate></option |
33 > | 33 > |
34 <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY" | 34 <option :value="$options.IMPORTTYPES.FAIRWAYAVAILABILITY" |
35 ><translate>Available Fairway Depths</translate></option | 35 ><translate>Available Fairway Depths</translate></option |
36 > | |
37 <option :value="$options.IMPORTTYPES.WATERWAYAREA" | |
38 ><translate>Waterwayarea</translate></option | |
39 > | |
40 <option :value="$options.IMPORTTYPES.FAIRWAYDIMENSIONS" | |
41 ><translate>Fairwaydimensions</translate></option | |
36 > | 42 > |
37 </select> | 43 </select> |
38 </div> | 44 </div> |
39 <div class="flex-column ml-4"> | 45 <div class="flex-column ml-4"> |
40 <div class="flex-row text-left"> | 46 <div class="flex-row text-left"> |
494 switch (this.import_) { | 500 switch (this.import_) { |
495 case this.$options.IMPORTTYPES.BOTTLENECK: | 501 case this.$options.IMPORTTYPES.BOTTLENECK: |
496 case this.$options.IMPORTTYPES.WATERWAYAXIS: | 502 case this.$options.IMPORTTYPES.WATERWAYAXIS: |
497 case this.$options.IMPORTTYPES.GAUGEMEASUREMENT: | 503 case this.$options.IMPORTTYPES.GAUGEMEASUREMENT: |
498 case this.$options.IMPORTTYPES.FAIRWAYAVAILABILITY: | 504 case this.$options.IMPORTTYPES.FAIRWAYAVAILABILITY: |
505 case this.$options.IMPORTTYPES.WATERWAYAREA: | |
506 case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: | |
499 return true; | 507 return true; |
500 default: | 508 default: |
501 return false; | 509 return false; |
502 } | 510 } |
503 }, | 511 }, |
504 isFeatureTypeRequired() { | 512 isFeatureTypeRequired() { |
505 switch (this.import_) { | 513 switch (this.import_) { |
506 case this.$options.IMPORTTYPES.WATERWAYAXIS: | 514 case this.$options.IMPORTTYPES.WATERWAYAXIS: |
515 case this.$options.IMPORTTYPES.WATERWAYAREA: | |
516 case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: | |
507 return true; | 517 return true; |
508 default: | 518 default: |
509 return false; | 519 return false; |
510 } | 520 } |
511 }, | 521 }, |
512 isSortbyRequired() { | 522 isSortbyRequired() { |
513 switch (this.import_) { | 523 switch (this.import_) { |
514 case this.$options.IMPORTTYPES.WATERWAYAXIS: | 524 case this.$options.IMPORTTYPES.WATERWAYAXIS: |
525 case this.$options.IMPORTTYPES.WATERWAYAREA: | |
526 case this.$options.IMPORTTYPES.FAIRWAYDIMENSIONS: | |
515 return true; | 527 return true; |
516 default: | 528 default: |
517 return false; | 529 return false; |
518 } | 530 } |
519 }, | 531 }, |