[events] Fixed tables for Event and JobTypes
This commit is contained in:
parent
718c6eaf9d
commit
e9333c4af4
|
@ -15,10 +15,9 @@
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
|
|
||||||
<q-page padding>
|
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-table title="Veranstaltungstypen" :data="rows" row-key="jobid" :columns="columns">
|
<q-table title="Veranstaltungstypen" :rows="rows" row-key="jobid" :columns="columns">
|
||||||
<template #top-right>
|
<template #top-right>
|
||||||
<q-input v-model="newEventType" dense placeholder="Neuer Typ" />
|
<q-input v-model="newEventType" dense placeholder="Neuer Typ" />
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
</q-table>
|
</q-table>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-page>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
@ -59,7 +57,7 @@ export default defineComponent({
|
||||||
const actualEvent = ref(emptyEvent);
|
const actualEvent = ref(emptyEvent);
|
||||||
const newEventName = ref('');
|
const newEventName = ref('');
|
||||||
|
|
||||||
onBeforeMount(() => store.getEventTypes());
|
onBeforeMount(async () => await store.getEventTypes());
|
||||||
|
|
||||||
const rows = computed(() => store.eventTypes);
|
const rows = computed(() => store.eventTypes);
|
||||||
|
|
||||||
|
|
|
@ -15,10 +15,9 @@
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-dialog>
|
</q-dialog>
|
||||||
|
|
||||||
<q-page padding>
|
|
||||||
<q-card>
|
<q-card>
|
||||||
<q-card-section>
|
<q-card-section>
|
||||||
<q-table title="Diensttypen" :data="rows" row-key="jobid" :columns="columns">
|
<q-table title="Diensttypen" :rows="rows" row-key="jobid" :columns="columns">
|
||||||
<template #top-right>
|
<template #top-right>
|
||||||
<q-input v-model="newJob" dense placeholder="Neuer Typ" />
|
<q-input v-model="newJob" dense placeholder="Neuer Typ" />
|
||||||
|
|
||||||
|
@ -40,7 +39,6 @@
|
||||||
</q-table>
|
</q-table>
|
||||||
</q-card-section>
|
</q-card-section>
|
||||||
</q-card>
|
</q-card>
|
||||||
</q-page>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue