[subTask] v-select employee, [refactor], [masterTaskDetail] formattedDates

This commit is contained in:
romankko2 committed 2023-01-20 11:19:58 +01:00
1 parent e941534b5e
commit 0a842dcb32
41 files changed
+558 -965

No files matched your search

+13 -5
View File
@@ -1,6 +1,6 @@
<template>
<W-loadable :content="teams">
<A-teams-table :teams="teams" />
<A-teams-table :teams="teams" @refresh="loadData" />
</W-loadable>
</template>
@@ -19,10 +19,18 @@ export default {
},
async created() {
try {
this.teams = await this.$axios.get_auth_data('v1/teams')
} catch (error) {
this.teams = {error}
await this.loadData()
},
methods: {
async loadData() {
this.teams = null
try {
this.teams = await this.$axios.get_auth_data('v1/teamsx')
} catch (error) {
this.teams = {error}
}
}
}
}