From 547662e440590982c8979fa17c6cd1822f2bf4b2 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Fri, 6 Jun 2025 11:28:28 +0700 Subject: [PATCH] probation add personal add name child 1 to child 4 --- .../05_placement/components/probation/MainProbation.vue | 4 ++++ src/modules/05_placement/interface/response/Probation.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/src/modules/05_placement/components/probation/MainProbation.vue b/src/modules/05_placement/components/probation/MainProbation.vue index 1d37d72fe..d8a3e52c3 100644 --- a/src/modules/05_placement/components/probation/MainProbation.vue +++ b/src/modules/05_placement/components/probation/MainProbation.vue @@ -347,6 +347,10 @@ function addPersonalData(data: ResProfileProbation) { child3: data.orgChild3, child4: data.orgChild4, rootDna: data.rootDna, + orgChild1Dna: data.orgChild1Dna, + orgChild2Dna: data.orgChild2Dna, + orgChild3Dna: data.orgChild3Dna, + orgChild4Dna: data.orgChild4Dna, }); // ถ้าการเพิ่มข้อมูลสำเร็จ, อัปเดตสถานะของข้อมูล diff --git a/src/modules/05_placement/interface/response/Probation.ts b/src/modules/05_placement/interface/response/Probation.ts index 6612c8314..52b0e3c8b 100644 --- a/src/modules/05_placement/interface/response/Probation.ts +++ b/src/modules/05_placement/interface/response/Probation.ts @@ -44,6 +44,10 @@ interface ResProfileProbation { commandNo?: string; root: string; rootDna: string; + orgChild1Dna: string; + orgChild2Dna: string; + orgChild3Dna: string; + orgChild4Dna: string; } export type { ResListProbation, ResProfileProbation };