hrms-mgt/src/modules/05_placement/interface/request/Education.ts
Thanit Konmek 9d714b8716 หน้าแก้ไขข้อมูลส่วนตัว
แสดงวันจบการศึกษเป็นเลือก ปี หรือ วัน/เดือน/ปี
ซ่อนเป็นวุฒิการศึกษาในตำแหน่งไว้ก่อน
กรณีฟิลด์ isEducation เป็น true ให้ซ่อนปุ่มลบข้อมูล
เอาปุ่ม history หลังประวัติการศึกษากับใบอนุญาตประกอบอาชีพออก
ดักฟิลด์ "0000-0000-0000-0000" เป็นแสดงค่าว่าง

หน้าออกคำสั่ง step 4
2023-07-14 13:34:54 +07:00

46 lines
857 B
TypeScript

interface DataProps {
row: RequestItemsObject;
rowIndex: number;
}
//ข้อมูล
interface RequestItemsObject {
id: string;
educationLevel: string;
educationLevelId: string;
level: string;
levelId: string;
positionPath: string;
positionPathId: string;
institute: string;
degree: string;
field: string;
gpa: string;
country: string;
duration: string;
durationYear: number;
other: string;
fundName: string;
finishDate: Date;
startDate: number;
endDate: number;
createdFullName: string;
createdAt: Date;
isDate: string;
isEducation: boolean;
}
//columns
interface Columns {
[index: number]: {
name: String;
align: String;
label: String;
sortable: Boolean;
field: String;
headerStyle: String;
style: String;
};
}
export type { RequestItemsObject, Columns, DataProps };