diff --git a/src/modules/05_placement/components/pass/DialogFooter.vue b/src/modules/05_placement/components/pass/DialogFooter.vue index 8f99bc4e7..a5382c694 100644 --- a/src/modules/05_placement/components/pass/DialogFooter.vue +++ b/src/modules/05_placement/components/pass/DialogFooter.vue @@ -1,21 +1,4 @@ - - - - - แก้ไขข้อมูล - - - - - บันทึก - - - - + + + + + แก้ไขข้อมูล + + + + บันทึก + + + + diff --git a/src/modules/05_placement/components/pass/DialogHeader.vue b/src/modules/05_placement/components/pass/DialogHeader.vue index b02ec8f26..17140c5d5 100644 --- a/src/modules/05_placement/components/pass/DialogHeader.vue +++ b/src/modules/05_placement/components/pass/DialogHeader.vue @@ -1,19 +1,4 @@ - - - {{ title }} - - - + + + {{ title }} + + + + + diff --git a/src/modules/05_placement/components/pass/Table.vue b/src/modules/05_placement/components/pass/Table.vue index ea1d93edd..d142a0469 100644 --- a/src/modules/05_placement/components/pass/Table.vue +++ b/src/modules/05_placement/components/pass/Table.vue @@ -13,7 +13,7 @@ import { useCounterMixin } from "@/stores/mixin"; const mixin = useCounterMixin(); //เรียกฟังก์ชันกลาง const editvisible = ref(false); const myForm = ref(null); -const edit = ref(false); +const edit = ref(true); const visibleColumns = ref([]); const store = usePlacementDataStore(); const filter = ref(""); @@ -71,7 +71,11 @@ const getClass = (val: boolean) => { }; }; const selectData = (props: TableName) => { +<<<<<<< HEAD itemtest.value = props; +======= + itemPopUp.value = props +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 if (editvisible.value == true) { editRow.value = false; modalEdit.value = true; @@ -245,7 +249,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, { @@ -279,7 +287,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, { @@ -313,7 +325,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, @@ -348,7 +364,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, @@ -383,7 +403,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, { @@ -417,7 +441,11 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, { @@ -451,6 +479,7 @@ const rows = ref([ scoreC: 0, scoreSumFull: 500, scoreSum: 282, +<<<<<<< HEAD examResult: "ผ่าน", }, }, @@ -486,11 +515,14 @@ const rows = ref([ scoreSumFull: 500, scoreSum: 282, examResult: "ผ่าน", +======= + examResult: "ผ่าน" +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 }, }, ]); -const itemtest = ref({}); +const itemPopUp = ref({}); const clickCancel = async () => { editvisible.value = false; @@ -529,6 +561,7 @@ const save = () => { +<<<<<<< HEAD { color="positive" class="text-h5" /> +======= + + + + + + + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 @@ -581,6 +629,7 @@ const save = () => { {{ props.row.fullName }} +<<<<<<< HEAD { +======= + + + + + + + + + + + - + + {{ props.row.examResult }} + {{ col.value }} + + + + + + + {{ year + 543 }} + + + {{ parseInt(value + 543) }} + + + + + + + + + + + + - + + {{ mixin.date2Thai(col.value) }} + + + + {{ col.value }} + + + + + + + + + + + + + + + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 @@ -741,6 +856,7 @@ const save = () => { +<<<<<<< HEAD { v-model="appoint.PositionType" label="ประเภทตำแหน่ง" /> +======= + + + + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 +<<<<<<< HEAD { v-model="appoint.PositionTypeManage" label="ด้านทางบริหาร" /> +======= + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 +<<<<<<< HEAD { v-model="appoint.Major" label="ด้าน/สาขา" /> +======= + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 +<<<<<<< HEAD { +======= + + + + + + + + + + + + + + + + + + + + + + + + + +>>>>>>> bdf1f7f0f73085ea1c343b8e21d3a592bc083c33 -import { ref, reactive } from "vue"; +import { ref } from "vue"; import DialogHeader from "@/modules/05_placement/components/pass/DialogHeader.vue"; import DialogFooter from "@/modules/05_placement/components/pass/DialogFooter.vue"; -const save = ref(true); +const save = ref(true); const props = defineProps({ Modal: Boolean, close: { type: Function, default: () => console.log("not function"), }, - getdetail:{ + getdetail: { type: Object, required: true } }); -const information = reactive({ - profileID: '', - fullName: '', - dateOfBirth: '', - gender: '', - address: '', - university: '', - degree: '', - major: '', - remark: '', - scoreAFull: null, - scoreA: null, - scoreBFull: null, - scoreB: null, - scoreCFull: null, - scoreC: null, - examResult: '', - examCount: null, - number: null, -}); - interface CheckboxItem { - value: number; - label: string; + id: number; + label: string; } const selection = ref([]); const checkboxItems: CheckboxItem[] = [ - { value: 1, label: 'ไม่เป็นผู้ดำรงตำแหน่งทางการเมือง' }, - { value: 2, label: 'ไม่เป็นคนไร้ความสามารถ คนเสมือนไร้ความสามารถ คนวิกลจริตหรือจิตฟั่นเฟือน ไม่สมประกอบหรือเป็นโรคตามที่กำหนดในกฎ ก.พ.' }, - { value: 3, label: 'ไม่เป็นผู้อยู่ในระหว่างถูกสั่งพักราชการหรือถูกสั่งให้ออกจากราชการไว้ก่อนตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, - { value: 4, label: 'ไม่เป็นผู้บกพร่องในศีลธรรมอันดีจนเป็นที่รังเกียจของสังคม' }, - { value: 5, label: 'ไม่เป็นกรรมการหรือผู้ดำรงตำแหน่งที่รับผิดชอบในการบริหารพรรคการเมือง หรือเจ้าหน้าที่ในพรรคการเมือง' }, - { value: 6, label: 'ไม่เป็นบุคคลล้มละลาย' }, - { value: 7, label: 'ไม่เป็นผู้เคยต้องรับโทษจำคุกโดยคำพิพากษาถึงที่สุดให้จำคุกเพราะกระทำความผิดทางอาญา เว้นแต่เป็นโทษสำหรับความผิดที่ใด้กระทำโดยประมาทหรือความผิดลหุโทษ' }, - { value: 8, label: 'ไม่เป็นผู้เคยถูกลงโทษให้ออก ปลดออก หรือไล่ออกจากรัฐวิสาหกิจ หรือ หน่วยงานอื่นของรัฐ' }, - { value: 9, label: 'เป็นผู้เคยถูลงโทษให้ออก หรือปลดออก เพราะกระทำผิตวินัยตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, - { value: 10, label: 'เป็นผู้เคยถูกลงโทษไล่ออก เพราะกระทำผิดวินัยตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, - { value: 11, label: 'เป็นผู้เคยกระทำการทุจริตในการสอบเข้ารับราชการ หรือเข้าปฏิบัติงานใน หน่วยงานของรัฐ' }, + { id: 1, label: 'ไม่เป็นผู้ดำรงตำแหน่งทางการเมือง' }, + { id: 2, label: 'ไม่เป็นคนไร้ความสามารถ คนเสมือนไร้ความสามารถ คนวิกลจริตหรือจิตฟั่นเฟือน ไม่สมประกอบหรือเป็นโรคตามที่กำหนดในกฎ ก.พ.' }, + { id: 3, label: 'ไม่เป็นผู้อยู่ในระหว่างถูกสั่งพักราชการหรือถูกสั่งให้ออกจากราชการไว้ก่อนตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, + { id: 4, label: 'ไม่เป็นผู้บกพร่องในศีลธรรมอันดีจนเป็นที่รังเกียจของสังคม' }, + { id: 5, label: 'ไม่เป็นกรรมการหรือผู้ดำรงตำแหน่งที่รับผิดชอบในการบริหารพรรคการเมือง หรือเจ้าหน้าที่ในพรรคการเมือง' }, + { id: 6, label: 'ไม่เป็นบุคคลล้มละลาย' }, + { id: 7, label: 'ไม่เป็นผู้เคยต้องรับโทษจำคุกโดยคำพิพากษาถึงที่สุดให้จำคุกเพราะกระทำความผิดทางอาญา เว้นแต่เป็นโทษสำหรับความผิดที่ใด้กระทำโดยประมาทหรือความผิดลหุโทษ' }, + { id: 8, label: 'ไม่เป็นผู้เคยถูกลงโทษให้ออก ปลดออก หรือไล่ออกจากรัฐวิสาหกิจ หรือ หน่วยงานอื่นของรัฐ' }, + { id: 9, label: 'เป็นผู้เคยถูลงโทษให้ออก หรือปลดออก เพราะกระทำผิตวินัยตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, + { id: 10, label: 'เป็นผู้เคยถูกลงโทษไล่ออก เพราะกระทำผิดวินัยตามพระราชบัญญัตินี้ หรือตามกฎหมายอื่น' }, + { id: 11, label: 'เป็นผู้เคยกระทำการทุจริตในการสอบเข้ารับราชการ หรือเข้าปฏิบัติงานใน หน่วยงานของรัฐ' }, ]; const clickSave = async () => { - console.log(selection.value) + console.log(selection.value) }; - - - - + + - + + + - - - - ข้อมูลทั่วไป + + + + + ข้อมูลทั่วไป + ข้าราชการฯ กทม + + + + + เลขที่ประจำตัวประชาชน + + + วัน/เดือน/ปีเกิด + + + + + {{ props.getdetail.profileID }} + + + {{ props.getdetail.dateOfBirth }} + + + + + ชื่อ-นามสกุล + + + เพศ + + + + + {{ props.getdetail.fullName }} + + + {{ props.getdetail.gender }} + + + + - - - เลขที่ประจำตัวประชาชน - - - {{ props.getdetail.profileID }} - - - ชื่อ-นามสกุล - - - {{ props.getdetail.fullName }} - + + + + ภูมิลำนำ + + + + ที่อยู่ + + + {{ props.getdetail.address }} + + + - - - วัน/เดือน/ปีเกิด - - - {{ props.getdetail.dateOfBirth }} - - - เพศ - - - {{ props.getdetail.gender }} - - - - - - - ภูมิลำนำ - - - - ที่อยู่ - - - {{ props.getdetail.address }} - + + + + การศึกษา + + + + + สถานศึกษา + + + สาขาวิชาเอก + + + + + {{ props.getdetail.university }} + + + {{ props.getdetail.major }} + + + + + วุฒิการศึกษา + + + อื่นๆ + + + + + {{ props.getdetail.degree ? props.getdetail.degree : '-' }} + + + {{ props.getdetail.remark ? props.getdetail.remark : '-' }} + + + + + + + + การสอบ + + + + + + + ประเภท + ภาค ก + ภาค ข + ภาค ค + รวมทั้งหมด + + + คะแนนที่ได้ + {{ + props.getdetail.scoreResult.scoreAFull }} + {{ + props.getdetail.scoreResult.scoreBFull }} + {{ + props.getdetail.scoreResult.scoreCFull }} + {{ + (props.getdetail.scoreResult.scoreSumFull) }} + + + + ผลการสอบ + {{ props.getdetail.scoreResult.scoreA + }} + {{ props.getdetail.scoreResult.scoreB + }} + {{ props.getdetail.scoreResult.scoreC + }} + {{ + (props.getdetail.scoreResult.scoreSum) }} + + + + + + + + + ผลการสอบ + ลำดับที่สอบได้ + จำนวนครั้งที่สมัครสอบ + + + {{ props.getdetail.scoreResult.examResult }} + + {{ props.getdetail.number }} + {{ props.getdetail.examCount }} + + + + + - - - การศึกษา + + + + การคัดกรองคุณสมบัติ + + + + + + - - - สถานศึกษา - - - {{ props.getdetail.university }} - - - วุฒิการศึกษา - - - {{ props.getdetail.degree }} - - - - - สาขาวิชาเอก - - - {{ props.getdetail.major }} - - - อื่นๆ - - - {{ props.getdetail.remark }} - - - - - - - การสอบ - - - - ประเภท - - - คะแนนเต็ม - - - คะแนนที่ได้ - - - ผลการสอบ - - - {{ props.getdetail.scoreResult.examResult }} - - - - - ภาค ก - - - {{ props.getdetail.scoreResult.scoreAFull }} - - - {{ props.getdetail.scoreResult.scoreA }} - - - ลำดับที่สอบได้ - - - {{ props.getdetail.number }} - - - - - - ภาค ข - - - {{ props.getdetail.scoreResult.scoreBFull }} - - - {{ props.getdetail.scoreResult.scoreB }} - - - จำนวนครั้งที่สมัครสอบ - - - {{ props.getdetail.examCount }} - - - - - - ภาค ค - - - {{ props.getdetail.scoreResult.scoreCFull }} - - - {{ props.getdetail.scoreResult.scoreCFull }} - - - - - - รวมทั้งหมด - - - {{ (props.getdetail.scoreResult.scoreSumFull) }} - - - {{ (props.getdetail.scoreResult.scoreSum) }} - - - - - - - การคัดกรองคุณสมบัติ - - - - - - - - - - - - - + + + + + - \ No newline at end of file + + \ No newline at end of file
{{ props.row.fullName }}
{{ col.value }}