ย้ายไอคอน

This commit is contained in:
STW_TTTY\stwtt 2024-07-24 16:37:04 +07:00
parent da4e99f767
commit c3c11afd1f
58 changed files with 1115 additions and 1056 deletions

View file

@ -297,14 +297,33 @@ onMounted(() => {
>
<template v-slot:header="props">
<q-tr :props="props">
<q-th auto-width />
<q-th v-for="col in props.cols" :key="col.name" :props="props">
<span class="text-weight-medium">{{ col.label }}</span>
</q-th>
<q-th auto-width />
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-td auto-width>
<q-btn
:color="
props.row.status == 'REPORT' || props.row.status == 'DONE'
? 'grey'
: 'red-7'
"
:disable="
props.row.status == 'REPORT' || props.row.status == 'DONE'
"
flat
round
class="text-red-14"
icon="mdi-delete"
dense
@click.stop="clickDelete(props.row.id)"
><q-tooltip>ลบขอม</q-tooltip></q-btn
>
</q-td>
<q-td
v-for="col in props.cols"
:key="col.id"
@ -327,25 +346,7 @@ onMounted(() => {
</div>
</q-td>
<q-td auto-width>
<q-btn
:color="
props.row.status == 'REPORT' || props.row.status == 'DONE'
? 'grey'
: 'red-7'
"
:disable="
props.row.status == 'REPORT' || props.row.status == 'DONE'
"
flat
round
class="text-red-14"
icon="mdi-delete"
dense
@click.stop="clickDelete(props.row.id)"
><q-tooltip>ลบขอม</q-tooltip></q-btn
>
</q-td>
</q-tr>
</template>
</d-table>