ทะเบียนประวัติ => list,ข้อมูลส่วนตัว,ข้อมูลราชการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-08-05 11:08:01 +07:00
parent 5d83ef2e4f
commit de177a5a18
15 changed files with 239 additions and 278 deletions

View file

@ -308,6 +308,7 @@ watch(
>
<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" v-if="col.name === 'posLevel'">{{
empType === "officer" ? col.label : "ระดับชั้นงาน"
@ -327,6 +328,21 @@ watch(
</template>
<template v-slot:body="props" v-if="store.mode === 'table'">
<q-tr :props="props">
<q-td auto-width>
<q-btn
icon="mdi-eye"
round
dense
flat
color="info"
@click.stpo.pervent="
checkPermission($route)?.attrIsGet &&
onClickViewDetail(props.row.id)
"
>
<q-tooltip>รายละเอยด</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{
@ -342,21 +358,7 @@ watch(
</q-avatar>
</q-item-section>
<q-item-section>
<div
:class="
checkPermission($route)?.attrIsGet
? 'text-weight-medium text-primary cursor-pointer'
: 'cursor-pointer text-weight-medium'
"
@click="
checkPermission($route)?.attrIsGet
? onClickViewDetail(props.row.id)
: undefined
"
>
<q-tooltip v-if="checkPermission($route)?.attrIsGet"
>ทะเบยนประว</q-tooltip
>
<div class="text-weight-medium">
{{
`${props.row.prefix ? props.row.prefix : ""}${
props.row.firstName
@ -376,7 +378,25 @@ watch(
</template>
<template v-slot:item="props" v-else>
<div class="col-xs-12 col-sm-4 col-md-3">
<q-card flat bordered class="">
<q-card flat bordered>
<div
class="row justify-end q-mr-md"
v-if="checkPermission($route)?.attrIsGet"
>
<div class="col-1">
<q-btn
flat
dense
round
icon="mdi-eye"
color="info"
@click="onClickViewDetail(props.row.id)"
>
<q-tooltip>รายละเอยด</q-tooltip>
</q-btn>
</div>
</div>
<q-separator/>
<q-card-section class="text-center q-pb-none">
<q-avatar size="80px" class="bg-grey-2">
<q-img :src="props.row.avatar" />
@ -431,7 +451,7 @@ watch(
</q-card-section>
</q-card>
</q-card-section>
<q-separator inset v-if="checkPermission($route)?.attrIsGet" />
<!-- <q-separator inset v-if="checkPermission($route)?.attrIsGet" />
<q-btn
v-if="checkPermission($route)?.attrIsGet"
flat
@ -439,7 +459,7 @@ watch(
label="ดูเพิ่มเติม"
class="hover-button full-width q-pa-md"
@click="onClickViewDetail(props.row.id)"
/>
/> -->
</q-card>
</div>
</template>

View file

@ -438,20 +438,20 @@ onMounted(() => {
<div class="q-gutter-x-sm">
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
icon="mdi-pencil-outline"
flat
dense
round
color="edit"
icon="edit"
@click="openDialogEdit()"
><q-tooltip>แกไขขอม</q-tooltip></q-btn
>
<q-btn
color="info"
icon="mdi-history"
flat
dense
round
color="deep-purple"
icon="mdi-history"
@click="openDialogHistory()"
><q-tooltip>ประวอมลราชการ</q-tooltip></q-btn
>

View file

@ -7,7 +7,6 @@ import type {
RequestItemsObject,
FormFilter,
DataOption,
DisciplineOps,
} from "@/modules/04_registryPerson/interface/index/discipline";
import { useCounterMixin } from "@/stores/mixin";
import { useQuasar } from "quasar";
@ -455,33 +454,30 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
color="deep-purple"
icon="mdi-history"
@click="openDialogHistory(props.row.id)"
>
<q-tooltip>ประวแกไขว</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
color="edit"
icon="edit"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
@ -500,24 +496,24 @@ onMounted(async () => {
<q-card flat bordered class="q-pa-none">
<div class="row bg-grey-3">
<q-space />
<div class="q-gutter-x-sm">
<div>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
icon="mdi-pencil-outline"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไข</q-tooltip></q-btn
>
<q-btn
color="info"
color="deep-purple"
icon="mdi-history"
flat
round
@click="openDialogHistory(props.row.id)"
><q-tooltip>ประวแกไขว</q-tooltip></q-btn
>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="edit"
icon="edit"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไข</q-tooltip></q-btn
>
</div>
</div>
<q-separator />

View file

@ -260,7 +260,7 @@ watch(modal, (status) => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{

View file

@ -566,33 +566,30 @@ onMounted(() => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
color="deep-purple"
icon="mdi-history"
@click="openDialogHistory(props.row.id)"
>
<q-tooltip>ประวแกไขการลา</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
color="edit"
icon="edit"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
@ -619,24 +616,25 @@ onMounted(() => {
<q-card flat bordered class="q-pa-none">
<div class="row bg-grey-3">
<q-space />
<div class="q-gutter-x-sm">
<div>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
icon="mdi-pencil-outline"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไขขอม</q-tooltip></q-btn
>
<q-btn
color="info"
color="deep-purple"
icon="mdi-history"
flat
round
@click="openDialogHistory(props.row.id)"
><q-tooltip>ประวแกไขการลา</q-tooltip></q-btn
>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="edit"
icon="edit"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไขขอม</q-tooltip></q-btn
>
</div>
</div>
<q-separator />

View file

@ -286,7 +286,7 @@ watch(modal, (status) => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{

View file

@ -33,7 +33,6 @@ const {
showLoader,
hideLoader,
success,
dialogRemove,
} = mixin;
const modal = ref<boolean>(false);
@ -411,33 +410,30 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
color="deep-purple"
icon="mdi-history"
@click="openDialogHistory(props.row.id)"
>
<q-tooltip>ประวแกไขปฏราชการพเศษ</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
color="edit"
icon="edit"
clickable
@click="openDialogEdit(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
@ -457,24 +453,24 @@ onMounted(async () => {
<q-card flat bordered class="q-pa-none">
<div class="row bg-grey-3">
<q-space />
<div class="q-gutter-x-sm">
<div>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
icon="mdi-pencil-outline"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไขขอม</q-tooltip></q-btn
>
<q-btn
color="info"
color="deep-purple"
icon="mdi-history"
flat
round
@click="openDialogHistory(props.row.id)"
><q-tooltip>ประวแกไขปฏราชการพเศษ</q-tooltip></q-btn
>
><q-tooltip>ประวแกไขปฏราชการพเศษ</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="edit"
icon="edit"
flat
round
@click="openDialogEdit(props.row)"
><q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</div>
</div>
<q-separator />

View file

@ -262,7 +262,7 @@ watch(modal, (status) => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div v-if="col.name === 'no'">
{{

View file

@ -428,14 +428,14 @@ onMounted(() => {
<template>
<div class="row q-gutter-sm items-center">
<div class="toptitle col text-right q-gutter-x-sm">
<div class="toptitle col text-right">
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
round
dense
icon="mdi-pencil-outline"
color="primary"
icon="edit"
color="edit"
@click="onClickOpenDialog"
>
<q-tooltip>แกไขขอม</q-tooltip>
@ -445,7 +445,7 @@ onMounted(() => {
flat
round
icon="mdi-history"
color="info"
color="deep-purple"
@click="clickHistory"
>
<q-tooltip>ประวแกไขขอมลสวนต</q-tooltip>
@ -890,7 +890,7 @@ onMounted(() => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>
{{ col.value ? col.value : "-" }}

View file

@ -521,7 +521,7 @@ watch(
</script>
<template>
<div class="text-primary row q-mb-sm">
<div class="row items-center q-gutter-x-sm q-pb-sm">
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
round
@ -601,28 +601,37 @@ watch(
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
color="green"
flat
dense
round
size="14px"
icon="mdi-file-document-outline"
@click="fetchProfile(props.row.id)"
>
<q-tooltip>ดาวนโหลด</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
icon="mdi-history"
color="deep-purple"
@click="
() => (fetchHistoryData(props.row.id), (historyDialog = true))
"
>
<q-tooltip>ประวการเปลยนช-นามสก</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
color="edit"
icon="edit"
clickable
@click="
() => {
@ -632,32 +641,6 @@ watch(
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
icon="mdi-history"
@click="
() => (fetchHistoryData(props.row.id), (historyDialog = true))
"
>
<q-tooltip>ประวการเปลยนช-นามสก</q-tooltip>
</q-btn>
<!-- <q-btn
color="red"
flat
dense
round
size="14px"
icon="mdi-delete"
clickable
@click.stop="deleteData(props.row.id), deleteFileData(props.row.id)"
v-close-popup
>
<q-tooltip>ลบขอม</q-tooltip>
</q-btn> -->
</q-td>
<q-td v-for="(col, index) in props.cols" :key="col.name">
<div class="table_ellipsis">
@ -975,7 +958,7 @@ watch(
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>
{{ col.value === "" ? "-" : col.value }}

View file

@ -485,14 +485,14 @@ onMounted(async () => {
<template>
<div class="row q-gutter-sm items-center">
<div class="toptitle col text-right q-gutter-x-sm">
<div class="toptitle col text-right">
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
round
dense
icon="mdi-pencil-outline"
color="primary"
icon="edit"
color="edit"
@click="onClickOpenDialog"
>
<q-tooltip>แกไขขอม</q-tooltip>
@ -502,7 +502,7 @@ onMounted(async () => {
flat
round
icon="mdi-history"
color="info"
color="deep-purple"
@click="clickHistory"
>
<q-tooltip>ประวอมลทอย</q-tooltip>
@ -920,7 +920,7 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>
{{ col.value ? col.value : "-" }}

View file

@ -443,9 +443,8 @@ onMounted(() => {
v-if="checkPermission($route)?.attrIsUpdate"
round
flat
color="primary"
icon="mdi-pencil-outline"
size="14px"
color="edit"
icon="edit"
dense
@click="onOpenDialogForm('father')"
>
@ -455,9 +454,8 @@ onMounted(() => {
round
flat
dense
color="info"
color="deep-purple"
icon="mdi-history"
size="14px"
@click="onOpenDialogHistory('father')"
>
<q-tooltip>ประวการแกไขขอมลบดา</q-tooltip></q-btn
@ -519,9 +517,8 @@ onMounted(() => {
v-if="checkPermission($route)?.attrIsUpdate"
round
flat
color="primary"
icon="mdi-pencil-outline"
size="14px"
color="edit"
icon="edit"
dense
@click="onOpenDialogForm('mother')"
>
@ -531,9 +528,8 @@ onMounted(() => {
round
flat
dense
color="info"
color="deep-purple"
icon="mdi-history"
size="14px"
@click="onOpenDialogHistory('mother')"
>
<q-tooltip>ประวการแกไขขอมลมารดา</q-tooltip></q-btn
@ -598,7 +594,6 @@ onMounted(() => {
dense
color="primary"
icon="add"
size="14px"
@click="onOpenDialogForm('couple')"
>
<q-tooltip>เพมคสมรส</q-tooltip></q-btn
@ -610,9 +605,8 @@ onMounted(() => {
round
flat
dense
color="info"
color="deep-purple"
icon="mdi-history"
size="14px"
@click="onOpenDialogHistory('couple')"
>
<q-tooltip>ประวการแกไขขอมลคสมรส</q-tooltip></q-btn
@ -699,7 +693,6 @@ onMounted(() => {
dense
color="primary"
icon="add"
size="14px"
@click="onOpenDialogForm('children')"
>
<q-tooltip>เพมบตร</q-tooltip></q-btn
@ -720,9 +713,8 @@ onMounted(() => {
v-if="checkPermission($route)?.attrIsUpdate"
round
flat
color="primary"
icon="mdi-pencil-outline"
size="14px"
color="edit"
icon="edit"
dense
@click="onOpenDialogForm('children', true, item)"
>
@ -732,9 +724,8 @@ onMounted(() => {
round
flat
dense
color="info"
color="deep-purple"
icon="mdi-history"
size="14px"
@click="onOpenDialogHistory('children', item.id)"
>
<q-tooltip>ประวการแกไขขอมลบตร</q-tooltip></q-btn
@ -1057,7 +1048,7 @@ onMounted(() => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>
{{ col.value ? col.value : "-" }}

View file

@ -807,18 +807,27 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
color="deep-purple"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
clickable
icon="mdi-history"
@click="
() => (fetchHistoryData(props.row.id), (historyDialog = true))
"
>
<q-tooltip>ประวแกไขประวการศกษา</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
icon="edit"
color="edit"
@click="
() => {
editForm(props.row);
@ -827,32 +836,6 @@ onMounted(async () => {
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
icon="mdi-history"
@click="
() => (fetchHistoryData(props.row.id), (historyDialog = true))
"
>
<q-tooltip>ประวแกไขประวการศกษา</q-tooltip>
</q-btn>
<!-- <q-btn
color="red"
flat
dense
round
size="14px"
icon="mdi-delete"
clickable
@click.stop="deleteData(props.row.id)"
v-close-popup
>
<q-tooltip>ลบขอม</q-tooltip>
</q-btn> -->
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div>
@ -868,27 +851,27 @@ onMounted(async () => {
<q-card bordered>
<q-card-actions align="right" class="bg-grey-3">
<q-btn
dense
flat
round
color="primary"
size="14px"
icon="mdi-pencil-outline"
@click="editForm(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
flat
round
color="info"
size="14px"
icon="history"
color="deep-purple"
icon="mdi-history"
@click="
() => (fetchHistoryData(props.row.id), (historyDialog = true))
"
>
<q-tooltip>ประวแกไขประวการศกษา</q-tooltip>
</q-btn>
<q-btn
dense
flat
round
color="edit"
icon="edit"
@click="editForm(props.row)"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</q-card-actions>
<q-separator />
<div class="row">
@ -1468,7 +1451,7 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>
{{ col.value === "" ? "-" : col.value }}

View file

@ -409,32 +409,13 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td auto-width>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
color="primary"
flat
dense
round
class="q-mr-xs"
size="14px"
icon="mdi-pencil-outline"
clickable
@click="
() => {
editForm(props.row);
}
"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
color="info"
flat
dense
round
size="14px"
color="deep-purple"
icon="mdi-history"
@click="
fetchHistoryData(props.row.id);
@ -443,6 +424,21 @@ onMounted(async () => {
>
<q-tooltip>ประวแกไขความสามารถพเศษ</q-tooltip>
</q-btn>
<q-btn
v-if="checkPermission($route)?.attrIsUpdate"
flat
dense
round
color="edit"
icon="edit"
@click="
() => {
editForm(props.row);
}
"
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.id">
<div>{{ col.value ? col.value : "-" }}</div>
@ -456,10 +452,24 @@ onMounted(async () => {
<q-card bordered>
<q-card-actions align="right" class="bg-grey-3">
<q-btn
dense
flat
round
color="primary"
icon="mdi-pencil-outline"
color="deep-purple"
icon="mdi-history"
@click="
fetchHistoryData(props.row.id);
historyDialog = true;
"
>
<q-tooltip>ประวแกไขความสามารถพเศษ</q-tooltip>
</q-btn>
<q-btn
dense
flat
round
color="edit"
icon="edit"
size="14px"
@click="
() => {
@ -469,20 +479,6 @@ onMounted(async () => {
>
<q-tooltip>แกไขขอม</q-tooltip>
</q-btn>
<q-btn
flat
class="no-shadow toggle-borderd"
round
size="14px"
color="info"
icon="mdi-history"
@click="
fetchHistoryData(props.row.id);
historyDialog = true;
"
>
<q-tooltip>ประวแกไขความสามารถพเศษ</q-tooltip>
</q-btn>
</q-card-actions>
<q-separator />
<div class="row">
@ -637,7 +633,7 @@ onMounted(async () => {
</q-tr>
</template>
<template v-slot:body="props" v-if="mode === 'table'">
<q-tr :props="props" class="cursor-pointer">
<q-tr :props="props">
<q-td v-for="col in props.cols" :key="col.id">
<div>{{ col.value ? col.value : "-" }}</div>
</q-td>

View file

@ -333,14 +333,26 @@ 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
icon="edit"
round
dense
flat
color="edit"
@click.pervent="onclickEdit(props.row.id)"
>
<q-tooltip>แกไขสถานะคำรอง</q-tooltip>
</q-btn>
</q-td>
<q-td v-for="col in props.cols" :key="col.name" :props="props">
<div v-if="col.name == 'no'">
{{ props.rowIndex + 1 }}
@ -352,7 +364,6 @@ onMounted(() => {
dense
flat
color="primary"
size="12px"
@click.pervent="onDownloadFile(props.row.id)"
>
<q-tooltip>หลกฐานอางอ</q-tooltip>
@ -362,19 +373,6 @@ onMounted(() => {
{{ col.value ? col.value : "-" }}
</div>
</q-td>
<q-td>
<q-btn
icon="edit"
round
dense
flat
color="edit"
size="12px"
@click.pervent="onclickEdit(props.row.id)"
>
<q-tooltip>แกไขสถานะคำรอง</q-tooltip>
</q-btn>
</q-td>
</q-tr>
</template>
<template v-slot:pagination="scope">