diff --git a/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue b/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue index d2f2565c1..1f92ac6ce 100644 --- a/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue +++ b/src/modules/04_registryNew/components/detail/Achievement/04_DeclarationHonor.vue @@ -1,6 +1,752 @@ - + diff --git a/src/modules/04_registryNew/interface/request/DeclarationHonor.ts b/src/modules/04_registryNew/interface/request/DeclarationHonor.ts new file mode 100644 index 000000000..46d4ab710 --- /dev/null +++ b/src/modules/04_registryNew/interface/request/DeclarationHonor.ts @@ -0,0 +1,33 @@ +interface gDataProps { + row: RequestItemsObject; + rowIndex: number; +} + +//ข้อมูล +interface RequestItemsObject { + id: string; + issuer: string; + detail: string; + issueDate: number | null; + issueDate2: Date; + refCommandNo: string; + refCommandDate: Date | null | string; + createdFullName: string; + createdAt: Date; + isDate: string; +} + +//columns +interface Columns { + [index: number]: { + name: String; + align: String; + label: String; + sortable: Boolean; + field: String; + headerStyle: String; + style: String; + }; +} + +export type { RequestItemsObject, Columns }; diff --git a/src/modules/04_registryNew/interface/response/DeclarationHonor.ts b/src/modules/04_registryNew/interface/response/DeclarationHonor.ts new file mode 100644 index 000000000..2b6eb44ac --- /dev/null +++ b/src/modules/04_registryNew/interface/response/DeclarationHonor.ts @@ -0,0 +1,15 @@ +//ข้อมูล +interface ResponseObject { + id: string; + issuer: string; + detail: string; + issueDate: number; + issueDate2: Date; + refCommandNo: string; + refCommandDate: Date | null; + createdFullName: string; + createdAt: Date; + isDate: string; +} + +export type { ResponseObject };