UI - สอบสวนความผิดทางวินัย

ปรับเลือกกรรมการ 1 คน
ปรับให้ขนาดพอดี
แก้ไข format วันที่
This commit is contained in:
AnandaTon 2023-10-26 13:41:56 +07:00
parent fc613bad9b
commit 4174a839f5
3 changed files with 21 additions and 66 deletions

View file

@ -26,7 +26,7 @@ onMounted(async () => {
fault: "1",
penaltyLevel: "7",
caseFault: "ทุจริตในหน้าที่",
dateInvestigate: "1 ธ.ค. 2565",
dateInvestigate: "2023-12-01",
status: "0",
active: "2",
},
@ -36,7 +36,7 @@ onMounted(async () => {
fault: "1",
penaltyLevel: "7",
caseFault: "ทุจริตในหน้าที่",
dateInvestigate: "30 พ.ย. 2565",
dateInvestigate: "2023-11-30",
status: "0",
active: "0",
},
@ -46,7 +46,7 @@ onMounted(async () => {
fault: "2",
penaltyLevel: "1",
caseFault: "พบการทุจริต",
dateInvestigate: "14 ก.ย. 2565",
dateInvestigate: "2023-09-14",
status: "1",
active: "1",
},
@ -56,7 +56,7 @@ onMounted(async () => {
fault: "2",
penaltyLevel: "1",
caseFault: "พูดจาไม่สุภาพกับผู้บังคับบัญชา",
dateInvestigate: "11 ส.ค. 2565",
dateInvestigate: "2023-08-11",
status: "0",
active: "1",
},
@ -92,10 +92,10 @@ const clickAdd = () => {
<template #columns="props">
<q-tr :props="props" class="cursor-pointer">
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<q-td v-if="col.name == 'no'">
<div v-if="col.name == 'no'">
{{ props.rowIndex + 1 }}
</q-td>
<div>
</div>
<div v-else>
{{ col.value }}
</div>
</q-td>