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 53398fdf6..e7bfa6b28 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(""); @@ -211,15 +211,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, { @@ -244,15 +244,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, { @@ -277,15 +277,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, @@ -311,15 +311,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, @@ -345,15 +345,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, { @@ -378,15 +378,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, { @@ -411,15 +411,15 @@ const rows = ref([ number: 3, examCount: 5, scoreResult: { - scoreAFull: 200, - scoreA: 133, - scoreBFull: 200, - scoreB: 149, - scoreCFull: 100, - scoreC: 0, - scoreSumFull: 500, - scoreSum: 282, - examResult: "ผ่าน" + scoreAFull: 200, + scoreA: 133, + scoreBFull: 200, + scoreB: 149, + scoreCFull: 100, + scoreC: 0, + scoreSumFull: 500, + scoreSum: 282, + examResult: "ผ่าน" }, }, ]); @@ -459,152 +459,178 @@ const save = () => { console.log("rows===>", rows.value) } +// modal detail +interface CheckboxItem { + id: number; + label: string; +} + +const selection = ref([]); +const checkboxItems: CheckboxItem[] = [ + { 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) +}; - - - - - + + + + + - - - - - - - - - {{ col.value }} - {{ props.row.fullName }} - - + + + + + + + + + {{ col.value }} + {{ props.row.fullName }} + + - - - - - - - - - - - - - {{ props.row.examResult }} - {{ col.value }} - - - - - - - {{ year + 543 }} - - - {{ parseInt(value + 543) }} - - - - - - - - - - - - - - - {{ mixin.date2Thai(col.value) }} - - - - {{ col.value }} - - - - - - - - - - - - - - - - - - + + + + + + + + + + - + + {{ props.row.examResult }} + {{ col.value }} + + + + + + + {{ year + 543 }} + + + {{ parseInt(value + 543) }} + + + + + + + + + + + + - + + {{ mixin.date2Thai(col.value) }} + + + + {{ col.value }} + + + + + + + + + + + + + + + + + + - - - - - - + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + - - - - - + + + + + - + - - - - - + + + + + + + + - @@ -639,4 +665,81 @@ const save = () => { margin-bottom: 0; color: #818181; } + +.icon-officer { + color: #00AA86; + padding-left: 20px; +} + +.check-officer { + font-size: 17px; + font-weight: 500; + line-height: 26px; + color: #00AA86; + padding-left: 20px; +} + +.contanier-box-main { + padding: 10px 21px 10px 21px; +} + +.contanier-box-mini { + padding: 10px 0px 10px 0px; +} + +.card-panding { + padding: 15px 21px 15px 21px; +} + +.header-text { + font-size: 18px; + font-weight: 600; + color: #4F4F4F; +} + +.header-sub-text { + font-size: 16px; + font-weight: 400; + line-height: 150%; + color: #818181; +} + +.sub-text { + font-weight: 400; + font-size: 16px; + line-height: 22px; + letter-spacing: 0.0025em; + color: #35373C; +} + +.card-exam { + border-radius: 5px; + background: #FAFAFA; +} + +.header-sub-text-exam { + font-size: 15px; + font-weight: 500; + line-height: 150%; + color: #818181; +} + +.header-sub-text-exam-2 { + font-size: 15px; + font-weight: 500; + line-height: 150%; + color: #00AA86; +} + +.sub-text-exam { + font-size: 15px; + font-weight: 500; + color: #000000; +} + +.checkbox-group { + font-size: 16px; + font-weight: 400; + color: #35373C; +} \ No newline at end of file
{{ props.row.fullName }}
{{ col.value }}