เพิ่มฟิล

This commit is contained in:
setthawutttty 2025-01-10 09:23:30 +07:00
parent ab5d2b29e6
commit c2492369a7
2 changed files with 16 additions and 0 deletions

View file

@ -80,6 +80,7 @@ async function fetchDocumentTemplate(dataTemple: DataTemplateDetail) {
position: "ผู้อำนวยการสำนัก/เขต", position: "ผู้อำนวยการสำนัก/เขต",
authorizedUserFullName: "............", authorizedUserFullName: "............",
authorizedPosition: "...................", authorizedPosition: "...................",
...(dataTemple.persons ? { persons: dataTemple.persons } : {}),
}, },
}; };

View file

@ -19,6 +19,21 @@ interface DataTemplateDetail {
fileAttachment?: string; fileAttachment?: string;
isActive: boolean; isActive: boolean;
commandSysId: string; 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 }; export type { DataCommandSys, DataTemplateDetail };