diff --git a/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue b/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue index 11aa18083..ed676f086 100644 --- a/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue +++ b/src/modules/06_retirement/components/01_retirement/RetirementDetail.vue @@ -57,7 +57,7 @@ const statusReport = ref(); const dataProfile = ref([]); /** คอลัมน์ที่แสดง */ -const columns = ref([ +const columns = computed(() => [ { name: "order", label: "ลำดับ", @@ -79,7 +79,7 @@ const columns = ref([ { name: "position", align: "left", - label: "ตำแหน่ง", + label: `ตำแหน่ง ${employeeType.value == "OFFICER" ? "(ในสายงาน)" : ""}`, title: "ตำแหน่ง", subtitle: employeeType.value == "OFFICER" ? "ในสายงาน" : "", field: "position", @@ -89,7 +89,9 @@ const columns = ref([ { name: "positionType", align: "left", - label: "ตำแหน่ง", + label: `ตำแหน่ง (${ + employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน" + })`, title: "ตำแหน่ง", subtitle: employeeType.value == "OFFICER" ? "ประเภท" : "กลุ่มงาน", field: "positionType", @@ -100,7 +102,7 @@ const columns = ref([ { name: "positionNumber", align: "left", - label: "ตำแหน่ง (เลขที่) ", + label: "ตำแหน่ง (เลขที่)", title: "ตำแหน่ง", subtitle: "เลขที่", field: "positionNumber", @@ -439,6 +441,7 @@ onMounted(async () => { @click="backHistory" /> รายชื่อผู้เกษียณอายุราชการ + {{ employeeType === "OFFICER" ? "ข้าราชการ กทม.สามัญ" : "ลูกจ้างประจำ" }}