diff --git a/src/components/Dialogs/PopupPersonalNew.vue b/src/components/Dialogs/PopupPersonalNew.vue index 0f9c2c695..2daefc91c 100644 --- a/src/components/Dialogs/PopupPersonalNew.vue +++ b/src/components/Dialogs/PopupPersonalNew.vue @@ -55,6 +55,7 @@ const emit = defineEmits(["update:modal"]); /** ตัวแปร*/ const modal = ref(false); +const isLoading = ref(true); const employeeClass = ref(""); const avatar = reactive({ avatar: "", @@ -128,7 +129,7 @@ function calculateAge(birthDate: Date | null) { * @param id profileID */ async function fetchInformation(id: string) { - showLoader(); + isLoading.value = true; await http .get( config.API.orgProfileById( @@ -182,7 +183,7 @@ async function fetchInformation(id: string) { messageError($q, err); }) .finally(() => { - hideLoader(); + isLoading.value = false; }); } @@ -324,7 +325,33 @@ watch(modal, (newValue) => {
- +
+ + + + +
+
{ />
+
{ ข้อมูลส่วนตัว
-
+
+
+ +
+
+
{ }}
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
+ +
- -
-
- +
-
-
- +
+
+
+ +
+
+ +
+
+ +
+
+ +
-
- + +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
-
- -
+
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- -
+
+ +
-
- +
+ +
+ +
+ +
+ +
+ +
diff --git a/src/modules/06_retirement/components/02_resign/ResignByid.vue b/src/modules/06_retirement/components/02_resign/ResignByid.vue index a33f25fcf..835bb256a 100644 --- a/src/modules/06_retirement/components/02_resign/ResignByid.vue +++ b/src/modules/06_retirement/components/02_resign/ResignByid.vue @@ -23,7 +23,7 @@ import type { import type { QTableProps } from "quasar"; import type { DataProfile } from "@/modules/05_placement/interface/index/Main"; -import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue"; +import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue"; import CardProfile from "@/components/CardProfile.vue"; import DialogAddCommander from "@/modules/06_retirement/components/DialogAddCommander.vue"; diff --git a/src/modules/06_retirement/components/03_resignEmp/ResignByid.vue b/src/modules/06_retirement/components/03_resignEmp/ResignByid.vue index ec11f42b2..e32532c16 100644 --- a/src/modules/06_retirement/components/03_resignEmp/ResignByid.vue +++ b/src/modules/06_retirement/components/03_resignEmp/ResignByid.vue @@ -25,7 +25,7 @@ import type { } from "@/modules/06_retirement/interface/response/Main"; import DialogHeader from "@/components/DialogHeader.vue"; -import PopupPersonal from "@/components/Dialogs/PopupPersonal.vue"; +import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue"; import CardProfile from "@/components/CardProfile.vue"; import DialogAddCommander from "@/modules/06_retirement/components/DialogAddCommander.vue";