From 585ff008b91fb2d094d06bf1533f97b312292fdf Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Thu, 26 Sep 2024 13:16:31 +0200 Subject: [PATCH] Member create, edit and delete --- .../admin/club/member/CreateMemberModal.vue | 142 +++++++++++++ .../admin/club/member/DeleteMemberModal.vue | 87 ++++++++ .../admin/club/member/MemberAwardListItem.vue | 2 + .../member/MemberCommunicationListItem.vue | 7 +- .../MemberExecutivePositionListItem.vue | 2 + .../member/MemberQualificationListItem.vue | 2 + .../admin/club/member/MembershipListItem.vue | 2 + src/enums/salutation.ts | 4 +- src/router/index.ts | 16 +- src/views/admin/members/Member.vue | 17 +- src/views/admin/members/MemberAwards.vue | 3 + .../admin/members/MemberCommunication.vue | 3 + src/views/admin/members/MemberEdit.vue | 197 +++++++++--------- .../members/MemberExecutivePositions.vue | 3 + src/views/admin/members/MemberOverview.vue | 2 +- .../admin/members/MemberQualifications.vue | 3 + src/views/admin/members/MemberRouting.vue | 23 +- src/views/admin/members/Membership.vue | 3 + 18 files changed, 392 insertions(+), 126 deletions(-) create mode 100644 src/components/admin/club/member/CreateMemberModal.vue create mode 100644 src/components/admin/club/member/DeleteMemberModal.vue diff --git a/src/components/admin/club/member/CreateMemberModal.vue b/src/components/admin/club/member/CreateMemberModal.vue new file mode 100644 index 0000000..1e38933 --- /dev/null +++ b/src/components/admin/club/member/CreateMemberModal.vue @@ -0,0 +1,142 @@ + + + + + diff --git a/src/components/admin/club/member/DeleteMemberModal.vue b/src/components/admin/club/member/DeleteMemberModal.vue new file mode 100644 index 0000000..74d38fe --- /dev/null +++ b/src/components/admin/club/member/DeleteMemberModal.vue @@ -0,0 +1,87 @@ + + + + + diff --git a/src/components/admin/club/member/MemberAwardListItem.vue b/src/components/admin/club/member/MemberAwardListItem.vue index 5d93741..5373f94 100644 --- a/src/components/admin/club/member/MemberAwardListItem.vue +++ b/src/components/admin/club/member/MemberAwardListItem.vue @@ -2,6 +2,7 @@

{{ award.award }}

+

erhalten am: {{ award.date }}

@@ -15,6 +16,7 @@ import { defineComponent, type PropType } from "vue"; import { mapState, mapActions } from "pinia"; import type { MemberAwardViewModel } from "@/viewmodels/admin/memberAward.models"; +import { PencilIcon } from "@heroicons/vue/24/outline"; diff --git a/src/views/admin/members/MemberAwards.vue b/src/views/admin/members/MemberAwards.vue index 9b5ae8e..cbaa8d6 100644 --- a/src/views/admin/members/MemberAwards.vue +++ b/src/views/admin/members/MemberAwards.vue @@ -6,6 +6,9 @@

laden fehlgeschlagen

+
+ +
diff --git a/src/views/admin/members/Membership.vue b/src/views/admin/members/Membership.vue index 8ad5425..fc90df6 100644 --- a/src/views/admin/members/Membership.vue +++ b/src/views/admin/members/Membership.vue @@ -6,6 +6,9 @@

laden fehlgeschlagen

+
+ +