From 1a7d08f66a9b3289e4682390a6f9a9e6c39320ed Mon Sep 17 00:00:00 2001 From: ogerly Date: Tue, 31 May 2022 12:05:55 +0200 Subject: [PATCH] add events and emits on list buttons, --- admin/src/components/AutomaticCreation.vue | 20 +++++- .../src/components/AutomaticCreationForm.vue | 12 +++- .../src/components/AutomaticCreationList.vue | 71 +++++++++++++++++-- admin/src/pages/Overview.vue | 33 ++++++++- 4 files changed, 123 insertions(+), 13 deletions(-) diff --git a/admin/src/components/AutomaticCreation.vue b/admin/src/components/AutomaticCreation.vue index 77af1aeb8..35875aeb2 100644 --- a/admin/src/components/AutomaticCreation.vue +++ b/admin/src/components/AutomaticCreation.vue @@ -15,12 +15,16 @@

Automatic Creations

- +
- +
Es sind keine automatischen Schöpfungen angelegt.
@@ -38,9 +42,21 @@ export default { default: () => [], }, }, + data: function () { + return { + automaticContributionData: {}, + } + }, components: { AutomaticCreationForm, AutomaticCreationList, }, + methods: { + editAutomaticContributionData(data) { + console.log('start methodes editAutomaticContributionData') + console.log(typeof(data)) + this.automaticContributionData = data + }, + }, } diff --git a/admin/src/components/AutomaticCreationForm.vue b/admin/src/components/AutomaticCreationForm.vue index 5e4a1bfea..22b4abbc4 100644 --- a/admin/src/components/AutomaticCreationForm.vue +++ b/admin/src/components/AutomaticCreationForm.vue @@ -1,5 +1,6 @@