ต่อ api เพิ่ม form การลา

This commit is contained in:
AnandaTon 2023-12-07 18:43:52 +07:00
parent 8b7d83e1d7
commit 26667a4d22
20 changed files with 1555 additions and 750 deletions

View file

@ -1,40 +1,41 @@
import type { S } from "@fullcalendar/core/internal-common";
import type { S } from "@fullcalendar/core/internal-common"
interface OptionData {
id: string | undefined;
name: string | undefined;
id: string | undefined
name: string | undefined
code: string | undefined
}
interface FormLeavetMainData {
type: string;
numDate: string;
extend: string;
use: string;
numAll: string;
numDone: string;
numNot: string;
numCancel: string;
type: string
numDate: string
extend: string
use: string
numAll: string
numDone: string
numNot: string
numCancel: string
}
interface formListLeaveData {
no: string;
date: string | null;
type: string;
status: string;
year: string;
no: string
date: string | null
type: string
status: string
year: string
}
interface TypeLeave {
code: string;
createdAt: Date;
createdFullName: string;
createdUserId: string;
id: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: Date | null;
limit: number;
name: string;
code: string
createdAt: Date
createdFullName: string
createdUserId: string
id: string
lastUpdateFullName: string
lastUpdateUserId: string
lastUpdatedAt: Date | null
limit: number
name: string
}
export type { OptionData, FormLeavetMainData, formListLeaveData, TypeLeave };
export type { OptionData, FormLeavetMainData, formListLeaveData, TypeLeave }