แสดงวันจบการศึกษเป็นเลือก ปี หรือ วัน/เดือน/ปี ซ่อนเป็นวุฒิการศึกษาในตำแหน่งไว้ก่อน กรณีฟิลด์ isEducation เป็น true ให้ซ่อนปุ่มลบข้อมูล เอาปุ่ม history หลังประวัติการศึกษากับใบอนุญาตประกอบอาชีพออก ดักฟิลด์ "0000-0000-0000-0000" เป็นแสดงค่าว่าง หน้าออกคำสั่ง step 4
46 lines
857 B
TypeScript
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 };
|