ปรับวันที่สืบสวน
This commit is contained in:
parent
c50e00968c
commit
fabc55134c
6 changed files with 348 additions and 323 deletions
|
|
@ -96,14 +96,15 @@ async function fetchCalendar() {
|
|||
const events = data.map((e: CaledarDisciplinary, index: number) => ({
|
||||
id: e.id,
|
||||
title: e.title,
|
||||
start: e.disciplinaryDateEnd,
|
||||
end: e.disciplinaryDateStart,
|
||||
start: e.disciplinaryDateStart,
|
||||
end: e.disciplinaryDateEnd,
|
||||
allDay: true,
|
||||
color:
|
||||
data.length > 1 && index > 0 ? gradientColors[index] : defaultColor,
|
||||
}));
|
||||
|
||||
calendarOptions.value.events = events;
|
||||
console.log("events===>",events)
|
||||
})
|
||||
.catch((err) => {
|
||||
messageError($q, err);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue