From 78f32d79c31e0053d0f6222fb35abb71f5e3dbe8 Mon Sep 17 00:00:00 2001 From: waruneeauy Date: Thu, 11 Apr 2024 10:52:26 +0700 Subject: [PATCH 1/8] =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B1=E0=B8=9A?= =?UTF-8?q?=E0=B8=9F=E0=B8=B4=E0=B8=A5=E0=B8=94=E0=B9=8C=E0=B8=9A=E0=B8=B1?= =?UTF-8?q?=E0=B8=99=E0=B8=97=E0=B8=B6=E0=B8=81=E0=B8=97=E0=B8=B8=E0=B8=99?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=A8=E0=B8=B6=E0=B8=81=E0=B8=A9?= =?UTF-8?q?=E0=B8=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../15_development/components/MainTab.vue | 2 +- .../components/scholarship/DetailView.vue | 48 +++++++++++++++++-- .../interface/request/Scholarship.ts | 2 + .../interface/response/Scholarship.ts | 2 + 4 files changed, 48 insertions(+), 6 deletions(-) diff --git a/src/modules/15_development/components/MainTab.vue b/src/modules/15_development/components/MainTab.vue index 13a8c2508..1e2668aed 100644 --- a/src/modules/15_development/components/MainTab.vue +++ b/src/modules/15_development/components/MainTab.vue @@ -267,7 +267,7 @@ onUnmounted(() => { บันทึกข้อมูล --> (""); const modalDialogGov = ref(false); const budgetSourceOp = ref([ - { id: "BKK", name: "แหล่งงบประมาณกทม" }, - { id: "OTHER", name: "แหล่งงบประมาณอื่นๆ" }, + { id: "BKK", name: "งบประมาณ กทม." }, + { id: "HOSPITAL", name: "เงินบำรุงโรงพยาบาล" }, + { id: "FUND", name: "เงินกองทุน" }, + { id: "SUBSIDY", name: "เงินอุดหนุน" }, + { id: "OTHER", name: "เงินอื่น ๆ" }, ]); + const scholarshipTypeOp = ref([ { id: "DOMESTICE", name: "การศึกษาในประเทศ" }, { @@ -56,8 +60,11 @@ const scholarshipTypeOp = ref([ }, ]); const fundTypeOp = ref([ - { id: "FUND1", name: "ทุน 1 (ก)(ข)(ค)" }, - { id: "FUND2", name: "ทุน 2 (ก)(ข)" }, + { id: "FUND1", name: "ทุน 1 (ก)" }, + { id: "FUND2", name: "ทุน 1 (ข)" }, + { id: "FUND3", name: "ทุน 1 (ค)" }, + { id: "FUND4", name: "ทุน 2" }, + { id: "FUND5", name: "ทุนส่วนตัว" }, ]); const isGov = ref(false); @@ -135,6 +142,8 @@ const formBody = reactive({ studyAbroadStartDate: null, //วันเริ่มต้นการศึกษาดูงานต่างประเทศ studyAbroadEndDate: null, //วันสิ้นสุดการศึกษาดูงานต่างประเทศ totalPeriod: "", //รวมระยะเวลาในการศึกษา/รวมระยะเวลาในการฝึกอบรม + planType: "", + isNoUseBudget: false, }); function fetchDataDetail(id: string) { @@ -195,6 +204,8 @@ function fetchDataDetail(id: string) { formBody.studyAbroadStartDate = data.studyAbroadStartDate; formBody.studyAbroadEndDate = data.studyAbroadEndDate; formBody.totalPeriod = data.totalPeriod; + formBody.planType = data.planType ? data.planType : ""; + formBody.isNoUseBudget = data.isNoUseBudget ? data.isNoUseBudget : false; dataPerson.citizenId = data.citizenId ? data.citizenId : "-"; dataPerson.name = `${data.prefix}${data.firstName} ${data.lastName}`; @@ -501,6 +512,25 @@ onMounted(() => {
+
+ + +
{ ]" />
-
+
{ ]" />
+
+ +
Date: Thu, 11 Apr 2024 11:01:02 +0700 Subject: [PATCH 2/8] =?UTF-8?q?=20=E0=B8=A2=E0=B8=B8=E0=B8=97=E0=B8=98?= =?UTF-8?q?=E0=B8=A8=E0=B8=B2=E0=B8=AA=E0=B8=95=E0=B8=A3=E0=B9=8C=20=3D>?= =?UTF-8?q?=20Tree?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../15_development/views/Strategic.vue | 273 +++++++++++++++--- 1 file changed, 235 insertions(+), 38 deletions(-) diff --git a/src/modules/15_development/views/Strategic.vue b/src/modules/15_development/views/Strategic.vue index 8b92734c9..f2b84560f 100644 --- a/src/modules/15_development/views/Strategic.vue +++ b/src/modules/15_development/views/Strategic.vue @@ -1,57 +1,57 @@ From d97203c7185240f13c58d687af07aa90507669b3 Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 11 Apr 2024 11:05:41 +0700 Subject: [PATCH 3/8] =?UTF-8?q?=E0=B8=AA=E0=B8=A1=E0=B8=A3=E0=B8=A3?= =?UTF-8?q?=E0=B8=96=E0=B8=99=E0=B8=B0:=20=E0=B9=80=E0=B8=9E=E0=B8=B4?= =?UTF-8?q?=E0=B9=88=E0=B8=A1=E0=B9=80=E0=B8=81=E0=B8=93=E0=B8=91=E0=B9=8C?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B9=80?= =?UTF-8?q?=E0=B8=A1=E0=B8=B4=E0=B8=99+validation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Forms/04_FormExecutivePosition.vue | 177 +++++++++--------- .../Forms/05_FormExecutiveLevel.vue | 131 ++++++------- 2 files changed, 155 insertions(+), 153 deletions(-) diff --git a/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue b/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue index 105cc93e5..54f23df4c 100644 --- a/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue +++ b/src/modules/14_KPI/components/competency/Forms/04_FormExecutivePosition.vue @@ -1,5 +1,5 @@