diff --git a/src/modules/05_placement/components/Other/Detail.vue b/src/modules/05_placement/components/Other/Detail.vue index 3a50ad8d6..ad55e7d6f 100644 --- a/src/modules/05_placement/components/Other/Detail.vue +++ b/src/modules/05_placement/components/Other/Detail.vue @@ -71,6 +71,8 @@ const Otherdata = ref({ lastname: "", }); const avatar = ref(""); +const educationOld = ref(""); +const militaryDate = ref(null); //-----(fetch data by id)-----// const fecthOther = async () => { @@ -106,6 +108,8 @@ const fecthOther = async () => { date.value = data.positionDate !== null ? new Date(data.positionDate) : null; reason.value = data.reason ?? ""; + educationOld.value = data.educationOld ?? "-"; + militaryDate.value = data.militaryDate ?? null; }) .catch((e) => { messageError($q, e); @@ -146,6 +150,8 @@ const saveOther = async () => { positionLevelOld: positionLevelOld.value, positionNumberOld: posNo.value, amountOld: Number(salary.value), + educationOld: educationOld.value, + militaryDate: militaryDate.value, }; await http .put(config.API.otherByid(paramsId.toString()), data) @@ -291,6 +297,27 @@ onMounted(async () => {
+
+
+
วุฒิการศึกษา
+
+
+ +
+
+
ตำแหน่งและหน่วยงานเดิม
@@ -416,6 +443,52 @@ onMounted(async () => {
+
+
+ + + + + +
+