mirror of
https://bitbucket.org/studiotem/jandl-taskmanager-app.git
synced 2026-10-21 14:29:34 +00:00
[Calendar] WIP event drag
This commit is contained in:
1 parent
2c51813db4
commit
1744a228a0
3 files changed
+444
-355
No files matched your search
@@ -5,9 +5,9 @@
|
||||
<Z-timeline :calData="timelineData" :calConfig="config" @eventMoved="onEventMoved" />
|
||||
</W-loadable>
|
||||
|
||||
<v-snackbar
|
||||
v-model="errorToast"
|
||||
:timeout="2000"
|
||||
<v-snackbar
|
||||
v-model="errorToast"
|
||||
:timeout="2000"
|
||||
color="red"
|
||||
:rounded="true"
|
||||
>
|
||||
@@ -80,7 +80,7 @@ export default {
|
||||
},
|
||||
|
||||
async onEventMoved(event) {
|
||||
console.log(event)
|
||||
console.log(`ID from dragStop: ${event.event.id}`)
|
||||
// try {
|
||||
// await this.$axios.post_auth_data(`v1/overview/tasks/${event.event.id}`, {start: event.event.start, end: event.event.end})
|
||||
// } catch(error) {
|
||||
|
||||
Reference in new issue
Block a user