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 { interface ResponseRecordLists {
profileId?: string;
address: string; address: string;
citizenId: string; citizenId: string;
date: Date; date: Date;
@ -128,6 +129,7 @@ interface ResponseManageList {
markDiscipline: boolean; markDiscipline: boolean;
markLeave: boolean; markLeave: boolean;
markRate: boolean; markRate: boolean;
markInsignia: boolean;
posNo: string; posNo: string;
position: string; position: string;
profileId: string; profileId: string;

View file

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

View file

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