Refactoring code module 04_registryPerson

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-09-18 17:24:21 +07:00
parent 1164d79122
commit eeb92dfb5d
46 changed files with 1935 additions and 2230 deletions

View file

@ -10,6 +10,7 @@ interface DataOption2 {
id: number;
name: string;
}
interface DataOptionSys {
id: string;
name: string;
@ -21,6 +22,16 @@ interface DataOptionInsignia {
typeName: string;
}
interface DataOptionEducation {
label: string;
value: boolean;
}
interface DataOptionEducationLevel {
label: string;
value: string;
}
interface zipCodeOption {
id: string;
name: string;
@ -50,6 +61,12 @@ interface InsigniaOps {
insigniaOptions: DataOptionInsignia[];
}
interface ItemTab {
name: string;
icon: string;
label: string;
}
export type {
Pagination,
DataOption,
@ -60,4 +77,7 @@ export type {
AddressOps,
InsigniaOps,
DataOptionSys,
ItemTab,
DataOptionEducation,
DataOptionEducationLevel,
};

View file

@ -25,6 +25,7 @@ interface FormFilter {
interface DataOption {
id: string;
name: string;
disable?: boolean;
}
interface DisciplineOps {

View file

@ -1,8 +1,8 @@
interface DetailData {
id: string;
typeLeave: string;
dateStartLeave: Date | null;
dateEndLeave: Date | null;
dateStartLeave: Date | null | string;
dateEndLeave: Date | null | string;
numLeave: number;
status: string;
reason: string;
@ -26,7 +26,8 @@ interface FormFilter {
interface DataOptionLeave {
id: string;
name: string;
totalLeave: number;
totalLeave?: number;
code?: string;
}
interface DataOption {