updated
This commit is contained in:
parent
b3b073cc3e
commit
141dc8f61f
1 changed files with 4 additions and 4 deletions
|
|
@ -31,7 +31,7 @@ const visibleColumns = ref<string[]>([
|
||||||
"name",
|
"name",
|
||||||
"createdAt",
|
"createdAt",
|
||||||
"evaluationStatus",
|
"evaluationStatus",
|
||||||
"evaluationStatus",
|
"evaluationResults",
|
||||||
]);
|
]);
|
||||||
const columns = ref<QTableProps["columns"]>([
|
const columns = ref<QTableProps["columns"]>([
|
||||||
{
|
{
|
||||||
|
|
@ -65,16 +65,16 @@ const columns = ref<QTableProps["columns"]>([
|
||||||
field: "evaluationStatus",
|
field: "evaluationStatus",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
format: (v) => store.convertResults(v),
|
format: (v) => store.convertStatus(v),
|
||||||
sort: (a: string, b: string) =>
|
sort: (a: string, b: string) =>
|
||||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "evaluationStatus",
|
name: "evaluationResults",
|
||||||
align: "left",
|
align: "left",
|
||||||
label: "ผลการประเมิน",
|
label: "ผลการประเมิน",
|
||||||
sortable: true,
|
sortable: true,
|
||||||
field: "evaluationStatus",
|
field: "evaluationResults",
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
format: (v) => store.convertResults(v),
|
format: (v) => store.convertResults(v),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue