From 0f5bc65e3d15a7073343a1a42cbe9b793e45ef9e Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Mon, 21 Aug 2023 15:45:57 +0700 Subject: [PATCH 01/10] =?UTF-8?q?edit=20=E0=B9=81=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=A1=E0=B8=AD=E0=B8=9A=E0=B8=AB=E0=B8=A1=E0=B8=B2=E0=B8=A2?= =?UTF-8?q?=E0=B8=87=E0=B8=B2=E0=B8=99=E0=B8=81=E0=B8=B2=E0=B8=A3=E0=B8=97?= =?UTF-8?q?=E0=B8=94=E0=B8=A5=E0=B8=AD=E0=B8=87=E0=B8=9B=E0=B8=8F=E0=B8=B4?= =?UTF-8?q?=E0=B8=9A=E0=B8=B1=E0=B8=95=E0=B8=B4=E0=B8=AB=E0=B8=99=E0=B9=89?= =?UTF-8?q?=E0=B8=B2=E0=B8=97=E0=B8=B5=E0=B9=88=E0=B8=A3=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=81=E0=B8=B2=E0=B8=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/05_placement/api.probation.ts | 2 + .../components/probation/FormAssign.vue | 291 +++++++++++------- 2 files changed, 174 insertions(+), 119 deletions(-) diff --git a/src/api/05_placement/api.probation.ts b/src/api/05_placement/api.probation.ts index db4aadfa1..e988647fd 100644 --- a/src/api/05_placement/api.probation.ts +++ b/src/api/05_placement/api.probation.ts @@ -24,6 +24,8 @@ export default { calculateDate: () => `${calculate}/assign-finish`, saveFinish: (personalId: string) => `${finish}/probation-assign?personal_id=${personalId}`, + saveEditAssign: (personalId: string) => + `${finish}/probation-assign/${personalId}`, personalAdd: () => `${personal}/add`, probationGetAssignList: (personalId:string) => `${finish}/probation-assign-list?personal_id=${personalId}`, diff --git a/src/modules/05_placement/components/probation/FormAssign.vue b/src/modules/05_placement/components/probation/FormAssign.vue index d7d872e79..c5bbc76db 100644 --- a/src/modules/05_placement/components/probation/FormAssign.vue +++ b/src/modules/05_placement/components/probation/FormAssign.vue @@ -13,10 +13,38 @@ @click="router.go(-1)" v-if="routeName == 'probationWorkAdd'" /> -
+
เพิ่มแบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ
-
แบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ
+
+
แบบมอบหมายงานการทดลองปฏิบัติหน้าที่ราชการ
+ +
+ + แก้ไขข้อมูล + +
+
+ + ยกเลิก + + + บันทึกข้อมูล + +
+
@@ -46,10 +74,10 @@ @@ -63,12 +91,12 @@ hide-bottom-space :options="monthOp" class="col-xs-12 col-sm-6" - :readonly="routeName !== 'probationWorkAdd'" + :readonly="status != true" dense borderless option-label="label" option-value="value" - :outlined="routeName === 'probationWorkAdd'" + :outlined="status == true" v-model="monthSelect" :label="`ระยะเวลากี่เดือน`" /> @@ -82,7 +110,7 @@ borderless :enableTimePicker="false" week-start="0" - :readonly="routeName !== 'probationWorkAdd'" + :readonly="status != true" >