+
+
ประวัติส่วนตัว
+
+
{
>
แก้ไขข้อมูล
-
+
ประวัติข้อมูลส่วนตัว
@@ -352,7 +604,10 @@ onMounted(async () => {
-
+
@@ -591,15 +846,46 @@ onMounted(async () => {
flat
round
type="submit"
- icon="mdi-pencil-outline"
- color="primary"
+ icon="mdi-content-save-outline"
+ color="secondary"
>
- แก้ไขข้อมูล
+ บันทึก
+
+
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
-
+
diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
index 624cd5b60..760c2c835 100644
--- a/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
+++ b/src/modules/04_registryNew/components/detail/PersonalInformation/02_NameChangeHistory.vue
@@ -210,11 +210,11 @@ const paginationLabel = (start: string, end: string, total: string) => {
return start + "-" + end + " ใน " + total;
};
-const openFile = async (val: string | null) => {
+async function openFile(val: string | null) {
if (val != null) window.open(val);
-};
+}
-const clickHistory = async (row: RequestItemsObject) => {
+async function clickHistory(row: RequestItemsObject) {
modalHistory.value = true;
// showLoader();
// await http
@@ -242,9 +242,9 @@ const clickHistory = async (row: RequestItemsObject) => {
// .finally(() => {
// hideLoader();
// });
-};
+}
-const fetchData = async () => {
+async function fetchData() {
showLoader();
await http
.get(config.API.profileChangeNameId(profileId.value))
@@ -271,7 +271,7 @@ const fetchData = async () => {
.finally(() => {
hideLoader();
});
-};
+}
onMounted(async () => {
// await fetchData();
@@ -279,11 +279,9 @@ onMounted(async () => {
-
- ประวัติการเปลี่ยนชื่อ-นามสกุล
-
-
-
+
ประวัติการเปลี่ยนชื่อ-นามสกุล
+
+
{
v-model:tittle="tittleHistory"
:history="true"
>
+
+
+
+
+ {{ date2Thai(col.value) }}
+
+
+ {{ typeChangeName(col.value) }}
+
+
+ {{ col.value }}
+
+
+
+
+
+
+