# HG changeset patch # User Thomas Junk # Date 1548333816 -3600 # Node ID fda5c78fb7d36490e3ff6bcd09aa9c332673b303 # Parent 29f02d0043a99b805d8aa0d1ffea77a3c01ea774 moved components diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Availablefairwaydepth.vue --- a/client/src/components/importschedule/Availablefairwaydepth.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Bottleneck.vue --- a/client/src/components/importschedule/Bottleneck.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Distancemarksvirtual.vue --- a/client/src/components/importschedule/Distancemarksvirtual.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Fairwaydimensions.vue --- a/client/src/components/importschedule/Fairwaydimensions.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,178 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Gaugemeasurement.vue --- a/client/src/components/importschedule/Gaugemeasurement.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,52 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Importscheduledetail.vue --- a/client/src/components/importschedule/Importscheduledetail.vue Wed Jan 23 16:50:33 2019 +0100 +++ b/client/src/components/importschedule/Importscheduledetail.vue Thu Jan 24 13:43:36 2019 +0100 @@ -72,27 +72,73 @@
@@ -344,14 +390,22 @@ export default { name: "importscheduledetail", components: { - Availablefairwaydepth: () => import("./Availablefairwaydepth"), - Bottleneck: () => import("./Bottleneck"), - Distancemarksvirtual: () => import("./Distancemarksvirtual"), - Faiwaydimensions: () => import("./Fairwaydimensions"), - Gaugemeasurement: () => import("./Gaugemeasurement"), - Waterwayarea: () => import("./Waterwayarea"), - Waterwaygauges: () => import("./Waterwaygauges"), - Waterwayaxis: () => import("./Waterwayaxis") + Availablefairwaydepth: () => + import("@/components/importschedule/importtypes/Availablefairwaydepth"), + Bottleneck: () => + import("@/components/importschedule/importtypes/Bottleneck"), + Distancemarksvirtual: () => + import("@/components/importschedule/importtypes/Distancemarksvirtual"), + Faiwaydimensions: () => + import("@/components/importschedule/importtypes/Fairwaydimensions"), + Gaugemeasurement: () => + import("@/components/importschedule/importtypes/Gaugemeasurement"), + Waterwayarea: () => + import("@/components/importschedule/importtypes/Waterwayarea"), + Waterwaygauges: () => + import("@/components/importschedule/importtypes/Waterwaygauges"), + Waterwayaxis: () => + import("@/components/importschedule/importtypes/Waterwayaxis") }, data() { return { @@ -433,16 +487,42 @@ }, computed: { ...mapState("imports", ["importScheduleDetailVisible", "currentSchedule"]), - showPassword() { - if (this.passwordVisible) return "text"; - return "password"; - }, dialogLabel() { if (this.id) return this.$gettext("Import") + " " + this.id; return this.$gettext("New Import"); } }, methods: { + setUrl(value) { + this.url = value; + }, + setFeatureType(value) { + this.featureType = value; + }, + setSortBy(value) { + this.sortBy = value; + }, + setUsername(value) { + this.username = value; + }, + setPassword(value) { + this.password = value; + }, + setLOS(value) { + this.LOS = value; + }, + setMinWidth(value) { + this.minWidth = value; + }, + setMaxWidth(value) { + this.maxWidth = value; + }, + setDepth(value) { + this.depth = value; + }, + setSourceOrganization(value) { + this.sourceOrganization = value; + }, calcCronString() { let getValue = value => { return this[value] ? this[value] : "*"; diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Waterwayarea.vue --- a/client/src/components/importschedule/Waterwayarea.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Waterwayaxis.vue --- a/client/src/components/importschedule/Waterwayaxis.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,84 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/Waterwaygauges.vue --- a/client/src/components/importschedule/Waterwaygauges.vue Wed Jan 23 16:50:33 2019 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,92 +0,0 @@ - - - - - diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Availablefairwaydepth.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Availablefairwaydepth.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,38 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Bottleneck.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Bottleneck.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,63 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Distancemarksvirtual.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Distancemarksvirtual.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,105 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Fairwaydimensions.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Fairwaydimensions.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,223 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Gaugemeasurement.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Gaugemeasurement.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,38 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Waterwayarea.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Waterwayarea.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,86 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Waterwayaxis.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Waterwayaxis.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,86 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/components/importschedule/importtypes/Waterwaygauges.vue --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/src/components/importschedule/importtypes/Waterwaygauges.vue Thu Jan 24 13:43:36 2019 +0100 @@ -0,0 +1,105 @@ + + + + + diff -r 29f02d0043a9 -r fda5c78fb7d3 client/src/store/imports.js --- a/client/src/store/imports.js Wed Jan 23 16:50:33 2019 +0100 +++ b/client/src/store/imports.js Thu Jan 24 13:43:36 2019 +0100 @@ -88,7 +88,7 @@ sortBy: null, username: "", password: "", - LOS: null, + LOS: 1, minWidth: null, maxWidth: null, depth: null,