ระบบการพัฒนา => รายการโครงการปรับการแสดงผลแบบฟอร์ม

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-08 11:53:58 +07:00
parent 41a0d80b64
commit 20e99fe23b
13 changed files with 1791 additions and 1319 deletions

View file

@ -87,6 +87,10 @@ interface FormProjectDetail {
strategyChildPlannedNode: number | null; //node ยุทธศาสตร์เป้าหมายตามแผน
strategyChildActualId?: string | null; //id ยุทธศาสตร์เป้าหมายตามจริง
strategyChildActualNode: number | null; //node ยุทธศาสตร์เป้าหมายตามจริง
dateStart: Date | null; //วันที่เริ่มต้น
dateEnd: Date | null; //วันที่สิ้นสุด
totalDate: number | null; //รวมระยะเวลา (วัน)
developmentAddresss: [{ address: string; provinceId: string }]; //ที่อยู่ ,จังหวัด
}
interface DataHistory {

View file

@ -7,6 +7,7 @@ interface FormIndicators {
results: string;
obstacles: string;
suggestions: string;
result: string;
}
interface FormProject {

View file

@ -240,6 +240,23 @@ interface FormProject {
orgRevisionId: string | null;
}
interface FormBudget {
budget: string;
budgetSub: string;
accept: number | string | null; //จํานวนงบประมาณที่ขอรับการจัดสรรฯ
receive: number | string | null; //จํานวนงบประมาณที่ได้รับการจัดสรรฯ
approved: number | string | null; //จํานวนงบประมาณที่ได้รับอนุมัติ
budgetPay: number | string | null; //จํานวนงบประมาณที่จ่ายจริง
}
interface FormRisk {
issues: string; //ประเด็นความเสี่ยง
chance: null | number; //โอกาสที่จะเกิด
effects: null | number; //ผลกระทบจากการเกิด
riskLevel: string; //ระดับความเสี่ยง
riskManagement: string; //เเนวทางการบริหารความเสี่ยง
}
export type {
FormQueryListProject,
FormAddProject,
@ -253,4 +270,6 @@ export type {
FormAddHistoryEmployee,
FormGroupTargetPlannedGoal,
FormProject,
FormBudget,
FormRisk,
};

View file

@ -1,23 +1,18 @@
interface FormData {
dateStart: Date | null; //วันที่เริ่มต้น
dateEnd: Date | null; //วันที่สิ้นสุด
totalDate: number | null; //รวมระยะเวลา (วัน)
developmentAddresss: [{ address: string; provinceId: string }]; //ที่อยู่ ,จังหวัด
budget: string; //ประเภทงบประมาณ(งบตามข้อบัญญัติ->REGULATIONBUDGET, งบประมาณกรุงเทพมหานคร->BANGKOKBUDGET, เงินนอกงบประมาณ->OUTSIDEBUDGET)
budgetSub: string;
accept: number | string | null; //จํานวนงบประมาณที่ขอรับการจัดสรรฯ
receive: number | string | null; //จํานวนงบประมาณที่ได้รับการจัดสรรฯ
approved: number | string | null; //จํานวนงบประมาณที่ได้รับอนุมัติ
budgetPay: number | string | null; //จํานวนงบประมาณที่จ่ายจริง
issues: string; //ประเด็นความเสี่ยง
chance: number | null; //โอกาสที่จะเกิด
effects: number | null; //ผลกระทบจากการเกิด
riskLevel: string; //ระดับความเสี่ยง
riskManagement: string; //เเนวทางการบริหารความเสี่ยง
expect: string; //ประโยชน์ที่คาดว่าจะได้รับ
topicAcademic: string; //หัวข้อ/ประเด็นการฝึกอบรม ศึกษาดูงาน
addressAcademic: string; //สถานที่ฝึกอบรม ศึกษาดูงาน
isBudget: boolean;
isNoPass: boolean;
isOutBudget: boolean;
isPassAllocate: boolean;
isPassNoAllocate: boolean;
project: string;
obstacle: string;
suggestion: string;
}
interface FormAcademic {
topicAcademic: string;
addressAcademic: string;
provinceActualId: string;
}
export type { FormData };
export type { FormData, FormAcademic };

View file

@ -188,6 +188,22 @@ interface ResPrefix {
name: string;
}
interface ResRisk {
chance: number;
createdAt: string;
createdFullName: string;
createdUserId: string;
developmentId: string;
effects: number;
id: string;
issues: string;
lastUpdateFullName: string;
lastUpdateUserId: string;
lastUpdatedAt: string;
riskLevel: string;
riskManagement: string;
}
export type {
ResGroup,
ResLevel,
@ -201,4 +217,5 @@ export type {
DataTree,
ResHistory,
ResPrefix,
ResRisk,
};