This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-07-08 18:20:18 +07:00
parent 46ea808c84
commit f6ea889258
5 changed files with 45 additions and 16 deletions

View file

@ -79,13 +79,15 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
position: e.position,
status: status(e.status),
dateReceive: date2Thai(e.dateReceive),
name: e.prefix + e.fullName,
name: e.fullName,
type: `${e.requestInsignia} (${
type.value.find((item) => item.name === e.requestInsignia)?.shortName ||
""
})`,
employeeType: profileType(e.profileType),
profileType: e.profileType,
employeeType: profileType(
e.profileType === "" ? "officer" : e.profileType
),
profileType: e.profileType === "" ? "officer" : e.profileType,
date: date2Thai(e.date),
volumeNo: e.volumeNo,
section: e.section,