Refactoring code module 06_retirement
This commit is contained in:
parent
1225254062
commit
ea921b39b0
29 changed files with 730 additions and 823 deletions
|
|
@ -1,4 +1,48 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
export type { Pagination };
|
||||
|
||||
interface RetirementList {
|
||||
id: string;
|
||||
profileId: string;
|
||||
order: number;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
name: string;
|
||||
organization: string | null;
|
||||
position: string;
|
||||
positionNumber: string | null;
|
||||
positionType: string;
|
||||
positionLevel: string;
|
||||
reason: string;
|
||||
remove: string;
|
||||
root: string | null;
|
||||
rootId: string | null;
|
||||
child1: string | null;
|
||||
child1Id: string | null;
|
||||
child2: string | null;
|
||||
child2Id: string | null;
|
||||
child3: string | null;
|
||||
child3Id: string | null;
|
||||
child4: string | null;
|
||||
child4Id: string | null;
|
||||
}
|
||||
|
||||
interface PersonData {
|
||||
id: string;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
fullname: string;
|
||||
position: string;
|
||||
level: string;
|
||||
organizationOrganization: string;
|
||||
}
|
||||
|
||||
interface RoundData {
|
||||
id: string;
|
||||
round: string;
|
||||
}
|
||||
|
||||
export type { Pagination, RetirementList, PersonData, RoundData };
|
||||
|
|
|
|||
|
|
@ -7,4 +7,17 @@ interface OptionQuestions2 {
|
|||
value: boolean;
|
||||
}
|
||||
|
||||
export type { OptionQuestions, OptionQuestions2 };
|
||||
interface QuestionDesc {
|
||||
question1Desc: string;
|
||||
question2Desc: string;
|
||||
question3Desc: string;
|
||||
question4Desc: string;
|
||||
question5Desc: string;
|
||||
question6Desc: string;
|
||||
question7Desc: string;
|
||||
question8Desc: string;
|
||||
question9Desc: string;
|
||||
question10Desc: string;
|
||||
}
|
||||
|
||||
export type { OptionQuestions, OptionQuestions2,QuestionDesc };
|
||||
|
|
|
|||
|
|
@ -51,6 +51,7 @@ interface CheckBoxType {
|
|||
label: string;
|
||||
value: string;
|
||||
}
|
||||
|
||||
export type {
|
||||
resMain,
|
||||
ResponseItems,
|
||||
|
|
|
|||
|
|
@ -26,4 +26,21 @@ interface TypeFile {
|
|||
pathName: string;
|
||||
}
|
||||
|
||||
export type { ResponseData, TypeFile };
|
||||
interface ResponseDataDetail {
|
||||
personId: string;
|
||||
avataPath: string;
|
||||
createdAt: Date;
|
||||
date: Date;
|
||||
id: string;
|
||||
organization: string;
|
||||
organizationPositionOld: string;
|
||||
positionLevelOld: string;
|
||||
positionNumberOld: string;
|
||||
positionTypeOld: string;
|
||||
reason: string;
|
||||
salary: number;
|
||||
status: string;
|
||||
fullname: string;
|
||||
}
|
||||
|
||||
export type { ResponseData, TypeFile,ResponseDataDetail };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue