fix insignia

This commit is contained in:
Warunee Tamkoo 2025-05-30 12:42:02 +07:00
parent 55c7863117
commit 231f0982cd
3 changed files with 4 additions and 0 deletions

View file

@ -60,6 +60,7 @@ interface ResponseInsigniaType {
}
interface ResponseRecordLists {
profileId?: string;
address: string;
citizenId: string;
date: Date;
@ -128,6 +129,7 @@ interface ResponseManageList {
markDiscipline: boolean;
markLeave: boolean;
markRate: boolean;
markInsignia: boolean;
posNo: string;
position: string;
profileId: string;

View file

@ -101,6 +101,7 @@ export const useInsigniaDataStore = defineStore("insignia", () => {
markDiscipline: e.markDiscipline,
markLeave: e.markLeave,
markRate: e.markRate,
markInsignia: e.markInsignia,
isApprove: e.isApprove,
statusMark:
e.markDiscipline === true ||

View file

@ -87,6 +87,7 @@ export const useResultDataStore = defineStore("insigniaResult", () => {
rows.value = [];
const alllist = await data.map((e: ResponseRecordLists) => ({
id: e.id,
profileId: e.profileId,
citizenId: e.citizenId,
prefix: e.prefix,
position: e.position,