Fixed Calendar
This commit is contained in:
@@ -57,7 +57,7 @@ const calendarOptionsGrid = computed(() => {
|
||||
select: function (info) {
|
||||
console.log(info)
|
||||
|
||||
router.push(`/standardEntity/events/edit/?start=${info.startStr}&end=${info.endStr}&source=grid`)
|
||||
router.push(`/standardEntity/events/create/?startDate=${encodeURIComponent(info.startStr)}&endDate=${encodeURIComponent(info.endStr)}`)
|
||||
},
|
||||
eventClick: function (info) {
|
||||
console.log(info.event)
|
||||
@@ -89,7 +89,7 @@ const calendarOptionsTimeline = ref({
|
||||
}],
|
||||
selectable: true,
|
||||
select: function (info) {
|
||||
router.push(`/events/edit/?start=${info.startStr}&end=${info.endStr}&resources=${JSON.stringify([info.resource.id])}&source=timeline`)
|
||||
router.push(`/events/edit/?startDate=${info.startStr}&endDate=${info.endStr}&resources=${JSON.stringify([info.resource.id])}&source=timeline`)
|
||||
},
|
||||
eventClick: function (info){
|
||||
console.log(info.event)
|
||||
|
||||
Reference in New Issue
Block a user