ปรับ fe sprint2

This commit is contained in:
Kittapath 2023-06-19 15:50:50 +07:00
parent 8576f3c387
commit 0d6ff7be0a
83 changed files with 6932 additions and 2571 deletions

View file

@ -3,6 +3,11 @@ interface DataProps {
rowIndex: number;
}
interface DataPropsEmployee {
row: RequestItemsEmployee;
rowIndex: number;
}
//ข้อมูล
interface RequestItemsObject {
id: string;
@ -34,6 +39,31 @@ interface RequestItemsObject {
createdAt: Date;
}
interface RequestItemsEmployee {
amount: number;
createdAt: Date;
createdFullName: string;
date: Date;
id: string;
mouthSalaryAmount: number;
oc: string | null;
ocId: string | null;
posNo: string | null;
posNoId: string | null;
posNoEmployee: string | null;
positionEmployeeGroup: string | null;
positionEmployeeGroupId: string | null;
positionEmployeeLevel: string | null;
positionEmployeeLevelId: string | null;
positionEmployeePosition: string | null;
positionEmployeePositionId: string | null;
positionEmployeePositionSide: string | null;
positionEmployeePositionSideId: string | null;
positionSalaryAmount: number;
salaryClass: string | null;
salaryRef: string | null;
}
//columns
interface Columns {
[index: number]: {
@ -47,4 +77,10 @@ interface Columns {
};
}
export type { RequestItemsObject, Columns, DataProps };
export type {
RequestItemsObject,
Columns,
DataProps,
RequestItemsEmployee,
DataPropsEmployee,
};