2024-02-15 11:46:25 +07:00
|
|
|
interface DataOption {
|
2024-07-30 10:15:15 +07:00
|
|
|
id: string | null;
|
2024-02-15 11:46:25 +07:00
|
|
|
name: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-01 13:42:24 +07:00
|
|
|
interface DataOptionCheckBox {
|
|
|
|
|
label: string;
|
2024-04-04 11:18:30 +07:00
|
|
|
value: boolean;
|
2024-04-01 13:42:24 +07:00
|
|
|
}
|
2024-04-17 18:06:15 +07:00
|
|
|
interface DataOptionTechnique {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
}
|
2024-04-01 13:42:24 +07:00
|
|
|
|
2024-04-03 17:12:04 +07:00
|
|
|
interface FormFilter {
|
|
|
|
|
page: number;
|
|
|
|
|
pageSize: number;
|
|
|
|
|
keyword: string;
|
|
|
|
|
type: string;
|
2024-04-04 11:18:30 +07:00
|
|
|
year: number;
|
2024-04-03 17:12:04 +07:00
|
|
|
posType: string;
|
|
|
|
|
posLevel: string;
|
|
|
|
|
retireYear: string | null;
|
|
|
|
|
rangeYear: { min: number; max: number };
|
|
|
|
|
isShowRetire: boolean | null;
|
|
|
|
|
isProbation: boolean | null;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-03 11:14:26 +07:00
|
|
|
interface ItemsMenu {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
interface NewPagination {
|
|
|
|
|
descending: boolean;
|
|
|
|
|
page: number;
|
|
|
|
|
rowsPerPage: number;
|
|
|
|
|
sortBy: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-04 14:42:13 +07:00
|
|
|
interface DataPerson {
|
|
|
|
|
id: string;
|
|
|
|
|
name: string;
|
|
|
|
|
prefix: string;
|
|
|
|
|
rank: string;
|
|
|
|
|
firstName: string;
|
|
|
|
|
lastName: string;
|
|
|
|
|
citizenId: string;
|
|
|
|
|
level: string;
|
|
|
|
|
type: string;
|
|
|
|
|
posLevelId: string;
|
|
|
|
|
posTypeId: string;
|
|
|
|
|
position: string;
|
|
|
|
|
positionSide: string;
|
|
|
|
|
posNo: string;
|
|
|
|
|
oc: string;
|
|
|
|
|
[key: string]: any;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-05 16:31:36 +07:00
|
|
|
interface ItemsDownload {
|
|
|
|
|
label: string;
|
|
|
|
|
value: string;
|
|
|
|
|
icon: string;
|
|
|
|
|
color: string;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-11 16:13:19 +07:00
|
|
|
interface FormProjectDetail {
|
|
|
|
|
developmentProjectTypes: [];
|
|
|
|
|
projectModal: string | null;
|
|
|
|
|
isBackPlanned: boolean;
|
|
|
|
|
isHoldPlanned: boolean;
|
|
|
|
|
projectDayBackPlanned: string | null;
|
|
|
|
|
projectDayHoldPlanned: string | null;
|
|
|
|
|
projectNigthHoldPlanned: string | null;
|
2024-07-09 16:22:18 +07:00
|
|
|
developmentProjectTechniquePlanneds: String[];
|
2024-04-11 16:13:19 +07:00
|
|
|
isBackActual: boolean;
|
|
|
|
|
isHoldActual: boolean;
|
|
|
|
|
projectDayBackActual: string | null;
|
|
|
|
|
projectDayHoldActual: string | null;
|
|
|
|
|
projectNigthHoldActual: string | null;
|
2024-07-09 16:22:18 +07:00
|
|
|
developmentProjectTechniqueActuals: String[];
|
2024-04-17 13:34:11 +07:00
|
|
|
projectModalActual?: string | null;
|
2024-04-17 18:06:15 +07:00
|
|
|
projectModalPlanned?: string | null;
|
|
|
|
|
strategyChildPlannedId?: string | null; //id ยุทธศาสตร์เป้าหมายตามแผน
|
|
|
|
|
strategyChildPlannedNode: number | null; //node ยุทธศาสตร์เป้าหมายตามแผน
|
|
|
|
|
strategyChildActualId?: string | null; //id ยุทธศาสตร์เป้าหมายตามจริง
|
|
|
|
|
strategyChildActualNode: number | null; //node ยุทธศาสตร์เป้าหมายตามจริง
|
2024-04-11 16:13:19 +07:00
|
|
|
}
|
|
|
|
|
|
2024-07-30 10:15:15 +07:00
|
|
|
interface DataHistory {
|
|
|
|
|
citizenId: string;
|
|
|
|
|
id: string;
|
|
|
|
|
level: string;
|
|
|
|
|
name: string;
|
|
|
|
|
position: string;
|
|
|
|
|
positionSide: string;
|
|
|
|
|
projectName: string;
|
|
|
|
|
type: string;
|
|
|
|
|
year: number;
|
|
|
|
|
}
|
|
|
|
|
|
2024-04-04 11:18:30 +07:00
|
|
|
export type {
|
|
|
|
|
DataOption,
|
|
|
|
|
DataOptionCheckBox,
|
|
|
|
|
ItemsMenu,
|
|
|
|
|
NewPagination,
|
|
|
|
|
FormFilter,
|
2024-04-04 14:42:13 +07:00
|
|
|
DataPerson,
|
2024-04-11 16:13:19 +07:00
|
|
|
ItemsDownload,
|
|
|
|
|
FormProjectDetail,
|
2024-04-17 18:06:15 +07:00
|
|
|
DataOptionTechnique,
|
2024-07-30 10:15:15 +07:00
|
|
|
DataHistory,
|
2024-04-04 11:18:30 +07:00
|
|
|
};
|