Calendar edit Modal
This commit is contained in:
parent
792be3b497
commit
747adf7c69
6 changed files with 316 additions and 8 deletions
|
@ -67,7 +67,6 @@ export default defineComponent({
|
|||
...mapActions(useModalStore, ["openModal"]),
|
||||
...mapActions(useCalendarStore, ["fetchCalendars"]),
|
||||
select(e: any) {
|
||||
console.log("s", e);
|
||||
this.openModal(
|
||||
markRaw(defineAsyncComponent(() => import("@/components/admin/club/calendar/CreateCalendarModal.vue"))),
|
||||
{
|
||||
|
@ -78,9 +77,8 @@ export default defineComponent({
|
|||
);
|
||||
},
|
||||
eventClick(e: any) {
|
||||
console.log("ec", e);
|
||||
this.openModal(
|
||||
markRaw(defineAsyncComponent(() => import("@/components/admin/club/calendar/DeleteCalendarModal.vue"))),
|
||||
markRaw(defineAsyncComponent(() => import("@/components/admin/club/calendar/UpdateCalendarModal.vue"))),
|
||||
e.event.id
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue