Added Page Events
Added WeekNumbers to DatePicker Changed Coloring in DatePicker
This commit is contained in:
@@ -105,12 +105,14 @@ const calendarOptionsGrid = reactive({
|
||||
newEventData.value.end = info.endStr
|
||||
//showNewEventModal.value = true
|
||||
|
||||
router.push(`/calendar/edit/?start=${info.startStr}&end=${info.endStr}&source=grid`)
|
||||
router.push(`/events/edit/?start=${info.startStr}&end=${info.endStr}&source=grid`)
|
||||
|
||||
},
|
||||
eventClick: function (info){
|
||||
selectedEvent.value = info.event
|
||||
showEventModal.value = true
|
||||
console.log(info)
|
||||
router.push(`/events/show/${info.event.id}`)
|
||||
//selectedEvent.value = info.event
|
||||
//showEventModal.value = true
|
||||
},
|
||||
})
|
||||
|
||||
@@ -144,11 +146,12 @@ const calendarOptionsTimeline = reactive({
|
||||
convertResourceIds()
|
||||
//showNewEventModal.value = true
|
||||
|
||||
router.push(`/calendar/edit/?start=${info.startStr}&end=${info.endStr}&resources=${JSON.stringify([info.resource.id])}&source=timeline`)
|
||||
router.push(`/events/edit/?start=${info.startStr}&end=${info.endStr}&resources=${JSON.stringify([info.resource.id])}&source=timeline`)
|
||||
},
|
||||
eventClick: function (info){
|
||||
selectedEvent.value = info.event
|
||||
showEventModal.value = true
|
||||
router.push(`/events/show/${info.event.id}`)
|
||||
//selectedEvent.value = info.event
|
||||
//showEventModal.value = true
|
||||
},
|
||||
resourceGroupField: "type",
|
||||
resourceOrder: "-type",
|
||||
|
||||
Reference in New Issue
Block a user