โครงการ => API ลักษณะโครงการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-17 18:06:15 +07:00
parent c5b68d0691
commit b76f5854cf
5 changed files with 107 additions and 74 deletions

View file

@ -7,6 +7,10 @@ interface DataOptionCheckBox {
label: string;
value: boolean;
}
interface DataOptionTechnique {
label: string;
value: string;
}
interface FormFilter {
page: number;
@ -78,11 +82,11 @@ interface FormProjectDetail {
projectNigthHoldActual: string | null;
developmentProjectTechniqueActuals: [];
projectModalActual?: string | null;
projectModalPlanneds?: string | null;
strategyChildPlannedId: string | null; //id ยุทธศาสตร์เป้าหมายตามแผน
strategyChildPlannedNode: number; //node ยุทธศาสตร์เป้าหมายตามแผน
strategyChildActualId: string | null; //id ยุทธศาสตร์เป้าหมายตามจริง
strategyChildActualNode: number; //node ยุทธศาสตร์เป้าหมายตามจริง
projectModalPlanned?: string | null;
strategyChildPlannedId?: string | null; //id ยุทธศาสตร์เป้าหมายตามแผน
strategyChildPlannedNode: number | null; //node ยุทธศาสตร์เป้าหมายตามแผน
strategyChildActualId?: string | null; //id ยุทธศาสตร์เป้าหมายตามจริง
strategyChildActualNode: number | null; //node ยุทธศาสตร์เป้าหมายตามจริง
}
export type {
@ -94,4 +98,5 @@ export type {
DataPerson,
ItemsDownload,
FormProjectDetail,
DataOptionTechnique,
};

View file

@ -110,22 +110,29 @@ interface ResPlannedGoals {
}
interface ResRecord {
commandDate: Date | null;
commandNumber: string |null;
firstName: string;
fullName: string;
id: string;
idcard: string;
isDone: boolean;
lastName: string;
org: string;
posExecutive: string | null;
posLevelName :string;
posTypeName: string;
position: string;
prefix: string;
trainingDays: number | null;
type: string;
commandDate: Date | null;
commandNumber: string | null;
firstName: string;
fullName: string;
id: string;
idcard: string;
isDone: boolean;
lastName: string;
org: string;
posExecutive: string | null;
posLevelName: string;
posTypeName: string;
position: string;
prefix: string;
trainingDays: number | null;
type: string;
}
interface DataStrategic {
id: string;
name: string;
level: number;
children: DataStrategic;
}
export type {
@ -136,5 +143,6 @@ export type {
ResPeople,
ResActualGoals,
ResPlannedGoals,
ResRecord
ResRecord,
DataStrategic,
};

View file

@ -0,0 +1,8 @@
interface DataStrategic {
id: string;
name: string;
level: number;
children: DataStrategic;
}
export type { DataStrategic };