fix(discipline-result):sort
This commit is contained in:
parent
49dcf013ae
commit
ad80eae285
6 changed files with 204 additions and 289 deletions
|
|
@ -42,7 +42,7 @@ export const useDisciplineResultStore = defineStore(
|
|||
"offenseDetails",
|
||||
"disciplinaryFaultLevel",
|
||||
"disciplinaryCaseFault",
|
||||
"disciplinaryDate",
|
||||
"disciplinaryDateStart",
|
||||
"resultDisciplineType",
|
||||
"resultTitleType",
|
||||
"resultOc",
|
||||
|
|
@ -77,8 +77,6 @@ export const useDisciplineResultStore = defineStore(
|
|||
field: "respondentType",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "offenseDetails",
|
||||
|
|
@ -88,8 +86,6 @@ export const useDisciplineResultStore = defineStore(
|
|||
field: "offenseDetails",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "disciplinaryFaultLevel",
|
||||
|
|
@ -99,8 +95,6 @@ export const useDisciplineResultStore = defineStore(
|
|||
field: "disciplinaryFaultLevel",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "disciplinaryCaseFault",
|
||||
|
|
@ -110,11 +104,9 @@ export const useDisciplineResultStore = defineStore(
|
|||
field: "disciplinaryCaseFault",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "disciplinaryDate",
|
||||
name: "disciplinaryDateStart",
|
||||
align: "left",
|
||||
label: "วันที่สอบสวน",
|
||||
sortable: true,
|
||||
|
|
@ -162,7 +154,7 @@ export const useDisciplineResultStore = defineStore(
|
|||
name: "status",
|
||||
align: "left",
|
||||
label: "สถานะ",
|
||||
sortable: true,
|
||||
sortable: false,
|
||||
field: "status",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue