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 () => {