update function tab

This commit is contained in:
AdisakKanthawilang 2024-08-07 14:03:40 +07:00
parent 4c0c02cc8b
commit 78fb5b5c0a
3 changed files with 177 additions and 77 deletions

View file

@ -652,6 +652,38 @@ export class Development extends EntityBase {
@ManyToOne(() => StrategyChild5, (strategyChild5) => strategyChild5.developmentActuals)
@JoinColumn({ name: "strategyChild5ActualId" })
strategyChild5Actual: StrategyChild5;
@Column({
type: "longtext",
nullable: true,
comment: "การติดตามความก้าวหน้า",
default: null,
})
progressTracking: string;
@Column({
type: "longtext",
nullable: true,
comment: "การประเมินผลโครงการ",
default: null,
})
projectEvaluation: string;
@Column({
type: "longtext",
nullable: true,
comment: "ปัญหาอุปสรรค",
default: null,
})
obstacle: string;
@Column({
type: "longtext",
nullable: true,
comment: "ข้อเสนอแนะ",
default: null,
})
suggestion: string;
}
export class CreateDevelopment {
@Column()
@ -695,6 +727,16 @@ export class UpdateDevelopment2_2 {
plannedPeoples: CreatePlannedPeople[];
}
export class UpdateDevelopment3 {
//move from tab5
@Column()
dateStart: Date | null;
@Column()
dateEnd: Date | null;
@Column()
totalDate: number | null;
//end
@Column()
developmentAddresss: CreateDevelopmentAddress[];
@Column()
developmentProjectTypes?: string[];
@Column()
@ -749,6 +791,22 @@ export class UpdateDevelopment3 {
export class UpdateDevelopment4 {
// @Column()
// developmentEvaluations: CreateDevelopmentEvaluation[];
//new
@Column()
progressTracking: string | null;
@Column()
projectEvaluation: string | null;
//end
}
export class UpdateDevelopment5 {
//new
@Column()
obstacle: string | null;
@Column()
suggestion: string | null;
//end
//move from tab4
@Column()
project: string | null;
@Column()
@ -761,16 +819,21 @@ export class UpdateDevelopment4 {
isBudget: boolean;
@Column()
isOutBudget: boolean;
//end
@Column()
budgetPay: Double | null;
@Column()
expect: string | null;
@Column()
topicAcademic: string | null;
@Column()
addressAcademic: string | null;
@Column()
provinceActualId: string | null;
}
export class UpdateDevelopment5 {
@Column()
dateStart: Date | null;
@Column()
dateEnd: Date | null;
@Column()
totalDate: number | null;
@Column()
developmentAddresss: CreateDevelopmentAddress[];
export class UpdateDevelopment7 {
//move from tab5
@Column()
budget: string | null;
@Column()
@ -781,8 +844,10 @@ export class UpdateDevelopment5 {
receive: Double | null;
@Column()
approved: Double | null;
@Column()
budgetPay: Double | null;
//end
}
export class UpdateDevelopment8 {
//move from tab5
@Column()
issues: string | null;
@Column()
@ -793,12 +858,5 @@ export class UpdateDevelopment5 {
riskLevel: string | null;
@Column()
riskManagement: string | null;
@Column()
expect: string | null;
@Column()
topicAcademic: string | null;
@Column()
addressAcademic: string | null;
@Column()
provinceActualId: string | null;
//end
}