fix: แก้ฟิลที่รับ
This commit is contained in:
parent
8de8636e12
commit
7834db2fbe
2 changed files with 7 additions and 4 deletions
|
|
@ -9,6 +9,7 @@ interface ListData {
|
|||
investigationStatusResult: string;
|
||||
status: string;
|
||||
createdAt: Date | null;
|
||||
dateReceived: Date | null;
|
||||
}
|
||||
|
||||
interface ArrayPerson {
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ export const useInvestigateFactStore = defineStore(
|
|||
"investigationDetail",
|
||||
"dateInvestigate",
|
||||
"investigationStatusResult",
|
||||
"createdAt",
|
||||
"dateReceived",
|
||||
"status",
|
||||
]);
|
||||
|
||||
|
|
@ -149,11 +149,11 @@ export const useInvestigateFactStore = defineStore(
|
|||
a.localeCompare(b, undefined, { numeric: true, sensitivity: "base" }),
|
||||
},
|
||||
{
|
||||
name: "createdAt",
|
||||
name: "dateReceived",
|
||||
align: "left",
|
||||
label: "วันที่รับเรื่อง",
|
||||
sortable: true,
|
||||
field: "createdAt",
|
||||
field: "dateReceived",
|
||||
headerStyle: "font-size: 14px",
|
||||
style: "font-size: 14px",
|
||||
sort: (a: string, b: string) =>
|
||||
|
|
@ -256,7 +256,9 @@ export const useInvestigateFactStore = defineStore(
|
|||
investigationStatusResult: e.investigationStatusResult
|
||||
? mainStore.convertStatusResult(e.investigationStatusResult)
|
||||
: "-",
|
||||
createdAt: e.createdAt ? date2Thai(e.createdAt as Date) : "-",
|
||||
dateReceived: e.dateReceived
|
||||
? date2Thai(e.dateReceived as Date)
|
||||
: "-",
|
||||
status: e.status ? convertStatus(e.status) : "-",
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue