From e31b55595b6d0768011989a4bee3bbec93ea9983 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Mon, 24 Jul 2023 14:54:58 +0700 Subject: [PATCH 1/7] update probation detail --- .../components/probation/FormEvaluation.vue | 621 ++++++------------ .../components/probation/MainDetail.vue | 4 +- 2 files changed, 220 insertions(+), 405 deletions(-) diff --git a/src/modules/05_placement/components/probation/FormEvaluation.vue b/src/modules/05_placement/components/probation/FormEvaluation.vue index 0939b34ba..1ac78ef04 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation.vue @@ -21,24 +21,24 @@
วันเริ่มทดลองปฎิบัติหน้าที่ราชการ ตั้งแต่วันที่ - {{date2Thai(dateToday)}} - ถึงวันที - {{date2Thai(dateEnd)}} + {{ date2Thai(dateToday) }} + ถึงวันที + {{ date2Thai(dateEnd) }}
การทดลองปฏิบัติหน้าที่ราชการมีผล ดังนี้ {{ "ครั้งที่" + period }} ระหว่างวันที่ - {{ date2Thai(dateToday)}} + {{ date2Thai(dateToday) }} ถึงวันที่ - {{date2Thai(dateEnd)}} + {{ date2Thai(dateEnd) }}
- +
1 @@ -52,40 +52,33 @@ 1.ผลผลิตของงานที่คาดหวัง
- + {{ list.label }} - - + + - +
@@ -98,40 +91,36 @@ 1.ผลผลิตของงานที่เกิดขึ้น - + - {{ list.label }} + + - - + + - + @@ -146,29 +135,23 @@ ความรู้ความสามารถ - - + + @@ -187,29 +170,23 @@ ทักษะ - - + + @@ -228,29 +205,23 @@ สมรรถนะ - - + + @@ -269,29 +240,23 @@ ความสามารถในการเรียนรู้งาน - - + + @@ -310,29 +275,23 @@ ความสามารถในการปรับใช้ความรู้กับงานในหน้าที่ - - + + @@ -343,50 +302,37 @@
- 1.7 อื่นๆ + 1.7 อื่นๆ
- + - + - - + + @@ -399,36 +345,18 @@ จุดเด่น (ไม่เกิน 5 บรรทัด)
- +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -446,40 +374,33 @@ 2.1 ความประพฤติ
- + {{ list.label }} - - + + - + @@ -489,40 +410,33 @@ 2.2 ความมีคุณธรรมจริยธรรม - + {{ list.label }} - - + + - + @@ -532,90 +446,70 @@ 2.3 การรักษาวินัย - + {{ list.label }} - - + + - +
- 2.4 อื่นๆ + 2.4 อื่นๆ
- + - + - - + + @@ -628,36 +522,18 @@ จุดเด่น (ไม่เกิน 5 บรรทัด)
- +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -676,94 +552,54 @@ 1. การปฐมนิเทศ - +
- - + +
- + 2. การเรียนรู้ด้วยตนเอง - +
- - + +
- + 3. การอบรมสัมนาร่วมกัน - +
- - + +
- + 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี) - +
- - + +
@@ -780,49 +616,25 @@ ผู้บังคับบัญชาผู้มอบหมายงาน
-
- +
@@ -832,7 +644,7 @@
- +
@@ -845,40 +657,40 @@ import { useQuasar } from "quasar"; import router from "@/router"; const $q = useQuasar(); -const ratingColors = [ 'light-blue-3', 'light-blue-6', 'blue', 'blue-9', 'blue-10' ]; +const ratingColors = ['light-blue-3', 'light-blue-6', 'blue', 'blue-9', 'blue-10']; const list1_1 = [ - {id: '1', label: 'ผลผลิตของงานที่คาดหวัง 1'}, - {id: '2', label: 'ผลผลิตของงานที่คาดหวัง 2'}, - {id: '3', label: 'ผลผลิตของงานที่คาดหวัง 3'}, - {id: '4', label: 'ผลผลิตของงานที่คาดหวัง 4'}, - {id: '5', label: 'ผลผลิตของงานที่คาดหวัง 5'} + { id: '1', label: 'ผลผลิตของงานที่คาดหวัง 1' }, + { id: '2', label: 'ผลผลิตของงานที่คาดหวัง 2' }, + { id: '3', label: 'ผลผลิตของงานที่คาดหวัง 3' }, + { id: '4', label: 'ผลผลิตของงานที่คาดหวัง 4' }, + { id: '5', label: 'ผลผลิตของงานที่คาดหวัง 5' } ]; const list1_2 = [ - {id: '1', label: 'ผลผลิตของงานที่เกิดขึ้น 1'}, - {id: '2', label: 'ผลผลิตของงานที่เกิดขึ้น 2'}, - {id: '3', label: 'ผลผลิตของงานที่เกิดขึ้น 3'}, - {id: '4', label: 'ผลผลิตของงานที่เกิดขึ้น 4'}, - {id: '5', label: 'ผลผลิตของงานที่เกิดขึ้น 5'} + { id: '1', label: 'ผลผลิตของงานที่เกิดขึ้น 1' }, + { id: '2', label: 'ผลผลิตของงานที่เกิดขึ้น 2' }, + { id: '3', label: 'ผลผลิตของงานที่เกิดขึ้น 3' }, + { id: '4', label: 'ผลผลิตของงานที่เกิดขึ้น 4' }, + { id: '5', label: 'ผลผลิตของงานที่เกิดขึ้น 5' } ]; const list2_1 = [ - {id: '1', label: 'ให้บริการประชาชนหรือผู้รับบริการด้วยอัธยาศัยดี'}, - {id: '2', label: 'มีความรับผิดชอบในการปฏิบัติบัติงาน'}, - {id: '3', label: 'ให้บริการประชาชนหรือผู้รับบริการด้วยความรวดเร็ว เอาใจใส่เป็นมาตรฐานเดียวกัน'}, - {id: '4', label: 'ตั้งใจปฏิบัติบัติหน้าที่ราชการด้วยความอุตสาหะ ขยันหมั่นเพียร'}, + { id: '1', label: 'ให้บริการประชาชนหรือผู้รับบริการด้วยอัธยาศัยดี' }, + { id: '2', label: 'มีความรับผิดชอบในการปฏิบัติบัติงาน' }, + { id: '3', label: 'ให้บริการประชาชนหรือผู้รับบริการด้วยความรวดเร็ว เอาใจใส่เป็นมาตรฐานเดียวกัน' }, + { id: '4', label: 'ตั้งใจปฏิบัติบัติหน้าที่ราชการด้วยความอุตสาหะ ขยันหมั่นเพียร' }, ]; const list2_2 = [ - {id: '1', label: 'อุทิศตนและเสียสละเวลาในการปฏิบัติบัติงานอย่างเต็มกำลังความสามารถ'}, - {id: '2', label: 'มีจิตสำนึกที่ดี ปฏิบัติบัติงานด้วยความซื่อสัตย์ สุจริต'}, - {id: '3', label: 'ยึดมั่นในสถาบันบัพระมหากษัตริย์ และไม่กระทำการใด ๆ อันจะก่อให้เกิดความเสียหายต่อประเทศชาติ'}, + { id: '1', label: 'อุทิศตนและเสียสละเวลาในการปฏิบัติบัติงานอย่างเต็มกำลังความสามารถ' }, + { id: '2', label: 'มีจิตสำนึกที่ดี ปฏิบัติบัติงานด้วยความซื่อสัตย์ สุจริต' }, + { id: '3', label: 'ยึดมั่นในสถาบันบัพระมหากษัตริย์ และไม่กระทำการใด ๆ อันจะก่อให้เกิดความเสียหายต่อประเทศชาติ' }, ]; const list2_3 = [ - {id: '1', label: 'มีความรับรัผิดชอบในการรักษาเวลาทำงาน'}, - {id: '2', label: 'แต่งกายในการปฏิบัติบัติงานได้อย่างเหมาะสมกับการเป็นข้าราชการ'}, - {id: '3', label: 'ไม่กระทำการใด ๆ อันอาจก่อให้เกิดความเสียหายแก่ชื่อเสียงของหน่วยงาน'}, - {id: '4', label: 'ไม่กระทำการใด ๆ อันเป็นการเสื่อมเกียรติและศักดิ์ศรีของความเป็นข้าราชการ'}, - {id: '5', label: 'ปฏิบัติบัติหน้าที่อย่างตรงไปตรงมาโดยยึกหลักจรรยาบรรณวิชาชีพ'} + { id: '1', label: 'มีความรับรัผิดชอบในการรักษาเวลาทำงาน' }, + { id: '2', label: 'แต่งกายในการปฏิบัติบัติงานได้อย่างเหมาะสมกับการเป็นข้าราชการ' }, + { id: '3', label: 'ไม่กระทำการใด ๆ อันอาจก่อให้เกิดความเสียหายแก่ชื่อเสียงของหน่วยงาน' }, + { id: '4', label: 'ไม่กระทำการใด ๆ อันเป็นการเสื่อมเกียรติและศักดิ์ศรีของความเป็นข้าราชการ' }, + { id: '5', label: 'ปฏิบัติบัติหน้าที่อย่างตรงไปตรงมาโดยยึกหลักจรรยาบรรณวิชาชีพ' } ]; const etc_text = ref(null); @@ -914,37 +726,40 @@ const text2_1 = ref(''); const text2_2 = ref(''); const onSubmit = () => { - $q.notify({ - color: "green-4", - textColor: "white", - icon: "cloud_done", - message: "ส่งแบบประเมินเเล้ว", - }); + $q.notify({ + color: "green-4", + textColor: "white", + icon: "cloud_done", + message: "ส่งแบบประเมินเเล้ว", + }); }; const onReset = () => { - router.push({ name: "probation" }); + router.push({ name: "probation" }); }; \ No newline at end of file diff --git a/src/modules/05_placement/components/probation/MainDetail.vue b/src/modules/05_placement/components/probation/MainDetail.vue index 3151f15ee..551575019 100644 --- a/src/modules/05_placement/components/probation/MainDetail.vue +++ b/src/modules/05_placement/components/probation/MainDetail.vue @@ -33,7 +33,7 @@
- บันทึกผลการทดลองปฏิบัติหน้าที่ราชการ + บันทึกผลการทดลองปฏิบัติหน้าที่ราชการ (2) @@ -44,7 +44,7 @@
- ประเมินผลการทดลองปฏิบัติหน้าที่ราชการ + ประเมินผลการทดลองปฏิบัติหน้าที่ราชการ (1) From 1b6157165accdab7a6bc3e2a1e02e182c3217365 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Tue, 25 Jul 2023 10:03:28 +0700 Subject: [PATCH 2/7] no message --- .../06_retirement/components/DismissOrder/DismissOrder.vue | 2 +- src/modules/06_retirement/router.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/06_retirement/components/DismissOrder/DismissOrder.vue b/src/modules/06_retirement/components/DismissOrder/DismissOrder.vue index fb4f94ec3..6838580bc 100644 --- a/src/modules/06_retirement/components/DismissOrder/DismissOrder.vue +++ b/src/modules/06_retirement/components/DismissOrder/DismissOrder.vue @@ -485,7 +485,7 @@ const OriginalDataFetch = async () => { // ดูรายการหน้าต่อไป const redirectToPage = (id?: number) => { - router.push(`/retirement/dismiss-order/add`); + router.push(`/dismiss-order/addorder`); }; const clickDelete = (id: string) => { diff --git a/src/modules/06_retirement/router.ts b/src/modules/06_retirement/router.ts index cf1588bfd..b8a597ad4 100644 --- a/src/modules/06_retirement/router.ts +++ b/src/modules/06_retirement/router.ts @@ -92,7 +92,7 @@ export default [ }, }, { - path: "retirement/dismiss-order/add", + path: "/dismiss-order/addorder", name: "dismiss-order-add", component: addOrder, meta: { From c28de1d33ce55ba38bc6389c67b110f2d5feb92f Mon Sep 17 00:00:00 2001 From: setthawutttty Date: Tue, 25 Jul 2023 10:54:15 +0700 Subject: [PATCH 3/7] no message --- src/modules/06_retirement/router.ts | 2 +- src/modules/06_retirement/views/Main.vue | 106 +++++++++++------------ 2 files changed, 53 insertions(+), 55 deletions(-) diff --git a/src/modules/06_retirement/router.ts b/src/modules/06_retirement/router.ts index cf1588bfd..05ac96be4 100644 --- a/src/modules/06_retirement/router.ts +++ b/src/modules/06_retirement/router.ts @@ -32,7 +32,7 @@ export default [ }, }, { - path: "/retirement/list/:id", + path: "/retirement/list/:id/:year", name: "retirement/list/id", component: Listretirement, meta: { diff --git a/src/modules/06_retirement/views/Main.vue b/src/modules/06_retirement/views/Main.vue index c23197455..7f2d40388 100644 --- a/src/modules/06_retirement/views/Main.vue +++ b/src/modules/06_retirement/views/Main.vue @@ -13,8 +13,12 @@ indicator-color="primary" align="left" > - - + + @@ -37,7 +41,6 @@ :outlined="true" :hide-dropdown-icon="false" style="min-width: 150px" - />