ทะเบียนประวัติ: ค้นหาด้วยชื่อ, เลขปชช, ตำแหน่ง; แก้การแสดงผลตาราง

This commit is contained in:
puriphatt 2024-03-25 07:54:38 +07:00
parent e28c71d91e
commit dccc41ac47
2 changed files with 44 additions and 26 deletions

View file

@ -74,7 +74,7 @@ const columns = ref<QTableProps["columns"]>([
align: "left",
label: "สายงาน",
sortable: true,
field: (v) => v.posType.posTypeName,
field: (v) => (v.posType ? v.posType.posTypeName : "-"),
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>
@ -85,7 +85,7 @@ const columns = ref<QTableProps["columns"]>([
align: "left",
label: "ระดับชั้นงาน",
sortable: true,
field: (v) => v.posLevel.posLevelName,
field: (v) => (v.posLevel ? v.posLevel.posLevelName : "-"),
headerStyle: "font-size: 14px",
style: "font-size: 14px",
sort: (a: string, b: string) =>