From 34ae841cfc8ceb6896fd6a7f5b91ca1fbcedab50 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 5 Oct 2023 17:53:39 +0700 Subject: [PATCH 1/2] no message --- src/interface/request/main/main.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/interface/request/main/main.ts b/src/interface/request/main/main.ts index bc50f7dd1..10cb37f18 100644 --- a/src/interface/request/main/main.ts +++ b/src/interface/request/main/main.ts @@ -528,6 +528,11 @@ const tabListPlacement = readonly([ label: "การคัดกรองคุณสมบัติ", tag: "qualification", }, + { + key: 6, + label: "เอกสารหลักฐาน", + tag: "document", + }, ]); export { menuList, tabList, tabListPlacement }; From c41460a50e12c8e918d0e31b67f690b47be37f3d Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 5 Oct 2023 17:54:50 +0700 Subject: [PATCH 2/2] =?UTF-8?q?=E0=B9=81=E0=B8=81=E0=B9=89=E0=B9=84?= =?UTF-8?q?=E0=B8=82=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A=E0=B8=9A=E0=B8=A3?= =?UTF-8?q?=E0=B8=A3=E0=B8=88=E0=B8=B8=E0=B8=AB=E0=B8=A5=E0=B8=B1=E0=B8=87?= =?UTF-8?q?=E0=B8=A3=E0=B8=B5=E0=B8=A7=E0=B8=B4=E0=B8=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/01_compete/DetailEx.vue | 2 +- .../components/PersonalDetail/Detail.vue | 11 +- .../components/PersonalDetail/ExamResult.vue | 4 +- .../components/PersonalList/Detail.vue | 2 +- .../components/PersonalList/Table.vue | 13 +- .../FormEvaluation/FormEvaluateAdd.vue | 87 ++- .../FormEvaluation/FormEvaluateScoreAdd.vue | 92 +++- .../FormEvaluation/FormSaveResultAdd.vue | 84 ++- .../FormSaveResultAddCommander.vue | 110 +++- .../FormEvaluation/FormSaveResultCommader.vue | 520 ++++++++++++++---- .../10_order/components/step/step02.vue | 33 ++ 11 files changed, 807 insertions(+), 151 deletions(-) diff --git a/src/modules/03_recruiting/views/01_compete/DetailEx.vue b/src/modules/03_recruiting/views/01_compete/DetailEx.vue index 3ed5ce89c..1c379fd04 100644 --- a/src/modules/03_recruiting/views/01_compete/DetailEx.vue +++ b/src/modules/03_recruiting/views/01_compete/DetailEx.vue @@ -202,7 +202,7 @@
คะแนน
- ผลการสอบ + ผลการสอบx
{ .get(config.API.placementPersonalId(examId.value)) .then((res: any) => { const data = res.data.result; - + personalData.value.fullName = data.fullName; personalData.value.id = data.personalId; @@ -309,6 +310,14 @@ const fetchData = async () => { :fetch="fetchData" />
+ +
+
+ +
+ + +
diff --git a/src/modules/05_placement/components/PersonalDetail/ExamResult.vue b/src/modules/05_placement/components/PersonalDetail/ExamResult.vue index 5792bcf8b..ccc34ce31 100644 --- a/src/modules/05_placement/components/PersonalDetail/ExamResult.vue +++ b/src/modules/05_placement/components/PersonalDetail/ExamResult.vue @@ -32,7 +32,7 @@ const props = defineProps({ ผลการสอบ
-
+
ผลการสอบ
diff --git a/src/modules/05_placement/components/PersonalList/Detail.vue b/src/modules/05_placement/components/PersonalList/Detail.vue index 03c2e41d4..22b02d659 100644 --- a/src/modules/05_placement/components/PersonalList/Detail.vue +++ b/src/modules/05_placement/components/PersonalList/Detail.vue @@ -102,7 +102,7 @@ const fetchPlacementData = async () => { class="q-mr-sm" @click="router.push(`/placement`)" /> - รายชื่อผู้สอบในรอบ {{ title }} ครั้งที่ {{ round }} ปี {{ year }} + รายชื่อผู้สอบในรอบs {{ title }} ครั้งที่ {{ round }} ปี {{ year }}
diff --git a/src/modules/05_placement/components/PersonalList/Table.vue b/src/modules/05_placement/components/PersonalList/Table.vue index 44cdc34f6..4ced84dff 100644 --- a/src/modules/05_placement/components/PersonalList/Table.vue +++ b/src/modules/05_placement/components/PersonalList/Table.vue @@ -361,12 +361,13 @@ const getClass = (val: boolean) => { }; // เรียกดูรายละเอียดข้อมูล const selectData = (pid: string) => { - if (roleAdmin.value === true) { - personalId.value = pid; - modal.value = true; - } else { - router.push("/placement/personal-detail/" + pid); - } + router.push("/placement/personal-detail/" + pid); + // if (roleAdmin.value === true) { + // personalId.value = pid; + // modal.value = true; + // } else { + // router.push("/placement/personal-detail/" + pid); + // } }; const getNumFile = ref(0); const dataInfo = reactive({ diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateAdd.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateAdd.vue index b0b6b2c6c..d4417f4d2 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateAdd.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateAdd.vue @@ -326,7 +326,8 @@ onMounted(async () => { การทดลองปฎิบัติหน้าที่ราชการ{{ "ครั้งที่ " + assign.round_no - }} ตั้งแต่วันที่ + }} + ตั้งแต่วันที่ {{ date2Thai(assign.date_start) }} @@ -342,13 +343,85 @@ onMounted(async () => { "ครั้งที่ " + round }} ระหว่างวันที่ - {{ - date2Thai(start_date) - }} + + + + + + + ถึงวันที่ - {{ - date2Thai(date_finish) - }} + + + + + + +
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScoreAdd.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScoreAdd.vue index f3c8b3771..065c7bfff 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScoreAdd.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormEvaluateScoreAdd.vue @@ -434,9 +434,11 @@ watch(lengthdiscipline_level, (newLength) => {
- การทดลองปฎิบัติหน้าที่ราชการ{{ - "ครั้งที่ " + assign.round_no - }} ตั้งแต่วันที่ + การทดลองปฎิบัติหน้าที่ราชการ{{ "ครั้งที่ " + assign.round_no }} + ตั้งแต่วันที่ {{ date2Thai(assign.date_start) }} @@ -452,13 +454,85 @@ watch(lengthdiscipline_level, (newLength) => { `ครั้งที่ ${evaluate_no}` }} ระหว่างวันที่ - {{ - date2Thai(start_date) - }} + + + + + + + ถึงวันที่ - {{ - date2Thai(date_finish) - }} + + + + + + +
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAdd.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAdd.vue index e29182c41..43463ec1d 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAdd.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAdd.vue @@ -399,13 +399,85 @@ const getBordered = (i: boolean) => { "ครั้งที่ " + round }} ระหว่างวันที่ - {{ - date2Thai(start_date) - }} + + + + + + + ถึงวันที่ - {{ - date2Thai(date_finish) - }} + + + + + + +
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAddCommander.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAddCommander.vue index 89748eb48..2b4316d5f 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAddCommander.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultAddCommander.vue @@ -97,7 +97,9 @@ const fecthFormdata = async (id: string) => { person.value = res.data.data.person; assign.value = res.data.data.assign; option.value.push(res.data.data.director); - Autherise.value = res.data.data.director.name + ` (${res.data.data.director.PositionLineName}, ${res.data.data.director.PositionLevelName}, ${res.data.data.director.Oc})`; + Autherise.value = + res.data.data.director.name + + ` (${res.data.data.director.PositionLineName}, ${res.data.data.director.PositionLevelName}, ${res.data.data.director.Oc})`; list1_1.value = res.data.data.assign_output; res.data.data.assign_output.forEach((e: any) => { @@ -170,7 +172,6 @@ const savaForm = () => { achievement_strengthRef.value.validate(); behavio_strengthRef.value.validate(); - let hasError = false; if ( lengthevaluate_expenct_level.value !== @@ -309,13 +310,11 @@ ArrayCountbotton.forEach((variable, index) => { }); watch(lengthevaluate_expenct_level, (newLength) => { if (newLength === evaluate_expenct_level.value.length) { - alerts[0].value = false; } }); watch(lengthevaluate_ouptut, (newLength) => { if (newLength === evaluate_ouptut.value.length) { - alerts[1].value = false; } }); @@ -370,21 +369,30 @@ onMounted(async () => {
- ผู้ทดลองปฏิบัติหน้าที่ราชการ {{person.name}} + ผู้ทดลองปฏิบัติหน้าที่ราชการ {{ person.name }}
-
ตำแหน่งในสายงาน {{ person.PositionLineName }}
-
ระดับ {{ person.PositionLevelName }}
-
สังกัด {{ person.Oc }}
+
+ ตำแหน่งในสายงาน + {{ person.PositionLineName }} +
+
+ ระดับ + {{ person.PositionLevelName }} +
+
+ สังกัด {{ person.Oc }} +
การทดลองปฎิบัติหน้าที่ราชการ{{ "ครั้งที่ " + assign.round_no - }} ตั้งแต่วันที่ + }} + ตั้งแต่วันที่ {{ date2Thai(assign.date_start) }} @@ -399,13 +407,85 @@ onMounted(async () => { "ครั้งที่ " + round }} ระหว่างวันที่ - {{ - date2Thai(start_date) - }} + + + + + + + ถึงวันที่ - {{ - date2Thai(date_finish) - }} + + + + + + +
diff --git a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultCommader.vue b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultCommader.vue index 24ee39f28..bbf583f71 100644 --- a/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultCommader.vue +++ b/src/modules/05_placement/components/probation/FormEvaluation/FormSaveResultCommader.vue @@ -45,7 +45,9 @@ const list1_1 = ref([]); const option = ref([]); // part 1 -const evaluate_expenct_level = ref([{ id: "1", label: "ผลผลิตของงานที่คาดหวัง 1", level: 0 }]); +const evaluate_expenct_level = ref([ + { id: "1", label: "ผลผลิตของงานที่คาดหวัง 1", level: 0 }, +]); const evaluate_ouptut = ref([{ level: 0, text: "" }]); const knowledge_level = ref(0); const skill_level = ref(0); @@ -88,7 +90,7 @@ const edit = () => { const cancel = () => { status.value = false; - props.fecthAssign?.(assignId.value) + props.fecthAssign?.(assignId.value); }; const props = defineProps({ tab: String, @@ -104,7 +106,7 @@ const fecthFormdata = async () => { await fecthAssignoutput(res.data.data); await fectFormfull(); }) - .catch((e: any) => { }) + .catch((e: any) => {}) .finally(() => { if (props.action == "edit") { fecthFormRound(); @@ -112,7 +114,9 @@ const fecthFormdata = async () => { }); }; const fectFormfull = async () => { - Autherise.value = probationStore.director.name + ` (${probationStore.director.PositionLineName}, ${probationStore.director.PositionLevelName}, ${probationStore.director.Oc})`; + 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) => ({ @@ -161,7 +165,7 @@ const fecthFormRound = async () => { self_learning.value = data.self_learning.toString(); training_seminar.value = data.training_seminar.toString(); other_training.value = data.other_training.toString(); - dateAutherise.value = data.assessor_dated + dateAutherise.value = data.assessor_dated; if ( data.achievement_other_desc !== "" && @@ -323,7 +327,6 @@ const editData = async (data: any) => { }); }; - watch(props, async () => { if (props.tab && props.action == "edit") { evaluate_no.value = Number(props.tab.charAt(4)); @@ -345,7 +348,14 @@ onMounted(async () => {
แบบบันทึกผล (ผู้บังคับบัญชา)
- + แก้ไขข้อมูล
@@ -353,14 +363,21 @@ onMounted(async () => { ยกเลิก - + บันทึกข้อมูล
-
ผู้ทดลองปฏิบัติหน้าที่ราชการ {{ probationStore.person.name }} @@ -368,18 +385,26 @@ onMounted(async () => {
-
ตำแหน่งในสายงาน {{ - probationStore.person.PositionLineName }}
-
ระดับ {{ probationStore.person.PositionLevelName }} +
+ ตำแหน่งในสายงาน + {{ probationStore.person.PositionLineName }} +
+
+ ระดับ + {{ probationStore.person.PositionLevelName }} +
+
+ สังกัด + {{ probationStore.person.Oc }}
-
สังกัด {{ probationStore.person.Oc }}
การทดลองปฎิบัติหน้าที่ราชการ{{ "ครั้งที่ " + assign.round_no - }} ตั้งแต่วันที่ + }} + ตั้งแต่วันที่ {{ date2Thai(assign.date_start) }} @@ -419,15 +444,27 @@ onMounted(async () => {
ผลผลิตของงานที่คาดหวัง
- + {{ list.output_desc }} - + @@ -454,16 +491,37 @@ onMounted(async () => {
ผลผลิตของงานที่เกิดขึ้นจริง
- + - + - + @@ -493,11 +551,19 @@ onMounted(async () => { - 1.2. ความรู้ความสามารถ + 1.2. ความรู้ความสามารถ - + @@ -525,11 +591,19 @@ onMounted(async () => { - 1.3. ทักษะ + 1.3. ทักษะ - + @@ -557,11 +631,19 @@ onMounted(async () => { - 1.4. สมมรถนะ + 1.4. สมมรถนะ - + @@ -589,11 +671,19 @@ onMounted(async () => { - 1.5. ความสามารถในการเรียนรู้งาน + 1.5. ความสามารถในการเรียนรู้งาน - + @@ -622,11 +712,19 @@ onMounted(async () => { 1.6. - ความสามารถในการปรับใช้ความรู้กับงานในหน้าที่ + ความสามารถในการปรับใช้ความรู้กับงานในหน้าที่ - + @@ -654,29 +752,55 @@ onMounted(async () => { 1.7 อื่นๆ - + - + - + ]" + :disable="!status" + /> - + @@ -705,18 +829,39 @@ onMounted(async () => { จุดเด่น (ไม่เกิน 5 บรรทัด)
- +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -732,15 +877,27 @@ onMounted(async () => { 2.1 ความประพฤติ
- + {{ list.label }} - + @@ -768,15 +925,27 @@ onMounted(async () => { 2.2 ความมีคุณธรรมจริยธรรม
- + {{ list.label }} - + @@ -804,15 +973,27 @@ onMounted(async () => { 2.3 การรักษาวินัย
- + {{ list.label }} - + @@ -839,23 +1020,50 @@ onMounted(async () => {
2.4 อื่นๆ - +
- + - + ]" + :disable="!status" + /> - + @@ -884,18 +1092,39 @@ onMounted(async () => { จุดเด่น (ไม่เกิน 5 บรรทัด)
- +
สิ่งที่ควรปรับปรุง (ไม่เกิน 5 บรรทัด)
- +
@@ -908,7 +1137,11 @@ onMounted(async () => { 3 การพัฒนาผู้ทดลองปฏิบัติบัติหน้าที่ราชการ - + @@ -916,10 +1149,22 @@ onMounted(async () => {
- - + +
@@ -930,10 +1175,22 @@ onMounted(async () => {
- - + +
@@ -944,24 +1201,50 @@ onMounted(async () => {
- - + +
- 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี) + 4. การอบรมอื่น ๆ ตามที่หน่วยงานกำหนด (ถ้ามี)
- - + +
@@ -978,11 +1261,27 @@ onMounted(async () => { ผู้บังคับบัญชา/ผู้มอบหมายงาน
- +
- + @@ -990,11 +1289,23 @@ onMounted(async () => { {{ parseInt(value + 543) }}