2023-06-01 12:54:58 +07:00
|
|
|
interface DataProps {
|
|
|
|
|
row: RequestItemsObject;
|
|
|
|
|
rowIndex: number;
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-19 15:50:50 +07:00
|
|
|
interface DataPropsEmployee {
|
|
|
|
|
row: RequestItemsEmployee;
|
|
|
|
|
rowIndex: number;
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-01 12:54:58 +07:00
|
|
|
//ข้อมูล
|
|
|
|
|
interface RequestItemsObject {
|
|
|
|
|
id: string;
|
|
|
|
|
date: Date;
|
|
|
|
|
amount: number;
|
|
|
|
|
positionSalaryAmount: number;
|
|
|
|
|
mouthSalaryAmount: number;
|
|
|
|
|
oc: string;
|
|
|
|
|
ocId: string;
|
|
|
|
|
position: string;
|
2024-02-05 12:49:00 +07:00
|
|
|
positionName: string;
|
2023-06-01 12:54:58 +07:00
|
|
|
positionId: string;
|
|
|
|
|
posNo: string;
|
|
|
|
|
posNoId: string;
|
|
|
|
|
positionLine: string;
|
2024-02-05 12:49:00 +07:00
|
|
|
positionLineName: string;
|
2023-06-01 12:54:58 +07:00
|
|
|
positionLineId: string;
|
|
|
|
|
positionPathSide: string;
|
|
|
|
|
positionPathSideId: string;
|
2024-02-05 12:49:00 +07:00
|
|
|
positionPathSideName: string;
|
2023-06-01 12:54:58 +07:00
|
|
|
positionType: string;
|
|
|
|
|
positionTypeId: string;
|
|
|
|
|
positionLevel: string;
|
|
|
|
|
positionLevelId: string;
|
|
|
|
|
positionExecutive: string;
|
2024-02-05 12:49:00 +07:00
|
|
|
positionExecutiveName: string;
|
2023-06-01 12:54:58 +07:00
|
|
|
positionExecutiveId: string;
|
|
|
|
|
positionExecutiveSide: string;
|
|
|
|
|
positionExecutiveSideId: string;
|
|
|
|
|
salaryClass: string;
|
|
|
|
|
salaryRef: string;
|
2023-07-10 10:10:46 +07:00
|
|
|
refCommandNo: string;
|
2024-02-05 12:49:00 +07:00
|
|
|
orgName: string;
|
|
|
|
|
agencyName: string;
|
|
|
|
|
cLevel: string;
|
2023-07-10 10:10:46 +07:00
|
|
|
// refCommandDate: Date | null;
|
2023-09-01 18:12:43 +07:00
|
|
|
salaryStatus: string | null;
|
2023-06-01 12:54:58 +07:00
|
|
|
createdFullName: string;
|
|
|
|
|
createdAt: Date;
|
2024-02-09 14:16:14 +07:00
|
|
|
postionTypeName: string;
|
|
|
|
|
positionLevelName: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface RequestItemsHistory {
|
|
|
|
|
id: string;
|
|
|
|
|
date: Date;
|
|
|
|
|
amount: number;
|
|
|
|
|
positionSalaryAmount: number;
|
|
|
|
|
mouthSalaryAmount: number;
|
|
|
|
|
oc: string;
|
|
|
|
|
ocId: string;
|
|
|
|
|
position: string;
|
|
|
|
|
positionName: string;
|
|
|
|
|
positionId: string;
|
|
|
|
|
posNo: string;
|
|
|
|
|
posNoId: string;
|
|
|
|
|
positionLine: string;
|
|
|
|
|
positionLineName: string;
|
|
|
|
|
positionLineId: string;
|
|
|
|
|
positionPathSide: string;
|
|
|
|
|
positionPathSideId: string;
|
|
|
|
|
positionPathSideName: string;
|
|
|
|
|
positionType: string;
|
|
|
|
|
positionTypeId: string;
|
|
|
|
|
positionLevel: string;
|
|
|
|
|
positionLevelId: string;
|
|
|
|
|
positionExecutive: string;
|
|
|
|
|
positionExecutiveName: string;
|
|
|
|
|
positionExecutiveId: string;
|
|
|
|
|
positionExecutiveSide: string;
|
|
|
|
|
positionExecutiveSideId: string;
|
|
|
|
|
salaryClass: string;
|
|
|
|
|
salaryRef: string;
|
|
|
|
|
refCommandNo: string;
|
|
|
|
|
orgName: string;
|
|
|
|
|
agencyName: string;
|
|
|
|
|
cLevel: string;
|
|
|
|
|
// refCommandDate: Date | null;
|
|
|
|
|
salaryStatus: string | null;
|
|
|
|
|
createdFullName: string;
|
|
|
|
|
createdAt: Date;
|
2023-06-01 12:54:58 +07:00
|
|
|
}
|
|
|
|
|
|
2023-06-19 15:50:50 +07:00
|
|
|
interface RequestItemsEmployee {
|
|
|
|
|
amount: number;
|
|
|
|
|
createdAt: Date;
|
|
|
|
|
createdFullName: string;
|
|
|
|
|
date: Date;
|
|
|
|
|
id: string;
|
|
|
|
|
mouthSalaryAmount: number;
|
|
|
|
|
oc: string | null;
|
2023-07-10 10:10:46 +07:00
|
|
|
ocId: string;
|
2023-06-19 15:50:50 +07:00
|
|
|
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;
|
2023-07-10 10:10:46 +07:00
|
|
|
refCommandNo: string;
|
2023-09-01 18:12:43 +07:00
|
|
|
salaryStatus: string | null;
|
2023-07-10 10:10:46 +07:00
|
|
|
// refCommandDate: Date | null;
|
2023-06-19 15:50:50 +07:00
|
|
|
}
|
|
|
|
|
|
2023-06-01 12:54:58 +07:00
|
|
|
//columns
|
|
|
|
|
interface Columns {
|
|
|
|
|
[index: number]: {
|
|
|
|
|
name: String;
|
|
|
|
|
align: String;
|
|
|
|
|
label: String;
|
|
|
|
|
sortable: Boolean;
|
|
|
|
|
field: String;
|
|
|
|
|
headerStyle: String;
|
|
|
|
|
style: String;
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
|
2023-06-19 15:50:50 +07:00
|
|
|
export type {
|
|
|
|
|
RequestItemsObject,
|
|
|
|
|
Columns,
|
|
|
|
|
DataProps,
|
|
|
|
|
RequestItemsEmployee,
|
|
|
|
|
DataPropsEmployee,
|
2024-02-09 14:16:14 +07:00
|
|
|
RequestItemsHistory
|
2023-06-19 15:50:50 +07:00
|
|
|
};
|