mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 22:39:34 +00:00
[subTask] v-select employee, [refactor], [masterTaskDetail] formattedDates
This commit is contained in:
1 parent
e941534b5e
commit
0a842dcb32
41 files changed
+558
-965
No files matched your search
@@ -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}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user