From 6a2412ce9f2e00b259b735335fb69c9edb27fc4a Mon Sep 17 00:00:00 2001 From: waruneeta Date: Tue, 26 Sep 2023 15:27:14 +0700 Subject: [PATCH 1/3] =?UTF-8?q?=E0=B9=80=E0=B8=9E=E0=B8=B4=E0=B9=88?= =?UTF-8?q?=E0=B8=A1=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=E0=B8=9C=E0=B8=A5?= =?UTF-8?q?=E0=B8=97=E0=B8=94=E0=B8=A5=E0=B8=AD=E0=B8=87=E0=B8=87=E0=B8=B2?= =?UTF-8?q?=E0=B8=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../FormEvaluation/FormEvaluateScore copy.vue | 1607 ----------------- .../FormEvaluation/FormSaveResult.vue | 513 ++---- .../FormEvaluation/FormSaveResultAdd.vue | 662 ++----- .../FormSaveResultAddCommander.vue | 20 +- .../FormEvaluation/FormSaveResultCommader.vue | 517 ++---- src/modules/05_placement/storeProbation.ts | 5 +- 6 files changed, 399 insertions(+), 2925 deletions(-) delete mode 100644 src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScore copy.vue diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScore copy.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScore copy.vue deleted file mode 100644 index 8c9b901c5..000000000 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScore copy.vue +++ /dev/null @@ -1,1607 +0,0 @@ - - - - - diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResult.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResult.vue index 6c33d5b84..70929401f 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResult.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResult.vue @@ -90,15 +90,17 @@ const fecthFormdata = async () => { await fecthAssignoutput(res.data.data); await fectFormfull(); }) - .catch((e: any) => {}) + .catch((e: any) => { }) .finally(() => { if (props.action == "edit") { fecthFormRound(); } }); }; + const fectFormfull = async () => { - Autherise.value = probationStore.director.name; + Autherise.value = probationStore.director.name + ` (${probationStore.director.PositionLineName}, ${probationStore.director.PositionLevelName}, ${probationStore.director.Oc})`; + list1_1.value = probationStore.assignOutput; evaluate_expenct_level.value = await probationStore.assignOutput.map( (e: any) => ({ @@ -112,6 +114,7 @@ const fectFormfull = async () => { checkArray.value = list1_1.value.length; fecthFormRound(); }; + const fecthFormRound = async () => { try { let data = await dataArr.value; @@ -332,14 +335,7 @@ onMounted(async () => {
แบบบันทึกผล (ผู้ดูเเล)
- + แก้ไขข้อมูล
@@ -347,24 +343,32 @@ onMounted(async () => { ยกเลิก - + บันทึกข้อมูล
+
+ + ผู้ทดลองปฏิบัติหน้าที่ราชการ {{ probationStore.person.name }} +
+ +
+ +
ตำแหน่งในสายงาน {{ + probationStore.person.PositionLineName }}
+
ระดับ {{ probationStore.person.PositionLevelName }} +
+
สังกัด {{ probationStore.person.Oc }}
+
+
- วันเริ่มทดลองปฏิบัติหน้าที่ราชการ ตั้งแต่วันที่ + การทดลองปฎิบัติหน้าที่ราชการ{{ + "ครั้งที่ " + assign.round_no + }} ตั้งแต่วันที่ {{ date2Thai(assign.date_start) }} @@ -375,7 +379,7 @@ onMounted(async () => {
- + บันทึกผล {{ "ครั้งที่ " + evaluate_no }} ระหว่างวันที่ @@ -408,27 +412,15 @@ onMounted(async () => {
ผลผลิตของงานที่คาดหวัง
- + {{ list.output_desc }} - + @@ -455,37 +447,16 @@ onMounted(async () => {
ผลผลิตของงานที่เกิดขึ้นจริง
- + - + - + @@ -515,19 +486,11 @@ onMounted(async () => { - 1.2. ความรู้ความสามารถ + 1.2. ความรู้ความสามารถ - + @@ -555,19 +518,11 @@ onMounted(async () => { - 1.3. ทักษะ + 1.3. ทักษะ - + @@ -595,19 +550,11 @@ onMounted(async () => { - 1.4. สมมรถนะ + 1.4. สมมรถนะ - + @@ -635,19 +582,11 @@ onMounted(async () => { - 1.5. ความสามารถในการเรียนรู้งาน + 1.5. ความสามารถในการเรียนรู้งาน - + @@ -676,19 +615,11 @@ onMounted(async () => { 1.6. - ความสามารถในการปรับใช้ความรู้กับงานในหน้าที่ + ความสามารถในการปรับใช้ความรู้กับงานในหน้าที่ - + @@ -716,55 +647,29 @@ onMounted(async () => { 1.7 อื่นๆ - + - + - + ]" :disable="!status" /> - + @@ -793,39 +698,18 @@ onMounted(async () => { จุดเด่น (ไม่เกิน 5 บรรทัด)
- +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -838,27 +722,15 @@ onMounted(async () => { 2.1 ความประพฤติ
- + {{ list.label }} - + @@ -886,27 +758,15 @@ onMounted(async () => { 2.2 ความมีคุณธรรมจริยธรรม - + {{ list.label }} - + @@ -934,27 +794,15 @@ onMounted(async () => { 2.3 การรักษาวินัย - + {{ list.label }} - + @@ -981,50 +829,23 @@ onMounted(async () => {
2.4 อื่นๆ - +
- + - + ]" :disable="!status" /> - + @@ -1052,39 +873,18 @@ onMounted(async () => { จุดเด่น (ไม่เกิน 5 บรรทัด) - +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -1094,11 +894,7 @@ onMounted(async () => { 3 การพัฒนาผู้ทดลองปฏิบัติบัติหน้าที่ราชการ - + @@ -1106,22 +902,10 @@ onMounted(async () => {
- - + +
@@ -1132,22 +916,10 @@ onMounted(async () => {
- - + +
@@ -1158,50 +930,24 @@ onMounted(async () => {
- - + +
- 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี) + 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี)
- - + +
@@ -1215,27 +961,11 @@ onMounted(async () => { ผู้บังคับบัญชา/ผู้มอบหมายงาน
- +
- + @@ -1243,23 +973,11 @@ onMounted(async () => { {{ parseInt(value + 543) }}