diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue index 33b700994..20169c715 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/05_Education.vue @@ -301,7 +301,7 @@ const historyColumns = ref([ sortable: true, field: "endDate", format(val, row) { - row.isDate + return row.isDate ? date2Thai(row.endDate) : new Date(row.endDate).getFullYear() + 543; }, diff --git a/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue b/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue index dc07a2f88..b80d7bc2a 100644 --- a/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue +++ b/src/modules/04_registryPerson/components/detail/PersonalInformation/06_SpecialSkill.vue @@ -677,7 +677,6 @@ onMounted(() => { {{ col.label }} - diff --git a/src/modules/04_registryPerson/views/detailView.vue b/src/modules/04_registryPerson/views/detailView.vue index fcfa508ff..adaeea629 100644 --- a/src/modules/04_registryPerson/views/detailView.vue +++ b/src/modules/04_registryPerson/views/detailView.vue @@ -497,6 +497,11 @@ function appointPost() { */ function clickPassaway() { dialogPassaway.value = true; + filePassaway.value = null; + deathCertificateNo.value = ""; + dateDeath.value = new Date(); + placeDeathCertificate.value = ""; + reasonDeath.value = ""; } /** @@ -1003,7 +1008,7 @@ onMounted(async () => { { { /> { {