แก้ไข component ทะเบียนประวัติ
This commit is contained in:
parent
98bcbe1bb1
commit
6730765a42
54 changed files with 3659 additions and 32 deletions
55
src/components/information/interface/request/Address.ts
Normal file
55
src/components/information/interface/request/Address.ts
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
currentAddress: String | null;
|
||||
currentDistrictId: String | null;
|
||||
currentProvinceId: String | null;
|
||||
currentSubDistrictId: String | null;
|
||||
currentZipCode: String | null;
|
||||
registrationAddress: String | null;
|
||||
registrationDistrictId: String | null;
|
||||
registrationProvinceId: String | null;
|
||||
registrationSame: Boolean | null;
|
||||
registrationSubDistrictId: String | null;
|
||||
registrationZipCode: String | null;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
currentAddress: String | null;
|
||||
currentDistrict: String | null;
|
||||
currentProvince: String | null;
|
||||
currentSubDistrict: String | null;
|
||||
currentZipCode: String | null;
|
||||
registrationAddress: String | null;
|
||||
registrationDistrict: String | null;
|
||||
registrationProvince: String | null;
|
||||
registrationSame: Boolean | null;
|
||||
registrationSubDistrict: String | null;
|
||||
registrationZipCode: String | null;
|
||||
createdFullName: String | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestItemsObject,
|
||||
Columns,
|
||||
DataProps,
|
||||
RequestItemsHistoryObject,
|
||||
};
|
||||
34
src/components/information/interface/request/Assessment.ts
Normal file
34
src/components/information/interface/request/Assessment.ts
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
point1Total: number;
|
||||
point1: number;
|
||||
point2Total: number;
|
||||
point2: number;
|
||||
pointSumTotal: number;
|
||||
pointSum: number;
|
||||
name: string;
|
||||
date: Date;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
31
src/components/information/interface/request/Certificate.ts
Normal file
31
src/components/information/interface/request/Certificate.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
certificateNo: string;
|
||||
issuer: string;
|
||||
issueDate: Date;
|
||||
expireDate: Date;
|
||||
certificateType: string;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
31
src/components/information/interface/request/Coin.ts
Normal file
31
src/components/information/interface/request/Coin.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
issuer: string;
|
||||
detail: string;
|
||||
issueDate: Date;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
32
src/components/information/interface/request/Discipline.ts
Normal file
32
src/components/information/interface/request/Discipline.ts
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
level: string;
|
||||
detail: string;
|
||||
unStigma: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
date: Date;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
19
src/components/information/interface/request/Document.ts
Normal file
19
src/components/information/interface/request/Document.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
name: String;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns };
|
||||
45
src/components/information/interface/request/Education.ts
Normal file
45
src/components/information/interface/request/Education.ts
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
level: string;
|
||||
levelId: string;
|
||||
positionPath: string;
|
||||
isEducation: boolean;
|
||||
institute: string;
|
||||
degree: string;
|
||||
field: string;
|
||||
gpa: string;
|
||||
country: string;
|
||||
duration: string;
|
||||
durationYear: number;
|
||||
other: string;
|
||||
fundName: string;
|
||||
isDate: string | null;
|
||||
finishDate: Date;
|
||||
startDate: number;
|
||||
endDate: number;
|
||||
startDate2: Date;
|
||||
endDate2: Date;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
29
src/components/information/interface/request/Family.ts
Normal file
29
src/components/information/interface/request/Family.ts
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
date: Date;
|
||||
status: string;
|
||||
level: string;
|
||||
refNo: string;
|
||||
refDate: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
55
src/components/information/interface/request/Government.ts
Normal file
55
src/components/information/interface/request/Government.ts
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
date: Date;
|
||||
status: string;
|
||||
level: string;
|
||||
refNo: string;
|
||||
refDate: Date;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
oc: string | null;
|
||||
position: string | null;
|
||||
positionPathSide: string | null;
|
||||
posNo: string | null;
|
||||
positionLine: string | null;
|
||||
positionType: string | null;
|
||||
positionLevel: string | null;
|
||||
positionExecutive: string | null;
|
||||
positionExecutiveSide: string | null;
|
||||
dateAppoint: Date;
|
||||
dateStart: Date;
|
||||
retireDate: string | null;
|
||||
govAge: string | null;
|
||||
govAgeAbsent: string | null;
|
||||
govAgePlus: string | null;
|
||||
reasonSameDate: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestItemsObject,
|
||||
Columns,
|
||||
DataProps,
|
||||
RequestItemsHistoryObject,
|
||||
};
|
||||
59
src/components/information/interface/request/Information.ts
Normal file
59
src/components/information/interface/request/Information.ts
Normal file
|
|
@ -0,0 +1,59 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
birthDate: Date | null;
|
||||
bloodGroupId: string | null;
|
||||
citizenId: string | null;
|
||||
firstName: string | null;
|
||||
genderId: string | null;
|
||||
lastName: string | null;
|
||||
nationality: string | null;
|
||||
prefixId: string | null;
|
||||
race: string | null;
|
||||
relationshipId: string | null;
|
||||
religionId: string | null;
|
||||
telephoneNumber: string | null;
|
||||
employeeType: string | null;
|
||||
employeeClass: string | null;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
citizenId: string | null;
|
||||
prefix: string | null;
|
||||
firstName: string | null;
|
||||
lastName: string | null;
|
||||
birthDate: Date;
|
||||
gender: string | null;
|
||||
relationship: string | null;
|
||||
bloodGroup: string | null;
|
||||
nationality: string | null;
|
||||
race: string | null;
|
||||
religion: string | null;
|
||||
telephoneNumber: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
employeeType: string | null;
|
||||
employeeClass: string | null;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestItemsObject,
|
||||
Columns,
|
||||
DataProps,
|
||||
RequestItemsHistoryObject,
|
||||
};
|
||||
40
src/components/information/interface/request/Insignia.ts
Normal file
40
src/components/information/interface/request/Insignia.ts
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
insigniaType: string;
|
||||
insignia: string;
|
||||
insigniaId: string;
|
||||
year: number;
|
||||
no: string;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date;
|
||||
dateAnnounce: Date;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
42
src/components/information/interface/request/Leave.ts
Normal file
42
src/components/information/interface/request/Leave.ts
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
typeLeave: string;
|
||||
dateStartLeave: Date;
|
||||
dateEndLeave: Date;
|
||||
numLeave: number;
|
||||
sumLeave: number;
|
||||
totalLeave: number;
|
||||
status: string;
|
||||
reason: string;
|
||||
typeLeaveId: string;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsTotalObject {
|
||||
typeLeaveId: string;
|
||||
typeLeave: string;
|
||||
totalLeave: number;
|
||||
limitLeave: string;
|
||||
remainLeave: string;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps, RequestItemsTotalObject };
|
||||
49
src/components/information/interface/request/Main.ts
Normal file
49
src/components/information/interface/request/Main.ts
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: number;
|
||||
fullname: String;
|
||||
fullnameOld: String;
|
||||
avatar: String;
|
||||
citizenId: String;
|
||||
oc: String;
|
||||
position: String;
|
||||
positionPathSide: String;
|
||||
numberPosition: String | null;
|
||||
positionLine: String;
|
||||
positionType: String;
|
||||
govAge: number;
|
||||
positionLevel: String;
|
||||
positionExecutive: String | null;
|
||||
positionExecutiveSide: String | null;
|
||||
refSalary: String;
|
||||
positionEmployeePosition: String | null;
|
||||
positionEmployeePositionSide: String | null;
|
||||
positionEmployeeLevel: String | null;
|
||||
positionEmployeeGroup: String | null;
|
||||
dateAppoint: Date | string | null;
|
||||
dateStart: Date | string | null;
|
||||
createdAt: Date | string | null;
|
||||
salaryDate: Date | string | null;
|
||||
leaveReason: String;
|
||||
age: String;
|
||||
amount: String;
|
||||
insignia: String;
|
||||
insigniaLast: String;
|
||||
isLeave: String;
|
||||
leaveDateOrder: Date | string | null;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns };
|
||||
32
src/components/information/interface/request/OldName.ts
Normal file
32
src/components/information/interface/request/OldName.ts
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
prefix: string;
|
||||
prefixId: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
status: string;
|
||||
file: string | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
28
src/components/information/interface/request/Other.ts
Normal file
28
src/components/information/interface/request/Other.ts
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
date: Date;
|
||||
detail: string;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
31
src/components/information/interface/request/Record.ts
Normal file
31
src/components/information/interface/request/Record.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
date: Date;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
90
src/components/information/interface/request/Salary.ts
Normal file
90
src/components/information/interface/request/Salary.ts
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
interface DataPropsEmployee {
|
||||
row: RequestItemsEmployee;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
date: Date;
|
||||
amount: number;
|
||||
positionSalaryAmount: number;
|
||||
mouthSalaryAmount: number;
|
||||
oc: string;
|
||||
ocId: string;
|
||||
position: string;
|
||||
positionId: string;
|
||||
posNo: string;
|
||||
posNoId: string;
|
||||
positionLine: string;
|
||||
positionLineId: string;
|
||||
positionPathSide: string;
|
||||
positionPathSideId: string;
|
||||
positionType: string;
|
||||
positionTypeId: string;
|
||||
positionLevel: string;
|
||||
positionLevelId: string;
|
||||
positionExecutive: string;
|
||||
positionExecutiveId: string;
|
||||
positionExecutiveSide: string;
|
||||
positionExecutiveSideId: string;
|
||||
salaryClass: string;
|
||||
salaryRef: string;
|
||||
refCommandNo: string;
|
||||
// refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
interface RequestItemsEmployee {
|
||||
amount: number;
|
||||
createdAt: Date;
|
||||
createdFullName: string;
|
||||
date: Date;
|
||||
id: string;
|
||||
mouthSalaryAmount: number;
|
||||
oc: string | null;
|
||||
ocId: string;
|
||||
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;
|
||||
refCommandNo: string;
|
||||
// refCommandDate: Date | null;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestItemsObject,
|
||||
Columns,
|
||||
DataProps,
|
||||
RequestItemsEmployee,
|
||||
DataPropsEmployee,
|
||||
};
|
||||
30
src/components/information/interface/request/Talent.ts
Normal file
30
src/components/information/interface/request/Talent.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
field: string;
|
||||
detail: string;
|
||||
remark: string;
|
||||
reference: string;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
36
src/components/information/interface/request/Train.ts
Normal file
36
src/components/information/interface/request/Train.ts
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
name: string;
|
||||
topic: string;
|
||||
yearly: number;
|
||||
place: string;
|
||||
duration: string;
|
||||
department: string;
|
||||
numberOrder: string;
|
||||
dateOrder: Date;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
32
src/components/information/interface/request/Work.ts
Normal file
32
src/components/information/interface/request/Work.ts
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
interface DataProps {
|
||||
row: RequestItemsObject;
|
||||
rowIndex: number;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
id: string;
|
||||
dateStart: Date;
|
||||
dateEnd: Date;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
//columns
|
||||
interface Columns {
|
||||
[index: number]: {
|
||||
name: String;
|
||||
align: String;
|
||||
label: String;
|
||||
sortable: Boolean;
|
||||
field: String;
|
||||
headerStyle: String;
|
||||
style: String;
|
||||
};
|
||||
}
|
||||
|
||||
export type { RequestItemsObject, Columns, DataProps };
|
||||
Loading…
Add table
Add a link
Reference in a new issue