198 lines
3.9 KiB
TypeScript
198 lines
3.9 KiB
TypeScript
interface FormQueryListProject {
|
|
year: number;
|
|
page: number;
|
|
pageSize: number;
|
|
keyword: string;
|
|
}
|
|
|
|
interface FormBasicinfo {
|
|
year: number;
|
|
org: string;
|
|
projectName: string;
|
|
reason: string;
|
|
objective: string;
|
|
}
|
|
|
|
interface FormGroupTarget {
|
|
groupTarget: string;
|
|
groupTargetSub: string;
|
|
position: string;
|
|
posType: string | null;
|
|
level: string | null;
|
|
type: string;
|
|
amount: number | null;
|
|
}
|
|
|
|
interface FormGroupRelate {
|
|
relate: string;
|
|
amount: number | null;
|
|
}
|
|
|
|
interface FormFollowResult {
|
|
metricType: string;
|
|
indicators: string;
|
|
target: string;
|
|
calculation: string;
|
|
measuRement: string;
|
|
results: string;
|
|
obstacles: string;
|
|
suggestions: string;
|
|
project: string;
|
|
}
|
|
|
|
interface FormFollowOther {
|
|
dateStart: Date | null;
|
|
dateEnd: Date | null;
|
|
totalDate: number;
|
|
address: string;
|
|
province: string;
|
|
budget: string;
|
|
accept: number | null;
|
|
receive: number | null;
|
|
approved: number | null;
|
|
budgetPay: number | null;
|
|
issues: string;
|
|
chance: string;
|
|
effects: string;
|
|
riskLevel: string;
|
|
riskManagement: string;
|
|
benefits: string;
|
|
topicsIssues: string;
|
|
trainingStudy: string;
|
|
}
|
|
|
|
interface FormAddHistory {
|
|
id: string;
|
|
name: string | null;
|
|
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;
|
|
}
|
|
|
|
interface FormAddHistoryEmployee {
|
|
id: string;
|
|
name: string | null;
|
|
prefix: string;
|
|
rank: string;
|
|
firstName: string;
|
|
lastName: string;
|
|
citizenId: string;
|
|
level: string;
|
|
type: string;
|
|
posLevelId: string;
|
|
posTypeId: string;
|
|
position: string;
|
|
|
|
posNo: string;
|
|
oc: string;
|
|
[key: string]: any;
|
|
}
|
|
|
|
interface FormAddHistoryProject {
|
|
id: string;
|
|
project: string;
|
|
year: string;
|
|
trainingStart: string;
|
|
trainingEnd: string;
|
|
totalTraining: string;
|
|
location: string;
|
|
topic: string;
|
|
studyStart: string;
|
|
studyEnd: string;
|
|
organizingTraining: string;
|
|
[key: string]: any;
|
|
}
|
|
|
|
/** form เพิ่มรายการโครงการ/หลักสูตรการฝึกอบรม*/
|
|
interface FormAddProject {
|
|
year: number;
|
|
projectName: string;
|
|
reason: string;
|
|
objective: string;
|
|
metricType: string;
|
|
indicators: string;
|
|
target: string;
|
|
calculation: string;
|
|
measuRement: string;
|
|
results: string;
|
|
obstacles: string;
|
|
suggestions: string;
|
|
project: string;
|
|
isPassAllocate: boolean;
|
|
isPassNoAllocate: boolean;
|
|
isNoPass: boolean;
|
|
isBudget: boolean;
|
|
isOutBudget: boolean;
|
|
dateStart: Date | null;
|
|
dateEnd: Date | null;
|
|
totalDate: number | null;
|
|
address: string;
|
|
provinceId: string | null;
|
|
budget: string;
|
|
accept: number | string | null;
|
|
receive: number | string | null;
|
|
approved: number | string | null;
|
|
budgetPay: number | string | null;
|
|
issues: string;
|
|
chance: string;
|
|
effects: string;
|
|
riskLevel: string;
|
|
riskManagement: string;
|
|
expect: string;
|
|
topicAcademic: string;
|
|
addressAcademic: string;
|
|
provinceActualId: string | null;
|
|
actualPeoples: People[];
|
|
plannedPeoples: People[];
|
|
actualGoals: actualGoals[];
|
|
plannedGoals: PlannedGoals[];
|
|
}
|
|
|
|
interface People {
|
|
groupTarget: string;
|
|
amount: number | null;
|
|
}
|
|
|
|
interface actualGoals {
|
|
groupTarget: string;
|
|
groupTargetSub: string;
|
|
position: string;
|
|
posTypeActualId: string | null;
|
|
posLevelActualId: string | null;
|
|
type: string;
|
|
amount: number | null;
|
|
}
|
|
|
|
interface PlannedGoals {
|
|
groupTarget: string;
|
|
groupTargetSub: string;
|
|
position: string;
|
|
posTypePlannedId: string | null;
|
|
posLevelPlannedId: string | null;
|
|
type: string;
|
|
amount: number | null;
|
|
}
|
|
|
|
export type {
|
|
FormQueryListProject,
|
|
FormAddProject,
|
|
FormBasicinfo,
|
|
FormGroupTarget,
|
|
FormGroupRelate,
|
|
FormFollowResult,
|
|
FormFollowOther,
|
|
FormAddHistory,
|
|
FormAddHistoryProject,
|
|
FormAddHistoryEmployee,
|
|
};
|