mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
53 lines
882 B
Vue
53 lines
882 B
Vue
<template>
|
|
<div>
|
|
<A-team-filter @dayChanged="getDayData" />
|
|
|
|
<W-loadable :content="timelineData" class="w-loadable" empty-message="Nepodarilo sa nacitat data!">
|
|
<Z-timeline />
|
|
</W-loadable>
|
|
|
|
<v-snackbar
|
|
v-model="errorToast"
|
|
:timeout="2000"
|
|
color="red"
|
|
:rounded="true"
|
|
>
|
|
{{ errorToastMessage }}
|
|
</v-snackbar>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import ATeamFilter from './_components/a-team-filter.vue'
|
|
import ZTimeline from '../tasks/_components/z-timeline.vue'
|
|
|
|
export default {
|
|
components: {
|
|
ATeamFilter,
|
|
ZTimeline,
|
|
},
|
|
|
|
data() {
|
|
return {
|
|
timelineData: {kokot: "kokot"}
|
|
}
|
|
},
|
|
|
|
methods: {
|
|
getDayData(date) {
|
|
console.log(date)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="sass" scoped>
|
|
.w-loadable
|
|
text-align: center
|
|
padding-top: 20px
|
|
height: calc( 100% - 121px )
|
|
|
|
@media (max-width: 1312px)
|
|
.w-loadable
|
|
height: calc( 100% - 202px )
|
|
</style> |