Extract components
This commit is contained in:
parent
5f6d19a5ff
commit
e6801ab978
|
@ -75,16 +75,16 @@ export default {
|
||||||
},
|
},
|
||||||
|
|
||||||
components: {
|
components: {
|
||||||
box: () => import('./Box'),
|
box: () => import(/* webpackChunkName: "member" */ './Box'),
|
||||||
stamm: () => import('./boxes/Stamm'),
|
stamm: () => import(/* webpackChunkName: "member" */ './boxes/Stamm'),
|
||||||
kontakt: () => import('./boxes/Kontakt'),
|
kontakt: () => import(/* webpackChunkName: "member" */ './boxes/Kontakt'),
|
||||||
prae: () => import('./boxes/Prae'),
|
prae: () => import(/* webpackChunkName: "member" */ './boxes/Prae'),
|
||||||
courses: () => import('./boxes/Courses'),
|
courses: () => import(/* webpackChunkName: "member" */ './boxes/Courses'),
|
||||||
system: () => import('./boxes/System'),
|
system: () => import(/* webpackChunkName: "member" */ './boxes/System'),
|
||||||
payments: () => import('./boxes/Payments'),
|
payments: () => import(/* webpackChunkName: "member" */ './boxes/Payments'),
|
||||||
memberships: () => import('./boxes/Memberships'),
|
memberships: () => import(/* webpackChunkName: "member" */ './boxes/Memberships'),
|
||||||
vmap: () => import('./boxes/Vmap'),
|
vmap: () => import(/* webpackChunkName: "member" */ './boxes/Vmap'),
|
||||||
tabs: () => import('./Tabs'),
|
tabs: () => import(/* webpackChunkName: "member" */ './Tabs'),
|
||||||
},
|
},
|
||||||
|
|
||||||
created() {
|
created() {
|
||||||
|
|
|
@ -0,0 +1,23 @@
|
||||||
|
<template>
|
||||||
|
<div class="bool-row">
|
||||||
|
<v-bool
|
||||||
|
true-comment="Mittendrin abonniert"
|
||||||
|
false-comment="Mittendrin nicht abonníert"
|
||||||
|
v-model="member.send_newspaper"
|
||||||
|
>M</v-bool
|
||||||
|
>
|
||||||
|
<v-bool true-comment="In NaMi eingetragen" false-comment="Nicht in NaMi eingetragen" v-model="member.has_nami"
|
||||||
|
>N</v-bool
|
||||||
|
>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
member: {
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
</script>
|
|
@ -25,22 +25,7 @@
|
||||||
<td v-text="member.lastname"></td>
|
<td v-text="member.lastname"></td>
|
||||||
<td v-text="member.firstname"></td>
|
<td v-text="member.firstname"></td>
|
||||||
<td class="hidden 2xl:table-cell" v-text="member.full_address"></td>
|
<td class="hidden 2xl:table-cell" v-text="member.full_address"></td>
|
||||||
<td>
|
<td><tags :member="member"></tags></td>
|
||||||
<div class="bool-row">
|
|
||||||
<v-bool
|
|
||||||
true-comment="Mittendrin abonniert"
|
|
||||||
false-comment="Mittendrin nicht abonníert"
|
|
||||||
v-model="member.send_newspaper"
|
|
||||||
>M</v-bool
|
|
||||||
>
|
|
||||||
<v-bool
|
|
||||||
true-comment="In NaMi eingetragen"
|
|
||||||
false-comment="Nicht in NaMi eingetragen"
|
|
||||||
v-model="member.has_nami"
|
|
||||||
>N</v-bool
|
|
||||||
>
|
|
||||||
</div>
|
|
||||||
</td>
|
|
||||||
<td class="hidden xl:table-cell" v-text="member.age"></td>
|
<td class="hidden xl:table-cell" v-text="member.age"></td>
|
||||||
<td class="hidden xl:table-cell" v-show="hasModule('bill')">
|
<td class="hidden xl:table-cell" v-show="hasModule('bill')">
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
|
@ -168,7 +153,8 @@ export default {
|
||||||
MemberPayments,
|
MemberPayments,
|
||||||
MemberFilter,
|
MemberFilter,
|
||||||
MemberCourses,
|
MemberCourses,
|
||||||
'age-groups': () => import('./AgeGroups'),
|
'age-groups': () => import(/* webpackChunkName: "member" */ './AgeGroups'),
|
||||||
|
'tags': () => import(/* webpackChunkName: "member" */ './Tags'),
|
||||||
},
|
},
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
||||||
inner: {},
|
inner: {},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
'key-value': () => import('../KeyValue'),
|
'key-value': () => import(/* webpackChunkName: "member" */ '../KeyValue'),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -50,8 +50,8 @@ export default {
|
||||||
inner: {},
|
inner: {},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
'key-value': () => import('../KeyValue'),
|
'key-value': () => import(/* webpackChunkName: "member" */ '../KeyValue'),
|
||||||
'boolean': () => import('../Boolean'),
|
'boolean': () => import(/* webpackChunkName: "member" */ '../Boolean'),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -20,7 +20,7 @@ export default {
|
||||||
inner: {},
|
inner: {},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
'key-value': () => import('../KeyValue'),
|
'key-value': () => import(/* webpackChunkName: "member" */ '../KeyValue'),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -14,8 +14,8 @@ export default {
|
||||||
inner: {},
|
inner: {},
|
||||||
},
|
},
|
||||||
components: {
|
components: {
|
||||||
'key-value': () => import('../KeyValue'),
|
'key-value': () => import(/* webpackChunkName: "member" */ '../KeyValue'),
|
||||||
'boolean': () => import('../Boolean'),
|
'boolean': () => import(/* webpackChunkName: "member" */ '../Boolean'),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue