ปรับ ui การสอบสวนความผิดทางวินัย

This commit is contained in:
AnandaTon 2023-10-18 16:02:45 +07:00
parent b00a946c64
commit 09d44c24d7
9 changed files with 306 additions and 301 deletions

View file

@ -139,40 +139,40 @@ function fecthInvestigateDis() {
{
subject: "ทุจริตในหน้าที่",
interrogated: "ศิรินภา คงน้อยี่",
fault: "0",
penaltyLevel: "0",
caseFault: "test",
dateInvestigate: "test",
fault: "1",
penaltyLevel: "7",
caseFault: "ทุจริตในหน้าที่",
dateInvestigate: "1 ธ.ค. 2565",
status: "0",
active: "1",
active: "2",
},
{
subject: "ทุจริตในหน้าที่",
interrogated: "นายนครชัย วันดี",
interrogated: "ภัทรานุช คงน้อย",
fault: "1",
penaltyLevel: "0",
caseFault: "test",
dateInvestigate: "test",
penaltyLevel: "7",
caseFault: "ทุจริตในหน้าที่",
dateInvestigate: "30 พ.ย. 2565",
status: "0",
active: "0",
},
{
subject: "กระทำทุจริตเงินกองทุน",
interrogated: "ปรมาพร ศรีมี",
fault: "2",
penaltyLevel: "1",
caseFault: "พบการทุจริต",
dateInvestigate: "14 ก.ย. 2565",
status: "1",
active: "1",
},
{
subject: "กระทำทุจริตเงินกองทุน",
interrogated: "นายกัณฐิมา กาฬสินธ์ุ",
fault: "1",
penaltyLevel: "0",
caseFault: "test",
dateInvestigate: "test",
status: "0",
active: "1",
},
{
subject: "พูดจาไม่สุภาพ",
interrogated: "นายปิยรมย์ ศิริธาราฟ",
interrogated: "สมรัก ใจอารีย์",
fault: "2",
penaltyLevel: "0",
caseFault: "test",
dateInvestigate: "test",
penaltyLevel: "1",
caseFault: "พูดจาไม่สุภาพกับผู้บังคับบัญชา",
dateInvestigate: "11 ส.ค. 2565",
status: "0",
active: "1",
},
@ -246,8 +246,14 @@ const deleteData = async (id: string) => {
<q-td key="status" :props="props">
{{ props.row.status }}
</q-td>
<q-td auto-width style="width: 10rem">
<q-btn color="primary" class="q-px-xl q-py-xs">นยนผล</q-btn>
<q-td style="font-size: 14px; width: 10rem">
<q-btn
v-if="props.row.active === 'ยืนยันผล'"
color="primary"
class="q-px-md q-py-xs"
>นยนผล</q-btn
>
<span v-else>{{ props.row.active }}</span>
</q-td>
</q-tr>
</template>