อุธร
This commit is contained in:
parent
f38b10becf
commit
fde1e9f7ce
4 changed files with 6 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ const data = reactive<EditDataList>({
|
||||||
profileId: "",
|
profileId: "",
|
||||||
oc: "",
|
oc: "",
|
||||||
position: "",
|
position: "",
|
||||||
|
profileType: "",
|
||||||
lastUpdatedAt: "",
|
lastUpdatedAt: "",
|
||||||
historyStatus: [historyStatusOb],
|
historyStatus: [historyStatusOb],
|
||||||
disciplineComplaint_Appeal_Docs: [fileOb],
|
disciplineComplaint_Appeal_Docs: [fileOb],
|
||||||
|
|
@ -105,6 +106,7 @@ function getData() {
|
||||||
data.fullname = dataList.fullname;
|
data.fullname = dataList.fullname;
|
||||||
data.citizenId = dataList.citizenId;
|
data.citizenId = dataList.citizenId;
|
||||||
data.profileId = dataList.profileId;
|
data.profileId = dataList.profileId;
|
||||||
|
data.profileType = dataList.profileType;
|
||||||
data.oc = dataList.oc;
|
data.oc = dataList.oc;
|
||||||
data.position = dataList.position;
|
data.position = dataList.position;
|
||||||
data.lastUpdatedAt = dataList.lastUpdatedAt;
|
data.lastUpdatedAt = dataList.lastUpdatedAt;
|
||||||
|
|
|
||||||
|
|
@ -303,6 +303,7 @@ watch(props.data, async () => {
|
||||||
citizenId: props.data.citizenId,
|
citizenId: props.data.citizenId,
|
||||||
oc: props.data.oc,
|
oc: props.data.oc,
|
||||||
position: props.data.position,
|
position: props.data.position,
|
||||||
|
profileType: props.data.profileType,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ interface MainList {
|
||||||
fullname: string;
|
fullname: string;
|
||||||
citizenId: string;
|
citizenId: string;
|
||||||
profileId: string;
|
profileId: string;
|
||||||
|
profileType?: string;
|
||||||
lastUpdatedAt: Date;
|
lastUpdatedAt: Date;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -48,6 +49,7 @@ interface EditDataList {
|
||||||
fullname: string;
|
fullname: string;
|
||||||
citizenId: string;
|
citizenId: string;
|
||||||
profileId: string;
|
profileId: string;
|
||||||
|
profileType?: string;
|
||||||
oc: string;
|
oc: string;
|
||||||
position: string;
|
position: string;
|
||||||
lastUpdatedAt: string;
|
lastUpdatedAt: string;
|
||||||
|
|
|
||||||
|
|
@ -67,6 +67,7 @@ export const useAppealComplainStore = defineStore("AppealComplainStore", () => {
|
||||||
let dataList: RowList[] = data.map((e: MainList) => ({
|
let dataList: RowList[] = data.map((e: MainList) => ({
|
||||||
id: e.id,
|
id: e.id,
|
||||||
profileId: e.profileId,
|
profileId: e.profileId,
|
||||||
|
profileType: e.profileType,
|
||||||
type: typeConvert(e.type),
|
type: typeConvert(e.type),
|
||||||
title: e.title,
|
title: e.title,
|
||||||
description: e.description,
|
description: e.description,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue