From c2492369a73cbeaeab575e95575b096d45deb81d Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Fri, 10 Jan 2025 09:23:30 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=E0=B8=9F=E0=B8=B4=E0=B8=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_command/components/ViewPdf.vue | 1 + src/modules/05_command/interface/response/Main.ts | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/modules/05_command/components/ViewPdf.vue b/src/modules/05_command/components/ViewPdf.vue index e4870717..8c571a70 100644 --- a/src/modules/05_command/components/ViewPdf.vue +++ b/src/modules/05_command/components/ViewPdf.vue @@ -80,6 +80,7 @@ async function fetchDocumentTemplate(dataTemple: DataTemplateDetail) { position: "ผู้อำนวยการสำนัก/เขต", authorizedUserFullName: "............", authorizedPosition: "...................", + ...(dataTemple.persons ? { persons: dataTemple.persons } : {}), }, }; diff --git a/src/modules/05_command/interface/response/Main.ts b/src/modules/05_command/interface/response/Main.ts index 19972022..e021bcc6 100644 --- a/src/modules/05_command/interface/response/Main.ts +++ b/src/modules/05_command/interface/response/Main.ts @@ -19,6 +19,21 @@ interface DataTemplateDetail { fileAttachment?: string; isActive: boolean; commandSysId: string; + persons?: PersonsType[]; +} + +interface PersonsType { + no: string; + org?: string; + fullName: string; + citizenId: string; + position?: string; + posLevel?: string; + posNo?: string; + amount?: string; + dateRetire?: string; + dateExecute?: string; + remark?: string; } export type { DataCommandSys, DataTemplateDetail };