แก้ไขขยายเวลา สอบสวน สืบสวน

This commit is contained in:
Warunee Tamkoo 2023-12-07 16:46:15 +07:00
parent cc7e98184a
commit b7ff33b40f
4 changed files with 42 additions and 5 deletions

View file

@ -10,6 +10,7 @@ import timeGridPlugin from "@fullcalendar/timegrid";
import interactionPlugin from "@fullcalendar/interaction";
import allLocales from "@fullcalendar/core/locales-all";
import listPlugin from "@fullcalendar/list";
import moment from "moment";
import type { DataDateMonthObject } from "@/modules/09_leave/interface/response/leave";
import type { ExtendHistoryObject } from "@/modules/11_discipline/interface/response/Main";
@ -98,7 +99,7 @@ async function fetchCalendar() {
id: index.toString(),
title: e.name,
start: e.dateStart,
end: e.dateEnd,
end: moment(e.dateEnd).format("YYYY-MM-DD")+ " 23:59:59",
allDay: false,
color:
props.lists.length > 1 && index > 0