diff --git a/src/components/Dialogs/PopupPersonalNew.vue b/src/components/Dialogs/PopupPersonalNew.vue
index 504fde1ed..fae1f653e 100644
--- a/src/components/Dialogs/PopupPersonalNew.vue
+++ b/src/components/Dialogs/PopupPersonalNew.vue
@@ -384,7 +384,11 @@ async function fetchProfile(id: string, avatarName: string) {
borderless
readonly
:model-value="goverment.posNo ? goverment.posNo : '-'"
- label="ตำแหน่งเลขที่"
+ :label="
+ props.type == 'employee'
+ ? 'ตำแหน่งเลขที่'
+ : 'เลขที่ตำแหน่ง'
+ "
/>
@@ -430,7 +434,7 @@ async function fetchProfile(id: string, avatarName: string) {
:label="
props.type == 'employee'
? 'กลุ่มงาน'
- : 'ประเภทตำแหน่ง'
+ : 'ตำแหน่งประเภท'
"
/>
diff --git a/src/modules/02_organization/components/TableMain.vue b/src/modules/02_organization/components/TableMain.vue
index c930ad715..bbae3e5e8 100644
--- a/src/modules/02_organization/components/TableMain.vue
+++ b/src/modules/02_organization/components/TableMain.vue
@@ -30,6 +30,7 @@ import DialogHistoryPos from "@/modules/02_organization/components/DialogHistory
import DialogSelectPerson from "@/modules/02_organization/components/DialogSelectPerson.vue"; // เลือกคนครอง
import DialogSuccession from "@/modules/02_organization/components/DialogSuccession.vue"; // สืบทอดตำแหน่ง
import DialogCondition from "@/modules/19_condition/components/DialogCondition.vue";
+import PopupPersonal from "@/components/Dialogs/PopupPersonalNew.vue";
const $q = useQuasar();
const store = useOrganizational();
@@ -64,6 +65,8 @@ const props = defineProps({
},
});
+const modalPerson = ref(false); //ตัวแปร popup ข้อมูลทะเบียนประวัติ
+const personalId = ref(""); //ตัวแปร id ข้อมูลทะเบียนประวัติ
const modalSelectPerson = ref(false); //เลือกคนครอล
const rowId = ref(""); //id ที่ต้องการกระทำ
const actionType = ref(""); //ประเภทการกระทำ
@@ -819,6 +822,24 @@ watch(
: "-"
}}
+
+ {{
+ props.row.positionIsSelected
+ ? props.row.positionIsSelected
+ : "-"
+ }}
+
+ ดูข้อมูลในทะเบียนประวัติ
+
+
{{ col.value ? col.value : "-" }}
@@ -973,6 +994,13 @@ watch(
:fetch-data="fetchDataCondition"
:data-condition="dataCondition"
/>
+
+
+ {modalPerson = value}"
+ />