From 5eeea631c088be39572c5348228b49656e8249d9 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Tue, 17 Sep 2024 16:44:02 +0200 Subject: [PATCH] member data reads and display --- src/components/ContextMenu.vue | 2 +- src/components/Footer.vue | 4 +- src/components/Header.vue | 4 +- src/components/Modal.vue | 2 +- .../admin/club/member/MemberListItem.vue | 21 +- src/layouts/Sidebar.vue | 2 +- src/router/adminGuard.ts | 4 +- src/router/authGuards.ts | 6 +- src/router/index.ts | 153 +++++++++----- src/router/memberGuard.ts | 19 ++ src/router/setupGuard.ts | 2 +- src/stores/ability.ts | 2 +- src/stores/account.ts | 2 +- src/stores/admin/award.ts | 4 +- src/stores/admin/communication.ts | 74 +++++++ src/stores/admin/communicationType.ts | 4 +- src/stores/admin/executivePosition.ts | 4 +- src/stores/admin/member.ts | 53 ++++- src/stores/admin/memberAward.ts | 67 +++++++ src/stores/admin/memberExecutivePosition.ts | 71 +++++++ src/stores/admin/memberQualification.ts | 73 +++++++ src/stores/admin/membership.ts | 69 +++++++ src/stores/admin/membershipStatus.ts | 4 +- src/stores/admin/navigation.ts | 4 +- src/stores/admin/qualification.ts | 4 +- src/stores/admin/role.ts | 6 +- src/stores/admin/user.ts | 6 +- src/templates/Main.vue | 2 +- src/viewmodels/admin/communication.models.ts | 22 +++ src/viewmodels/admin/member.models.ts | 22 ++- src/viewmodels/admin/memberAward.models.ts | 15 ++ .../admin/memberExecutivePosition.models.ts | 15 ++ .../admin/memberQualification.models.ts | 17 ++ src/viewmodels/admin/membership.models.ts | 17 ++ src/viewmodels/admin/role.models.ts | 2 +- src/viewmodels/admin/user.models.ts | 2 +- src/views/Login.vue | 2 +- src/views/admin/View.vue | 4 +- src/views/admin/members/MemberAwards.vue | 31 +++ .../admin/members/MemberCommunication.vue | 34 ++++ src/views/admin/members/MemberEdit.vue | 187 ++++++++++++++++++ .../members/MemberExecutivePositions.vue | 31 +++ src/views/admin/members/MemberOverview.vue | 28 +++ .../admin/members/MemberQualifications.vue | 31 +++ src/views/admin/members/MemberRouting.vue | 74 +++++++ src/views/admin/members/Membership.vue | 31 +++ src/views/admin/settings/AwardEdit.vue | 2 +- .../admin/settings/CommunicationTypeEdit.vue | 2 +- .../admin/settings/ExecutivePositionEdit.vue | 2 +- .../admin/settings/MembershipStatusEdit.vue | 2 +- .../admin/settings/QualificationEdit.vue | 2 +- src/views/admin/user/Role.vue | 2 +- src/views/admin/user/RoleEdit.vue | 4 +- src/views/admin/user/RoleEditPermission.vue | 4 +- src/views/admin/user/UserEdit.vue | 2 +- src/views/admin/user/UserEditPermission.vue | 2 +- src/views/admin/user/UserEditRoles.vue | 2 +- 57 files changed, 1149 insertions(+), 110 deletions(-) create mode 100644 src/router/memberGuard.ts create mode 100644 src/stores/admin/communication.ts create mode 100644 src/stores/admin/memberAward.ts create mode 100644 src/stores/admin/memberExecutivePosition.ts create mode 100644 src/stores/admin/memberQualification.ts create mode 100644 src/stores/admin/membership.ts create mode 100644 src/views/admin/members/MemberAwards.vue create mode 100644 src/views/admin/members/MemberCommunication.vue create mode 100644 src/views/admin/members/MemberEdit.vue create mode 100644 src/views/admin/members/MemberExecutivePositions.vue create mode 100644 src/views/admin/members/MemberOverview.vue create mode 100644 src/views/admin/members/MemberQualifications.vue create mode 100644 src/views/admin/members/MemberRouting.vue create mode 100644 src/views/admin/members/Membership.vue diff --git a/src/components/ContextMenu.vue b/src/components/ContextMenu.vue index b97041b..aa44235 100644 --- a/src/components/ContextMenu.vue +++ b/src/components/ContextMenu.vue @@ -21,7 +21,7 @@ diff --git a/src/components/Header.vue b/src/components/Header.vue index e835052..de1360a 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -16,8 +16,8 @@ diff --git a/src/components/Modal.vue b/src/components/Modal.vue index 7825dfc..395ce58 100644 --- a/src/components/Modal.vue +++ b/src/components/Modal.vue @@ -12,7 +12,7 @@ + + diff --git a/src/views/admin/members/MemberCommunication.vue b/src/views/admin/members/MemberCommunication.vue new file mode 100644 index 0000000..fd9b3f2 --- /dev/null +++ b/src/views/admin/members/MemberCommunication.vue @@ -0,0 +1,34 @@ + + + + + diff --git a/src/views/admin/members/MemberEdit.vue b/src/views/admin/members/MemberEdit.vue new file mode 100644 index 0000000..8e7dd83 --- /dev/null +++ b/src/views/admin/members/MemberEdit.vue @@ -0,0 +1,187 @@ + + + + + diff --git a/src/views/admin/members/MemberExecutivePositions.vue b/src/views/admin/members/MemberExecutivePositions.vue new file mode 100644 index 0000000..2286c32 --- /dev/null +++ b/src/views/admin/members/MemberExecutivePositions.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/views/admin/members/MemberOverview.vue b/src/views/admin/members/MemberOverview.vue new file mode 100644 index 0000000..6a62d3d --- /dev/null +++ b/src/views/admin/members/MemberOverview.vue @@ -0,0 +1,28 @@ + + + + + diff --git a/src/views/admin/members/MemberQualifications.vue b/src/views/admin/members/MemberQualifications.vue new file mode 100644 index 0000000..6e5e790 --- /dev/null +++ b/src/views/admin/members/MemberQualifications.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/views/admin/members/MemberRouting.vue b/src/views/admin/members/MemberRouting.vue new file mode 100644 index 0000000..e7cc557 --- /dev/null +++ b/src/views/admin/members/MemberRouting.vue @@ -0,0 +1,74 @@ + + + + + diff --git a/src/views/admin/members/Membership.vue b/src/views/admin/members/Membership.vue new file mode 100644 index 0000000..21e8c87 --- /dev/null +++ b/src/views/admin/members/Membership.vue @@ -0,0 +1,31 @@ + + + + + diff --git a/src/views/admin/settings/AwardEdit.vue b/src/views/admin/settings/AwardEdit.vue index f9bb283..c85092d 100644 --- a/src/views/admin/settings/AwardEdit.vue +++ b/src/views/admin/settings/AwardEdit.vue @@ -1,7 +1,7 @@