แก้ การลา

This commit is contained in:
setthawutttty 2024-02-09 14:16:34 +07:00
parent 16340d9ff5
commit 4056f44eaa
2 changed files with 3 additions and 15 deletions

View file

@ -57,7 +57,7 @@
{{ col.value }}
</div>
</q-td>
<q-td auto-width>
<!-- <q-td auto-width>
<q-btn
color="info"
flat
@ -69,7 +69,7 @@
>
<q-tooltip>ประวแกไขการลา </q-tooltip>
</q-btn>
</q-td>
</q-td> -->
</q-tr>
</template>
</ProfileTable>
@ -705,8 +705,6 @@ const columns = ref<QTableProps["columns"]>([
field: "leaveYear",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "sumSick",
@ -716,8 +714,6 @@ const columns = ref<QTableProps["columns"]>([
field: "sumSick",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "sumRest",
@ -727,8 +723,6 @@ const columns = ref<QTableProps["columns"]>([
field: "sumRest",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "sumLate",
@ -738,8 +732,6 @@ const columns = ref<QTableProps["columns"]>([
field: "sumLate",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "sumAbsent",
@ -749,8 +741,6 @@ const columns = ref<QTableProps["columns"]>([
field: "sumAbsent",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
{
name: "sumEducation",
@ -760,8 +750,6 @@ const columns = ref<QTableProps["columns"]>([
field: "sumEducation",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
]);

View file

@ -74,7 +74,7 @@
<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-th auto-width v-if="name !== 'การลา'"/>
</q-tr>
</template>
<template #body="props">