-
+
{{ user.firstname }} {{ user.lastname }}
import { mapGetters, mapActions } from 'vuex'
+import AddAmountSkeleton from '../user/Skeleton/AddAmountSkeleton'
export default {
name: 'CreditLists',
+ components: { AddAmountSkeleton },
props: {},
data() {
return {
@@ -151,7 +157,8 @@ export default {
computed: {
...mapGetters({
users: 'barUsers/users',
- filter: 'barUsers/filter'
+ filter: 'barUsers/filter',
+ loading: 'barUsers/usersLoading'
})
}
}
diff --git a/src/components/baruser/SearchBar.vue b/src/components/baruser/SearchBar.vue
index 58efddf..20bacee 100644
--- a/src/components/baruser/SearchBar.vue
+++ b/src/components/baruser/SearchBar.vue
@@ -11,10 +11,14 @@
placeholder="Suche Person"
:items="allUsers"
item-text="fullName"
- prepend-inner-icon="search"
full-width
+ :loading="loading"
:search-input.sync="filter"
- />
+ >
+
+ {{search_person}}
+
+
Hinzufügen
@@ -23,6 +27,7 @@
+
+
diff --git a/src/components/finanzer/Skeleton/UserSkeleton.vue b/src/components/finanzer/Skeleton/UserSkeleton.vue
new file mode 100644
index 0000000..86d2cf6
--- /dev/null
+++ b/src/components/finanzer/Skeleton/UserSkeleton.vue
@@ -0,0 +1,82 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/finanzer/User.vue b/src/components/finanzer/User.vue
index 22c3647..7f09a1d 100644
--- a/src/components/finanzer/User.vue
+++ b/src/components/finanzer/User.vue
@@ -1,202 +1,207 @@
-
-
- {{ activeUser.lastname }}, {{ activeUser.firstname }}
-
-
- Email senden
+
+
+
+
+
+ {{ activeUser.lastname }},
+ {{ activeUser.firstname }}
-
-
-
-
- {{
- errorMessage(errorMail)
- }}
-
-
-
- Konfiguration
-
-
-
-
- Status:
-
-
- {{ activeUser.locked ? 'Gesperrt' : 'nicht Gesperrt' }}
-
-
- {{ activeUser.locked ? 'Entperren' : 'Sperren' }}
-
-
-
-
-
-
-
-
-
-
-
-
- Speichern
-
-
-
-
-
- Geld transferieren
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Hinzufügen
-
-
-
+
+
+ Email senden
+
+
+
+
+
+
+ {{ errorMessage(errorMail) }}
+
+
+
- {{ year }}
-
-
-
+ Konfiguration
+
+
- Vorjahr:
+ Status:
- {{
- (activeUser.creditList[year][1].last / 100).toFixed(2)
- }}
-
-
- Gesamt:
-
-
-
- {{
- (
- getAllSum(
- activeUser.creditList[year][2].sum,
- activeUser.creditList[year][1].last
- ) / 100
- ).toFixed(2)
- }}
+ {{ activeUser.locked ? 'Gesperrt' : 'nicht Gesperrt' }}
+
+ {{ activeUser.locked ? 'Entperren' : 'Sperren' }}
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+ Speichern
+
+
+
+
-
-
+
+ Geld transferieren
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Hinzufügen
+
+
+
+
+ {{ year }}
+
+
+
+
+
+ Vorjahr:
+
+
+
+ {{ (activeUser.creditList[year][1].last / 100).toFixed(2) }}
+
+
+
+ Gesamt:
+
+
+
+ {{
+ (
+ getAllSum(
+ activeUser.creditList[year][2].sum,
+ activeUser.creditList[year][1].last
+ ) / 100
+ ).toFixed(2)
+ }}
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/user/CreditOverview.vue b/src/components/user/CreditOverview.vue
index 01c0cbe..3595f20 100644
--- a/src/components/user/CreditOverview.vue
+++ b/src/components/user/CreditOverview.vue
@@ -7,12 +7,17 @@
+ >
+
+ {{magnify}}
+
+
+
{{ year }}
@@ -67,13 +72,16 @@
+
+
diff --git a/src/components/user/Jobs/Day.vue b/src/components/user/Jobs/Day.vue
new file mode 100644
index 0000000..59ae525
--- /dev/null
+++ b/src/components/user/Jobs/Day.vue
@@ -0,0 +1,74 @@
+
+
+ {{ daysArray[day.date.getDay()] }} den {{ day.date.getDate() }}
+ {{ monthArray[day.date.getMonth()] }}
+ {{ day.date.getFullYear() }}
+
+
+ Du hast Dienst mit:
+ {{ person.user.firstname }}
+ {{ person.user.lastname }}
+
+
+
+ Du hast alleine Dienst!
+
+
+
+
+
+
+
diff --git a/src/components/user/Skeleton/AddAmountSkeleton.vue b/src/components/user/Skeleton/AddAmountSkeleton.vue
new file mode 100644
index 0000000..ad80d2f
--- /dev/null
+++ b/src/components/user/Skeleton/AddAmountSkeleton.vue
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/user/Skeleton/CreditOverviewSkeleton.vue b/src/components/user/Skeleton/CreditOverviewSkeleton.vue
new file mode 100644
index 0000000..253abf2
--- /dev/null
+++ b/src/components/user/Skeleton/CreditOverviewSkeleton.vue
@@ -0,0 +1,35 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/user/UserNavigation.vue b/src/components/user/UserNavigation.vue
index 69a68db..ade5ca4 100644
--- a/src/components/user/UserNavigation.vue
+++ b/src/components/user/UserNavigation.vue
@@ -2,7 +2,7 @@
- home
+ {{account}}
Home
@@ -10,16 +10,39 @@
- account_balance
+ {{bank}}
Finanzübersicht
+
+
+
+ {{briefcase}}
+
+
+ Dienstübersicht
+
+
+
+ {{account_card_details}}
+
+ Einstellung
+
diff --git a/src/components/vorstand/ServiceManagement.vue b/src/components/vorstand/ServiceManagement.vue
index 276d364..6d3ed3b 100644
--- a/src/components/vorstand/ServiceManagement.vue
+++ b/src/components/vorstand/ServiceManagement.vue
@@ -8,7 +8,7 @@
- keyboard_arrow_left
+ {{keyboard_arrow_left}}
- keyboard_arrow_right
+ {{keyboard_arrow_right}}
@@ -47,12 +47,15 @@
diff --git a/src/views/MainView.vue b/src/views/MainView.vue
index d8661c6..85b04f8 100644
--- a/src/views/MainView.vue
+++ b/src/views/MainView.vue
@@ -12,21 +12,21 @@
- person
+ {{person}}
- Account
+ {{user.firstname}} {{user.lastname}}
- local_bar
+ {{glass_cocktail}}
- Gerüchte
+ Bar
- attach_money
+ {{attach_money}}
Finanzer
@@ -39,7 +39,7 @@
- exit_to_app
+ {{exit_to_app}}
Logout
@@ -54,8 +54,17 @@