fix insignia
This commit is contained in:
parent
55c7863117
commit
231f0982cd
3 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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 ||
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue