mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
quick change
This commit is contained in:
1 parent
ceea2c5b01
commit
2166020941
3 files changed
+6
-5
No files matched your search
@@ -30,7 +30,11 @@ export default {
|
|||||||
filteredEvents: []
|
filteredEvents: []
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
async created() {
|
created() {
|
||||||
|
this._getData()
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
async _getData() {
|
||||||
try {
|
try {
|
||||||
const events = await this.$axios.get_auth_data('v1/overview/projects')
|
const events = await this.$axios.get_auth_data('v1/overview/projects')
|
||||||
this.events = events.map((item) => ({
|
this.events = events.map((item) => ({
|
||||||
@@ -49,8 +53,7 @@ export default {
|
|||||||
this.$toast.error(error)
|
this.$toast.error(error)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
|
||||||
// Kravarik: TODO prepojit filtrovanie na BE
|
|
||||||
onFilterChanged(filterValues) {
|
onFilterChanged(filterValues) {
|
||||||
this.filter = filterValues
|
this.filter = filterValues
|
||||||
this.filteredEvents = this.events.filter((item) => this.filter.showFinishedTasks || item.is_finished == false)
|
this.filteredEvents = this.events.filter((item) => this.filter.showFinishedTasks || item.is_finished == false)
|
||||||
|
|||||||
@@ -48,7 +48,6 @@ export default {
|
|||||||
employees: [],
|
employees: [],
|
||||||
selectedDate: "",
|
selectedDate: "",
|
||||||
|
|
||||||
// Kaluza: Napojit funkcnost
|
|
||||||
selectedEmployee: '',
|
selectedEmployee: '',
|
||||||
date: new Date()
|
date: new Date()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -46,7 +46,6 @@ export default {
|
|||||||
return {
|
return {
|
||||||
teams: [],
|
teams: [],
|
||||||
|
|
||||||
// Kaluza: Napojit funkcionalitu
|
|
||||||
selectedTeam: null,
|
selectedTeam: null,
|
||||||
|
|
||||||
selectedDate: new Date(),
|
selectedDate: new Date(),
|
||||||
|
|||||||
Reference in new issue
Block a user