เพิ่มโครงการ/หลักสูตรการฝึกอบรม => ข้อมูลเบื้องต้น,เป้าหมาย

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-04-03 17:51:00 +07:00
parent 80d48c9f1b
commit e022451d75
8 changed files with 588 additions and 175 deletions

View file

@ -17,8 +17,8 @@ interface FormGroupTarget {
groupTarget: string;
groupTargetSub: string;
position: string;
posType: string;
level: string;
posType: string | null;
level: string | null;
type: string;
amount: number | null;
}
@ -86,8 +86,79 @@ interface FormAddHistoryProject {
[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 | null;
receive: number | null;
approved: number | null;
budgetPay: number | 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,