update
This commit is contained in:
parent
46533bbd62
commit
15d3ac574d
128 changed files with 347 additions and 322 deletions
58
src/modules/04_registryPerson/interface/index/Main.ts
Normal file
58
src/modules/04_registryPerson/interface/index/Main.ts
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
interface Pagination {
|
||||
rowsPerPage: number;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
interface DataOption2 {
|
||||
id: number;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface DataOptionInsignia {
|
||||
id: string;
|
||||
name: string;
|
||||
typeName: string;
|
||||
}
|
||||
|
||||
interface zipCodeOption {
|
||||
id: string;
|
||||
name: string;
|
||||
zipCode: string;
|
||||
}
|
||||
|
||||
interface InformationOps {
|
||||
prefixOps: DataOption[];
|
||||
rankOps: DataOption[];
|
||||
genderOps: DataOption[];
|
||||
bloodOps: DataOption[];
|
||||
statusOps: DataOption[];
|
||||
religionOps: DataOption[];
|
||||
employeeClassOps: DataOption[];
|
||||
employeeTypeOps: DataOption[];
|
||||
}
|
||||
|
||||
interface AddressOps {
|
||||
provinceOps: DataOption[];
|
||||
districtOps: DataOption[];
|
||||
districtCOps: DataOption[];
|
||||
subdistrictOps: zipCodeOption[];
|
||||
subdistrictCOps: zipCodeOption[];
|
||||
}
|
||||
|
||||
interface InsigniaOps {
|
||||
insigniaOptions: DataOptionInsignia[];
|
||||
}
|
||||
|
||||
export type {
|
||||
Pagination,
|
||||
DataOption,
|
||||
DataOption2,
|
||||
DataOptionInsignia,
|
||||
zipCodeOption,
|
||||
InformationOps,
|
||||
AddressOps,
|
||||
InsigniaOps,
|
||||
};
|
||||
41
src/modules/04_registryPerson/interface/index/discipline.ts
Normal file
41
src/modules/04_registryPerson/interface/index/discipline.ts
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
interface RequestItemsObject {
|
||||
profileId: string,
|
||||
id?: string;
|
||||
level: string;
|
||||
detail: string;
|
||||
unStigma: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
date: Date | null;
|
||||
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
interface DisciplineOps {
|
||||
levelOptions: DataOption[];
|
||||
}
|
||||
interface MyObjectRef {
|
||||
date: object | null;
|
||||
detail: object | null;
|
||||
refCommandNo: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { RequestItemsObject,FormFilter,DataOption,DisciplineOps,MyObjectRef };
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
interface ArrayFileList {
|
||||
id:string
|
||||
pathName:string
|
||||
fileName:string
|
||||
}
|
||||
|
||||
export type {
|
||||
ArrayFileList
|
||||
}
|
||||
30
src/modules/04_registryPerson/interface/index/family.ts
Normal file
30
src/modules/04_registryPerson/interface/index/family.ts
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
interface FormPerson {
|
||||
isLive: null | number | boolean | string;
|
||||
citizenId: string;
|
||||
prefix: string;
|
||||
firstName: string;
|
||||
lastName: string;
|
||||
job: string;
|
||||
lastNameOld?: string;
|
||||
statusMarital?: string;
|
||||
}
|
||||
|
||||
interface FormChildren {
|
||||
id: string;
|
||||
createdAt: string;
|
||||
createdUserId: string;
|
||||
lastUpdatedAt: string;
|
||||
lastUpdateUserId: string;
|
||||
createdFullName: string;
|
||||
lastUpdateFullName: string;
|
||||
childrenCareer: string;
|
||||
childrenFirstName: string;
|
||||
childrenLastName: string;
|
||||
childrenPrefix: string;
|
||||
childrenLive: boolean | number | null;
|
||||
childrenCitizenId: string;
|
||||
profileId: string | null;
|
||||
profileEmployeeId: string | null;
|
||||
}
|
||||
|
||||
export type { FormPerson, FormChildren };
|
||||
19
src/modules/04_registryPerson/interface/index/form.ts
Normal file
19
src/modules/04_registryPerson/interface/index/form.ts
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
interface FormData {
|
||||
type: string,
|
||||
citizenId: string,
|
||||
fullName: string,
|
||||
retireYear: number | null,
|
||||
year: number | null,
|
||||
posPath: string,
|
||||
posLevel: string,
|
||||
posOc: string,
|
||||
isShowRetire: boolean,
|
||||
isProbation: boolean,
|
||||
}
|
||||
|
||||
interface YearRange {
|
||||
min:number,
|
||||
max:number
|
||||
}
|
||||
|
||||
export type { FormData , YearRange}
|
||||
50
src/modules/04_registryPerson/interface/index/government.ts
Normal file
50
src/modules/04_registryPerson/interface/index/government.ts
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
interface FormMain {
|
||||
ocId: string;
|
||||
positionId: string;
|
||||
positionLine: string;
|
||||
positionLevel: string;
|
||||
numberId: string;
|
||||
positionExecutive: string;
|
||||
positionExecutiveSide: string;
|
||||
positionType: string;
|
||||
positionPathSide: string;
|
||||
|
||||
containDate: any;
|
||||
workDate: any;
|
||||
reasonSameDate: string;
|
||||
retireDate: any;
|
||||
ageAll: GovAgeForm;
|
||||
absent: number;
|
||||
age: number;
|
||||
[key: string]: any;
|
||||
}
|
||||
interface GovAgeForm {
|
||||
year: number;
|
||||
month: number;
|
||||
day: number;
|
||||
}
|
||||
|
||||
interface RequestItemsHistoryObject {
|
||||
lastUpdatedAt: Date;
|
||||
lastUpdateFullName: string;
|
||||
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;
|
||||
dateRetire: string | null;
|
||||
dateRetireLaw: string | null;
|
||||
govAge: string | null;
|
||||
govAgeAbsent: string | null;
|
||||
govAgePlus: string | null;
|
||||
reasonSameDate: string | null;
|
||||
createdFullName: string | null;
|
||||
createdAt: Date;
|
||||
}
|
||||
export type { RequestItemsHistoryObject, FormMain };
|
||||
55
src/modules/04_registryPerson/interface/index/leave.ts
Normal file
55
src/modules/04_registryPerson/interface/index/leave.ts
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
interface DetailData {
|
||||
id: string;
|
||||
typeLeave: string;
|
||||
dateStartLeave: Date | null;
|
||||
dateEndLeave: Date | null;
|
||||
numLeave: number;
|
||||
status: string;
|
||||
reason: string;
|
||||
typeLeaveId: string;
|
||||
code: string;
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
interface DataOptionLeave {
|
||||
id: string;
|
||||
name: string;
|
||||
totalLeave: number;
|
||||
}
|
||||
|
||||
interface DataOption {
|
||||
id: string;
|
||||
name: string;
|
||||
disable?: boolean;
|
||||
}
|
||||
|
||||
interface ResponseTotalObject {
|
||||
typeLeaveId: string;
|
||||
typeLeave: string;
|
||||
totalLeave: number;
|
||||
limitLeave: string;
|
||||
remainLeave: string;
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
typeLeave: object | null;
|
||||
dateRange: object | null;
|
||||
numLeave: object | null;
|
||||
statLeave: object | null;
|
||||
reason: object | null;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export type { DetailData, FormFilter, DataOptionLeave, DataOption, ResponseTotalObject, MyObjectRef };
|
||||
31
src/modules/04_registryPerson/interface/index/other.ts
Normal file
31
src/modules/04_registryPerson/interface/index/other.ts
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
interface RowList {
|
||||
id: string;
|
||||
date: Date | null;
|
||||
detail: string;
|
||||
lastUpdateFullName: string;
|
||||
lastUpdatedAt: Date;
|
||||
}
|
||||
|
||||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
interface MyObjectRef {
|
||||
date: object | null;
|
||||
detail: object | null;
|
||||
[key: string]: any
|
||||
}
|
||||
|
||||
export type {
|
||||
RowList,
|
||||
FormFilter,
|
||||
MyObjectRef,
|
||||
}
|
||||
|
|
@ -0,0 +1,48 @@
|
|||
interface FormFilter {
|
||||
page: number;
|
||||
pageSize: number;
|
||||
keyword: string;
|
||||
type: string;
|
||||
posType: string;
|
||||
posLevel: string;
|
||||
retireYear: string | null;
|
||||
rangeYear: { min: number; max: number };
|
||||
isShowRetire: boolean;
|
||||
isProbation: boolean;
|
||||
}
|
||||
|
||||
//ข้อมูล
|
||||
interface RequestItemsObject {
|
||||
profileId: string,
|
||||
id?: string,
|
||||
dateStart: Date | null,
|
||||
dateEnd: Date | null,
|
||||
detail: string,
|
||||
reference: string,
|
||||
refCommandNo: string,
|
||||
refCommandDate: Date | null,
|
||||
}
|
||||
|
||||
interface MyObjectRef {
|
||||
dateStart:object|null
|
||||
dateEnd:object|null
|
||||
detail:object|null
|
||||
reference:object|null
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
interface ResponseObject {
|
||||
lastUpdateFullName: string,
|
||||
lastUpdatedAt: Date,
|
||||
id: string;
|
||||
dateStart: Date;
|
||||
dateEnd: Date;
|
||||
detail: string;
|
||||
reference: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
createdFullName: string;
|
||||
createdAt: Date;
|
||||
}
|
||||
|
||||
export type{ FormFilter,RequestItemsObject,MyObjectRef,ResponseObject }
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
interface RangeYear {
|
||||
min: number;
|
||||
max: number;
|
||||
}
|
||||
|
||||
export type { RangeYear };
|
||||
21
src/modules/04_registryPerson/interface/index/salary.ts
Normal file
21
src/modules/04_registryPerson/interface/index/salary.ts
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
interface RowList {
|
||||
id: string;
|
||||
date: Date | null;
|
||||
reference: string;
|
||||
detail: string;
|
||||
refCommandNo: string;
|
||||
refCommandDate: Date | null;
|
||||
}
|
||||
|
||||
interface ObjectSalaryRef {
|
||||
date: object | null;
|
||||
posNo: object | null;
|
||||
position: object | null;
|
||||
typePosition: object | null;
|
||||
levelPosition: object | null;
|
||||
salary: object | null;
|
||||
doc: object | null;
|
||||
|
||||
[key: string]: any;
|
||||
}
|
||||
export type { RowList, ObjectSalaryRef };
|
||||
Loading…
Add table
Add a link
Reference in a new issue