Refactoring code 09_leave
This commit is contained in:
parent
d20fdb0190
commit
94eb31fc26
27 changed files with 289 additions and 577 deletions
|
|
@ -26,13 +26,25 @@ interface dataRowChangeRoundHistory {
|
|||
reson: string | null;
|
||||
}
|
||||
interface historyShow {
|
||||
round: number;
|
||||
startTimeMorning: string;
|
||||
leaveTimeAfternoon: string;
|
||||
time: string;
|
||||
effectiveDate: string | null;
|
||||
reson: string | null;
|
||||
effectiveDate: string;
|
||||
reson: string;
|
||||
}
|
||||
|
||||
interface DataInterface {
|
||||
round: number;
|
||||
startTimeMorning: string;
|
||||
leaveTimeAfternoon: string;
|
||||
effectiveDate: Date; // ใช้ Date แทน string หากต้องการแปลงเป็น Date object
|
||||
remark: string;
|
||||
}
|
||||
export type {
|
||||
changeShow,
|
||||
dataRowChangeRound,
|
||||
dataRowChangeRoundHistory,
|
||||
historyShow,
|
||||
DataInterface
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue