ปรับการแสดงผล action ในหน้ารายละเอียดของวินัย

This commit is contained in:
Warunee Tamkoo 2023-11-21 12:53:05 +07:00
parent 18e1e0d2bd
commit f916e32666
2 changed files with 61 additions and 27 deletions

View file

@ -184,7 +184,6 @@ onMounted(async () => {
<span class="text-weight-medium">{{ col.label }}</span>
</q-th>
<q-th auto-width />
<q-th auto-width />
</q-tr>
</template>
<template v-slot:body="props">
@ -209,19 +208,6 @@ onMounted(async () => {
>
{{ props.row.active }}
</q-td>
<q-td auto-width>
<div>
<q-btn
v-if="props.row.status === 'ยุติเรื่อง'"
for="#cancel"
dense
unelevated
color="primary"
class="q-px-sm"
>ยกเลกยเรอง</q-btn
>
</div>
</q-td>
</q-tr>
</template>
</d-table>