อุธร

This commit is contained in:
setthawutttty 2024-12-27 12:07:08 +07:00
parent f38b10becf
commit fde1e9f7ce
4 changed files with 6 additions and 0 deletions

View file

@ -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;

View file

@ -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,
}, },
]); ]);
} }

View file

@ -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;

View file

@ -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,