update
This commit is contained in:
parent
46533bbd62
commit
15d3ac574d
128 changed files with 347 additions and 322 deletions
16
src/modules/04_registryPerson/interface/request/Address.ts
Normal file
16
src/modules/04_registryPerson/interface/request/Address.ts
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
interface RequestObject {
|
||||
currentZipCode: string | null;
|
||||
currentSubDistrictId: string | null;
|
||||
currentDistrictId: string | null;
|
||||
currentProvinceId: string | null;
|
||||
currentAddress: string | null;
|
||||
registrationZipCode: string | null;
|
||||
registrationSubDistrictId: string | null;
|
||||
registrationDistrictId: string | null;
|
||||
registrationProvinceId: string | null;
|
||||
registrationAddress: string | null;
|
||||
}
|
||||
|
||||
export type {
|
||||
RequestObject,
|
||||
};
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
profileEmployeeId?: string;
|
||||
detail: string;
|
||||
issueDate: Date | null;
|
||||
issuer: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
isDate: boolean | string;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
26
src/modules/04_registryPerson/interface/request/Education.ts
Normal file
26
src/modules/04_registryPerson/interface/request/Education.ts
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
interface RequestItemsObject {
|
||||
profileId: string;
|
||||
educationLevel: string;
|
||||
institute: string;
|
||||
startYear: number;
|
||||
endYear: number;
|
||||
finishDate: Date | null;
|
||||
startDate: Date;
|
||||
endDate: Date;
|
||||
isEducation: boolean | null;
|
||||
degree: string;
|
||||
field: string;
|
||||
fundName: string;
|
||||
gpa: string;
|
||||
country: string;
|
||||
other: string;
|
||||
duration: string;
|
||||
durationYear: number | null | string;
|
||||
note: string;
|
||||
educationLevelId: string;
|
||||
positionPath: string;
|
||||
positionPathId: string;
|
||||
isDate: boolean;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
19
src/modules/04_registryPerson/interface/request/Employee.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Employee.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface FormEmployee {
|
||||
positionEmployeeGroupId: string;
|
||||
positionEmployeeLineId: string;
|
||||
positionEmployeePositionId: string;
|
||||
employeeOc: string;
|
||||
employeeTypeIndividual: string;
|
||||
employeeWage: string;
|
||||
employeeMoneyIncrease: string;
|
||||
employeeMoneyAllowance: string;
|
||||
employeeMoneyEmployee: string;
|
||||
employeeMoneyEmployer: string;
|
||||
}
|
||||
|
||||
interface FormEmployment {
|
||||
command: string;
|
||||
date: null | Date;
|
||||
}
|
||||
|
||||
export type { FormEmployee, FormEmployment };
|
||||
|
|
@ -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,
|
||||
};
|
||||
19
src/modules/04_registryPerson/interface/request/Insignia.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Insignia.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
year: number;
|
||||
no: string;
|
||||
volume: string;
|
||||
section: string;
|
||||
page: string;
|
||||
receiveDate: Date | null;
|
||||
insigniaId: string;
|
||||
dateAnnounce: Date | null;
|
||||
issue: string;
|
||||
volumeNo: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
note: string;
|
||||
profileEmployeeId?: string | null;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
38
src/modules/04_registryPerson/interface/request/Main.ts
Normal file
38
src/modules/04_registryPerson/interface/request/Main.ts
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean | null;
|
||||
isProbation: boolean | null;
|
||||
}
|
||||
|
||||
interface FormAddPerson {
|
||||
birthDate: Date | null,
|
||||
rank: string,
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
citizenId: string;
|
||||
position: string;
|
||||
posTypeId: string;
|
||||
posLevelId: string;
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
prefix: object | null;
|
||||
firstName: object | null;
|
||||
lastName: object | null;
|
||||
citizenId: object | null;
|
||||
position: object | null;
|
||||
posTypeId: object | null;
|
||||
posLevelId: object | null;
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { FormFilter, FormAddPerson, MyObjectRef };
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
interface RequestItemsObject {
|
||||
certificateType: string;
|
||||
issuer: string;
|
||||
certificateNo: string;
|
||||
issueDate: Date;
|
||||
expireDate: Date | null;
|
||||
profileId: string;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
21
src/modules/04_registryPerson/interface/request/Profile.ts
Normal file
21
src/modules/04_registryPerson/interface/request/Profile.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
interface RequestObject {
|
||||
birthDate: Date | null;
|
||||
bloodGroup: string | null;
|
||||
citizenId: string;
|
||||
// email: string | null;
|
||||
ethnicity: string | null;
|
||||
firstName: string;
|
||||
gender: string | null;
|
||||
lastName: string;
|
||||
nationality: string | null;
|
||||
phone: string | null;
|
||||
// posLevelId: string;
|
||||
// posTypeId: string;
|
||||
prefix: string;
|
||||
rank: string | null;
|
||||
relationship: string | null;
|
||||
religion: string | null;
|
||||
// telephoneNumber: string | null;
|
||||
}
|
||||
|
||||
export type { RequestObject };
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
interface RequestItemsObject {
|
||||
profileId?: string;
|
||||
profileEmployeeId?: string;
|
||||
name: string;
|
||||
date: Date | null;
|
||||
point1: number;
|
||||
point1Total: number;
|
||||
point2: number;
|
||||
point2Total: number;
|
||||
pointSum: number;
|
||||
pointSumTotal: number;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
28
src/modules/04_registryPerson/interface/request/Salary.ts
Normal file
28
src/modules/04_registryPerson/interface/request/Salary.ts
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
interface FormSalaryNew {
|
||||
date: Date | null;
|
||||
posNo: string;
|
||||
templatePos: string;
|
||||
position: string;
|
||||
positionLine: string;
|
||||
positionPathSide: string;
|
||||
positionType: string;
|
||||
positionLevel: string;
|
||||
positionExecutive: string;
|
||||
salary: number | string | null;
|
||||
salaryPos: number | string | null;
|
||||
salaryCompensation: number | string | null;
|
||||
refCommandNo: string;
|
||||
templateDoc: string;
|
||||
doc: string;
|
||||
}
|
||||
|
||||
interface RequestNoPaidObject {
|
||||
profileId?: string;
|
||||
date: Date | null;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandDate: Date | null;
|
||||
refCommandNo: string;
|
||||
}
|
||||
|
||||
export type { FormSalaryNew, RequestNoPaidObject };
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
interface RequestItemsObject {
|
||||
field: string;
|
||||
detail: string;
|
||||
remark: string;
|
||||
reference: string;
|
||||
dateStart: Date | null,
|
||||
dateEnd: Date | null ,
|
||||
profileId: string,
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
|
||||
|
||||
19
src/modules/04_registryPerson/interface/request/Training.ts
Normal file
19
src/modules/04_registryPerson/interface/request/Training.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface RequestItemsObject {
|
||||
name: string,
|
||||
topic: string,
|
||||
yearly: number | null,
|
||||
place: string,
|
||||
duration: string,
|
||||
department: string,
|
||||
numberOrder: string,
|
||||
dateOrder: Date | null,
|
||||
startDate: Date,
|
||||
endDate: Date,
|
||||
startYear: number,
|
||||
finishYear: number,
|
||||
profileId: string,
|
||||
isDate: boolean,
|
||||
}
|
||||
|
||||
export type { RequestItemsObject };
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue