WIP Migrate MyEP vue app
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
// Initialize vue apps
|
||||||
|
import Vue from 'vue'
|
||||||
|
import store from './myep/store'
|
||||||
|
|
||||||
|
new Vue({
|
||||||
|
el: '#myep',
|
||||||
|
store,
|
||||||
|
components: {
|
||||||
|
MyEp: () => import('./myep/App.vue'),
|
||||||
|
},
|
||||||
|
created () {
|
||||||
|
this.$store.dispatch('init');
|
||||||
|
},
|
||||||
|
});
|
||||||
+4
-4
@@ -116,10 +116,10 @@
|
|||||||
<script>
|
<script>
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import 'dayjs/locale/de'
|
import 'dayjs/locale/de'
|
||||||
import 'flatpickr';
|
import 'flatpickr'
|
||||||
import { German } from 'flatpickr/dist/l10n/de';
|
import { German } from 'flatpickr/dist/l10n/de'
|
||||||
import Vue from 'vue';
|
import Vue from 'vue'
|
||||||
import axios from 'axios';
|
import axios from 'axios'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@@ -68,7 +68,7 @@
|
|||||||
import flatpickr from 'flatpickr'
|
import flatpickr from 'flatpickr'
|
||||||
import { German } from 'flatpickr/dist/l10n/de'
|
import { German } from 'flatpickr/dist/l10n/de'
|
||||||
import FormGroup from './components/FormGroup'
|
import FormGroup from './components/FormGroup'
|
||||||
import authenticatedClient from "../api";
|
import authenticatedClient from './api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -35,8 +35,8 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapGetters, mapState } from 'vuex'
|
import { mapGetters, mapState } from 'vuex'
|
||||||
import store from '../store'
|
import store from './store'
|
||||||
import router from '../router'
|
import router from './router'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
store,
|
store,
|
||||||
|
|||||||
@@ -141,20 +141,20 @@
|
|||||||
import Vue from 'vue'
|
import Vue from 'vue'
|
||||||
import VueScrollTo from 'vue-scrollto'
|
import VueScrollTo from 'vue-scrollto'
|
||||||
import AccommodationSelect from './components/AccommodationSelect'
|
import AccommodationSelect from './components/AccommodationSelect'
|
||||||
import ContingentsOverview from './components/ContingentsOverview';
|
import ContingentsOverview from './components/ContingentsOverview'
|
||||||
import MutableFields from './components/MutableFields';
|
import MutableFields from './components/MutableFields'
|
||||||
import Panel from './components/Panel';
|
import Panel from './components/Panel'
|
||||||
import CollapsiblePanel from './components/CollapsiblePanel'
|
import CollapsiblePanel from './components/CollapsiblePanel'
|
||||||
import ParticipantAddressForm from './components/ParticipantAddressForm'
|
import ParticipantAddressForm from './components/ParticipantAddressForm'
|
||||||
import ParticipantDataForm from './components/ParticipantDataForm'
|
import ParticipantDataForm from './components/ParticipantDataForm'
|
||||||
import ParticipantSizesForm from './components/ParticipantSizesForm'
|
import ParticipantSizesForm from './components/ParticipantSizesForm'
|
||||||
import PickupSelect from './components/PickupSelect'
|
import PickupSelect from './components/PickupSelect'
|
||||||
import ServiceSelect from './components/ServiceSelect'
|
import ServiceSelect from './components/ServiceSelect'
|
||||||
import ServicesOverview from './components/ServicesOverview';
|
import ServicesOverview from './components/ServicesOverview'
|
||||||
import TransportationSelect from './components/TransportationSelect';
|
import TransportationSelect from './components/TransportationSelect'
|
||||||
|
|
||||||
import authenticatedClient from '../api';
|
import authenticatedClient from './api'
|
||||||
import {mapGetters, mapMutations, mapState} from 'vuex';
|
import {mapGetters, mapMutations, mapState} from 'vuex'
|
||||||
|
|
||||||
Vue.use(VueScrollTo)
|
Vue.use(VueScrollTo)
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapMutations } from 'vuex'
|
import { mapState, mapMutations } from 'vuex'
|
||||||
import authenticatedClient from '../api'
|
import authenticatedClient from './api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
data () {
|
data () {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapState, mapMutations, mapGetters} from 'vuex'
|
import {mapState, mapMutations, mapGetters} from 'vuex'
|
||||||
import authenticatedClient from "../api";
|
import authenticatedClient from './api'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import 'dayjs/locale/de'
|
import 'dayjs/locale/de'
|
||||||
|
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapGetters, mapMutations } from 'vuex'
|
import { mapState, mapGetters, mapMutations } from 'vuex'
|
||||||
import FormGroup from "./components/FormGroup";
|
import FormGroup from './components/FormGroup'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {FormGroup},
|
components: {FormGroup},
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapMutations } from 'vuex'
|
import { mapState, mapMutations } from 'vuex'
|
||||||
import authenticatedClient from "../api";
|
import authenticatedClient from './api'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
methods: {
|
methods: {
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapMutations } from 'vuex'
|
import { mapState, mapMutations } from 'vuex'
|
||||||
import FormGroup from './components/FormGroup';
|
import FormGroup from './components/FormGroup'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
@@ -84,10 +84,10 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
import { mapState, mapMutations } from 'vuex'
|
import { mapState, mapMutations } from 'vuex'
|
||||||
import authenticatedClient from "../api";
|
import authenticatedClient from './api'
|
||||||
import dayjs from 'dayjs'
|
import dayjs from 'dayjs'
|
||||||
import 'dayjs/locale/de'
|
import 'dayjs/locale/de'
|
||||||
import FormGroup from './components/FormGroup';
|
import FormGroup from './components/FormGroup'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
|
|||||||
+1
-7
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<panel title="Änderungen möglich bis" :body="true">
|
<panel title="Änderungen möglich bis" :body="true">
|
||||||
<table class="table table-condensed">
|
<table class="table table-condensed mb-0">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 75%">
|
<col style="width: 75%">
|
||||||
<col style="width: 25%">
|
<col style="width: 25%">
|
||||||
@@ -67,9 +67,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.table-condensed {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
-9
@@ -53,12 +53,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.form-control {
|
|
||||||
margin-bottom: 2px;
|
|
||||||
}
|
|
||||||
.dropdown-menu {
|
|
||||||
padding: 5px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
-12
@@ -21,8 +21,6 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import 'bootstrap-sass/assets/javascripts/bootstrap/dropdown'
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'PickupSelect',
|
name: 'PickupSelect',
|
||||||
props: {
|
props: {
|
||||||
@@ -47,13 +45,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.dropdown {
|
|
||||||
margin: 0 2px 2px 0;
|
|
||||||
}
|
|
||||||
.dropdown-menu {
|
|
||||||
padding: 5px;
|
|
||||||
min-width: 300px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
-13
@@ -50,16 +50,3 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.dropdown {
|
|
||||||
margin: 0 2px 2px 0;
|
|
||||||
}
|
|
||||||
.form-check-label {
|
|
||||||
white-space: nowrap;
|
|
||||||
}
|
|
||||||
.dropdown-menu {
|
|
||||||
padding: 5px;
|
|
||||||
min-width: 300px;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user