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