fix filter ทะเบียนปะวัติลูกจ้าง

This commit is contained in:
AnandaTon 2023-10-03 14:18:44 +07:00
parent e0caef0908
commit 735834fc4b

View file

@ -59,7 +59,7 @@ const visibleColumnsEmployeeTemp = ref<String[]>([
"amount", "amount",
"statustext", "statustext",
"leaveDateOrder", "leaveDateOrder",
"newAgency", "draftOrganizationOrganization",
"currentAgency", "currentAgency",
]); ]);
@ -84,18 +84,18 @@ const columns = ref<QTableProps["columns"]>([
style: "font-size: 14px; ", style: "font-size: 14px; ",
}, },
{ {
name: "newAgency", name: "draftOrganizationOrganization",
align: "left", align: "left",
label: "หน่วยงานที่รับการบรรจุ", label: "หน่วยงานที่รับการบรรจุ",
sortable: true, sortable: true,
field: "newAgency", field: "draftOrganizationOrganization",
headerStyle: "font-size: 14px", headerStyle: "font-size: 14px",
style: "font-size: 14px", style: "font-size: 14px",
sort: (a: string, b: string) => // sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { // a.localeCompare(b, undefined, {
numeric: true, // numeric: true,
sensitivity: "base", // sensitivity: "base",
}), // }),
}, },
{ {
name: "currentAgency", name: "currentAgency",
@ -133,11 +133,11 @@ const columns = ref<QTableProps["columns"]>([
field: "govAge", field: "govAge",
headerStyle: "font-size: 14px", headerStyle: "font-size: 14px",
style: "font-size: 14px", style: "font-size: 14px",
sort: (a: string, b: string) => // sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { // a.localeCompare(b, undefined, {
numeric: true, // numeric: true,
sensitivity: "base", // sensitivity: "base",
}), // }),
}, },
{ {
name: "dateAppoint", name: "dateAppoint",
@ -747,7 +747,7 @@ const showEmployeeTemp = async () => {
{{ props.row.fullname }} {{ props.row.fullname }}
</q-td> </q-td>
<q-td <q-td
key="newAgency" key="draftOrganizationOrganization"
:props="props" :props="props"
@click="redirectToPage(props.row.id, props.row.status)" @click="redirectToPage(props.row.id, props.row.status)"
> >