fix == > columns รายชื่อผู้เกษียณอายุราชการ

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-12-17 15:26:47 +07:00
parent 4be4414175
commit 8078a36335

View file

@ -57,7 +57,7 @@ const statusReport = ref<boolean>();
const dataProfile = ref<Object>([]); const dataProfile = ref<Object>([]);
/** คอลัมน์ที่แสดง */ /** คอลัมน์ที่แสดง */
const columns = ref<any["columns"]>([ const columns = computed(() => [
{ {
name: "order", name: "order",
label: "ลำดับ", label: "ลำดับ",
@ -79,7 +79,7 @@ const columns = ref<any["columns"]>([
{ {
name: "position", name: "position",
align: "left", align: "left",
label: "ตำแหน่ง", label: `ตำแหน่ง ${employeeType.value == "OFFICER" ? "(ในสายงาน)" : ""}`,
title: "ตำแหน่ง", title: "ตำแหน่ง",
subtitle: employeeType.value == "OFFICER" ? "ในสายงาน" : "", subtitle: employeeType.value == "OFFICER" ? "ในสายงาน" : "",
field: "position", field: "position",
@ -89,7 +89,9 @@ const columns = ref<any["columns"]>([
{ {
name: "positionType", name: "positionType",
align: "left", align: "left",
label: "ตำแหน่ง", label: `ตำแหน่ง (${
employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน"
})`,
title: "ตำแหน่ง", title: "ตำแหน่ง",
subtitle: employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน", subtitle: employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน",
field: "positionType", field: "positionType",
@ -100,7 +102,7 @@ const columns = ref<any["columns"]>([
{ {
name: "positionNumber", name: "positionNumber",
align: "left", align: "left",
label: "ตำแหน่ง (เลขที่) ", label: "ตำแหน่ง (เลขที่)",
title: "ตำแหน่ง", title: "ตำแหน่ง",
subtitle: "เลขที่", subtitle: "เลขที่",
field: "positionNumber", field: "positionNumber",
@ -439,6 +441,7 @@ onMounted(async () => {
@click="backHistory" @click="backHistory"
/> />
รายชอผเกษยณอายราชการ รายชอผเกษยณอายราชการ
{{ employeeType === "OFFICER" ? "ข้าราชการ กทม.สามัญ" : "ลูกจ้างประจำ" }}
</div> </div>
<div> <div>
<q-card class="col-12 q-pa-md"> <q-card class="col-12 q-pa-md">