updated text

This commit is contained in:
Warunee Tamkoo 2024-07-12 13:33:29 +07:00
parent 2519b7939c
commit b3752f8269
4 changed files with 25 additions and 13 deletions

View file

@ -63,7 +63,7 @@ const columns = ref<QTableProps["columns"]>([
field: "durationKPI",
headerStyle: "font-size: 14px",
style: "font-size: 14px",
format: (v) => (v == "OCT" ? "ตุลาคม" : "เมษายน"),
format: (v) => (v == "OCT" ? "รอบที่ 2 ตุลาคม" : "รอบที่ 1 เมษายน"),
sort: (a: string, b: string) =>
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
},
@ -148,9 +148,9 @@ function fetchRoundOption(type: string) {
id: e.id,
name:
e.durationKPI === "OCT"
? "รอบตุลาคม"
? "รอบที่ 2 ตุลาคม"
: e.durationKPI === "APR"
? "รอบเมษายน"
? "รอบที่ 1 เมษายน"
: "",
isClosed: !e.isActive,
}));