-
+
+
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
-
-
+
+
+
-
@@ -770,8 +834,4 @@ watch(modal, (newValue) => {
-
+
diff --git a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
index 8930247e3..e0e465e7d 100644
--- a/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
+++ b/src/modules/04_registryPerson/components/detail/Achievement/03_Insignia.vue
@@ -1311,6 +1311,7 @@ onMounted(async () => {
:title="`ประวัติแก้ไขเครื่องราชอิสริยาภรณ์`"
:columns="columnsHistory"
:fetch-data="fetchDataHistory"
+ :type="'insignia'"
/>
diff --git a/src/modules/04_registryPerson/components/detail/DialogHistory.vue b/src/modules/04_registryPerson/components/detail/DialogHistory.vue
index 9da53b81a..ceab6ee49 100644
--- a/src/modules/04_registryPerson/components/detail/DialogHistory.vue
+++ b/src/modules/04_registryPerson/components/detail/DialogHistory.vue
@@ -17,6 +17,7 @@ const columns = defineModel
("columns", {
const visibleColumnsMain = defineModel("visibleColumns", {
required: true,
});
+const type = defineModel("type", { default: "" });
const props = defineProps({
fetchData: { type: Function, required: true },
@@ -114,7 +115,7 @@ watch(
-
+
{{ props.rowIndex + 1 }}
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";
diff --git a/src/modules/21_report/components/CardPosition.vue b/src/modules/21_report/components/CardPosition.vue
index 956639272..3c7b12214 100644
--- a/src/modules/21_report/components/CardPosition.vue
+++ b/src/modules/21_report/components/CardPosition.vue
@@ -35,9 +35,11 @@ const cardData = ref([
data: [],
},
]);
+const isLoading = ref(true);
async function fetchDataTenure() {
if (props?.id) {
+ isLoading.value = true;
await http
.get(
config.API.salaryTenurePosition(
@@ -73,6 +75,9 @@ async function fetchDataTenure() {
})
.catch((err) => {
messageError($q, err);
+ })
+ .finally(() => {
+ isLoading.value = false;
});
}
}
@@ -88,7 +93,12 @@ onMounted(() => {
ข้อมูลตำแหน่ง
-