diff --git a/src/modules/04_registry/components/Insignia.vue b/src/modules/04_registry/components/Insignia.vue
index 0e3317d15..5db852439 100644
--- a/src/modules/04_registry/components/Insignia.vue
+++ b/src/modules/04_registry/components/Insignia.vue
@@ -23,17 +23,18 @@
@click="selectData(props)"
class="cursor-pointer"
>
-
-
+
+
{{ col.value + 543 }}
@@ -550,7 +551,7 @@ profileData.insignia.columns.length == 0
"dateAnnounce",
"refCommandNo",
"refCommandDate",
- "createdAt"
+ "createdAt",
])
: (visibleColumns.value = profileData.insignia.columns);
const columns = ref([
@@ -953,7 +954,7 @@ const fetchData = async () => {
rows.value.push({
id: e.id,
insignia: e.insignia == null ? null : e.insignia.name,
- insigniaId: e.insigniaId,
+ insigniaId: e.insignia == null ? null : e.insignia.id,
insigniaType: e.insigniaType,
year: e.year,
no: e.no,
@@ -962,13 +963,13 @@ const fetchData = async () => {
volume: e.volume,
section: e.section,
page: e.page,
- receiveDate: date2Thai(e.receiveDate),
- dateAnnounce: date2Thai(e.dateAnnounce),
+ receiveDate: new Date(e.receiveDate),
+ dateAnnounce: new Date(e.dateAnnounce),
refCommandNo: e.refCommandNo,
refCommandDate:
- e.refCommandDate == null ? null : date2Thai(e.refCommandDate),
+ e.refCommandDate == null ? null : new Date(e.refCommandDate),
createdFullName: e.createdFullName,
- createdAt: date2Thai(e.createdAt),
+ createdAt: new Date(e.createdAt),
});
});
})