fix เครื่องราช
This commit is contained in:
parent
316e0dddab
commit
a7da9da799
2 changed files with 2 additions and 6 deletions
|
|
@ -131,7 +131,7 @@ interface ResponseManageList {
|
|||
profileType: string;
|
||||
rank: string;
|
||||
reason: string;
|
||||
requestDate: Date | string;
|
||||
requestDate: Date;
|
||||
requestInsignia: string;
|
||||
requestInsigniaShortName: string;
|
||||
requestNote: string;
|
||||
|
|
|
|||
|
|
@ -90,11 +90,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
|
|||
})`
|
||||
: "",
|
||||
insigniaLevel: e.level ? e.level : "",
|
||||
dateSend: e.requestDate
|
||||
? typeof e.requestDate === "string"
|
||||
? e.requestDate
|
||||
: e.requestDate.toISOString()
|
||||
: null,
|
||||
dateSend: e.requestDate ? date2Thai(e.requestDate) : null,
|
||||
requestNote: e.requestNote ? e.requestNote : "",
|
||||
employeeType: profileType(e.profileType) || null,
|
||||
reason: e.reason ? e.reason : "",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue