diff --git a/src/components/Dialogs/PopupPersonalNew.vue b/src/components/Dialogs/PopupPersonalNew.vue index 4afdf0b48..504fde1ed 100644 --- a/src/components/Dialogs/PopupPersonalNew.vue +++ b/src/components/Dialogs/PopupPersonalNew.vue @@ -487,7 +487,7 @@ async function fetchProfile(id: string, avatarName: string) { diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue index 7c6ddf9fb..eab68205e 100644 --- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue +++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue @@ -755,12 +755,12 @@ async function fetchDataTenure() { /** ทำงานเมื่อ Components ถูกเรียกใช้งาน*/ onMounted(() => { fetchListSalary(); - fetchDataTenure(); + empType.value === "" && fetchDataTenure(); });