เพิ่มฟิล เลขที่คำสั่ง

This commit is contained in:
setthawutttty 2024-10-10 10:37:19 +07:00
parent a354e8cc73
commit adcb1f034f
2 changed files with 107 additions and 67 deletions

View file

@ -336,14 +336,14 @@ onMounted(() => {
<q-tr :props="props">
<q-td auto-width>
<q-btn
icon="edit"
:icon="props.row.topic == 'ขออัปเดตข้อมูลจากกรมการปกครอง' ? 'mdi-sync-circle':'edit'"
round
dense
flat
color="edit"
:color="props.row.topic == 'ขออัปเดตข้อมูลจากกรมการปกครอง' ? 'info':'edit'"
@click.pervent="onclickEdit(props.row.id)"
>
<q-tooltip>แกไขสถานะคำรอง</q-tooltip>
<q-tooltip>{{props.row.topic == 'ขออัปเดตข้อมูลจากกรมการปกครอง' ? 'ขออัปเดตข้อมูลจากกรมการปกครอง':'แก้ไขสถานะคำร้อง'}}</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">