fix(investigatefacts)sort
This commit is contained in:
parent
5825f72e26
commit
b1532ada56
4 changed files with 190 additions and 229 deletions
|
|
@ -67,7 +67,7 @@ export const useInvestigateFactStore = defineStore(
|
|||
"respondentType",
|
||||
"offenseDetails",
|
||||
"investigationDetail",
|
||||
"dateInvestigate",
|
||||
"investigationDateStart",
|
||||
"investigationStatusResult",
|
||||
"dateReceived",
|
||||
"status",
|
||||
|
|
@ -101,8 +101,6 @@ export const useInvestigateFactStore = 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",
|
||||
|
|
@ -112,8 +110,6 @@ export const useInvestigateFactStore = 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: "investigationDetail",
|
||||
|
|
@ -123,19 +119,15 @@ export const useInvestigateFactStore = defineStore(
|
|||
field: "investigationDetail",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "dateInvestigate",
|
||||
name: "investigationDateStart",
|
||||
align: "left",
|
||||
label: "วันที่สืบสวน",
|
||||
sortable: true,
|
||||
field: "dateInvestigate",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "investigationStatusResult",
|
||||
|
|
@ -145,8 +137,6 @@ export const useInvestigateFactStore = defineStore(
|
|||
field: "investigationStatusResult",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "dateReceived",
|
||||
|
|
@ -156,8 +146,6 @@ export const useInvestigateFactStore = defineStore(
|
|||
field: "dateReceived",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "status",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue