ปรับ ลำดับ อุทธรณ์ร้องทุกข์

This commit is contained in:
setthawutttty 2023-12-18 10:19:29 +07:00
parent 4ff70cfc40
commit 5210329687

View file

@ -415,9 +415,18 @@ onMounted(async () => {
</template> </template>
<template v-slot:body="props"> <template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer"> <q-tr :props="props" class="cursor-pointer">
<q-td v-for="col in props.cols" :key="col.name" :props="props" @click="editPage(props.row.id)"> <q-td
v-for="col in props.cols"
:key="col.name"
:props="props"
@click="editPage(props.row.id)"
>
<div v-if="col.name == 'no'"> <div v-if="col.name == 'no'">
{{ props.rowIndex + 1 }} {{
(currentPage - 1) * Number(pagination.rowsPerPage) +
props.rowIndex +
1
}}
</div> </div>
<div> <div>
{{ col.value }} {{ col.value }}