From ae8e363bbcb2a9b3f44b69716ae97321f7261c2f Mon Sep 17 00:00:00 2001 From: puriphatt Date: Tue, 12 Mar 2024 14:04:15 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5?= =?UTF-8?q?=E0=B8=A2=E0=B8=99=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1?= =?UTF-8?q?=E0=B8=95=E0=B8=B4:=20=E0=B8=94=E0=B8=B9=E0=B8=9B=E0=B8=A3?= =?UTF-8?q?=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B9=81=E0=B8=81?= =?UTF-8?q?=E0=B9=89=E0=B9=84=E0=B8=82=E0=B8=82=E0=B9=89=E0=B8=AD=E0=B8=A1?= =?UTF-8?q?=E0=B8=B9=E0=B8=A5=E0=B8=AA=E0=B9=88=E0=B8=A7=E0=B8=99=E0=B8=95?= =?UTF-8?q?=E0=B8=B1=E0=B8=A7=20=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7?= =?UTF-8?q?=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B9=80=E0=B8=9B=E0=B8=A5=E0=B8=B5?= =?UTF-8?q?=E0=B9=88=E0=B8=A2=E0=B8=99=E0=B8=8A=E0=B8=B7=E0=B9=88=E0=B8=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../detail/PersonalInformation/01_Profile.vue | 324 +++++++++++++++++- .../02_NameChangeHistory.vue | 47 ++- 2 files changed, 341 insertions(+), 30 deletions(-) diff --git a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue index 761a2305c..c3a48511d 100644 --- a/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue +++ b/src/modules/04_registryNew/components/detail/PersonalInformation/01_Profile.vue @@ -1,19 +1,23 @@ - + 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 () => {