From f70a20497da691b4a6bbaab10450b747ca3ea346 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Mon, 2 Oct 2023 16:41:09 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88=E0=B8=A1?= =?UTF-8?q?=20field=20=20=E0=B9=83=E0=B8=99=E0=B8=A3=E0=B8=B0=E0=B8=9A?= =?UTF-8?q?=E0=B8=9A=E0=B8=9A=E0=B8=A3=E0=B8=A3=E0=B8=88=E0=B8=B8=20?= =?UTF-8?q?=E0=B8=A7=E0=B8=B8=E0=B8=92=E0=B8=B4=E0=B8=81=E0=B8=B2=E0=B8=A3?= =?UTF-8?q?=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9=E0=B8=B2=20=E0=B8=9E?= =?UTF-8?q?=E0=B9=89=E0=B8=99=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=E0=B8=97=E0=B8=AB=E0=B8=B2=E0=B8=A3=E0=B9=80=E0=B8=A1?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=20=E0=B9=83=E0=B8=99=E0=B8=AA?= =?UTF-8?q?=E0=B9=88=E0=B8=A7=E0=B8=99=E0=B8=A3=E0=B8=B2=E0=B8=A2=E0=B8=A5?= =?UTF-8?q?=E0=B8=B0=E0=B9=80=E0=B8=AD=E0=B8=B5=E0=B8=A2=E0=B8=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../05_placement/components/Other/Detail.vue | 73 +++++++++++++++++++ .../interface/response/OhterMain.ts | 1 + 2 files changed, 74 insertions(+) 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 () => {
+
+
+ + + + + +
+