([
headerStyle: "font-size: 14px",
style: "font-size: 14px",
},
+ {
+ name: "profileType",
+ align: "left",
+ label: "สถานภาพ",
+ sortable: true,
+ field: "profileType",
+ headerStyle: "font-size: 14px",
+ style: "font-size: 14px",
+ },
{
name: "type",
align: "left",
@@ -563,6 +574,13 @@ onMounted(async () => {
{{ props.row.title }}
+
+ {{
+ props.row.profileType
+ ? mainStore.convertType(props.row.profileType)
+ : "-"
+ }}
+
{
messageError($q, e);
- })
- .finally(async () => {
hideLoader();
- });
+ })
+ .finally(async () => {});
}
/**
@@ -114,15 +113,14 @@ async function removeFile(id: string) {
await http
.delete(config.API.disciplineByIdDoc(props.type, props.id, id))
.then(() => {
- success($q, "ลบไฟล์สำเร็จ");
props.fetchData();
+ success($q, "ลบไฟล์สำเร็จ");
})
.catch((e) => {
messageError($q, e);
- })
- .finally(async () => {
hideLoader();
- });
+ })
+ .finally(async () => {});
}
/**
diff --git a/src/modules/11_discipline/interface/response/appealComplain.ts b/src/modules/11_discipline/interface/response/appealComplain.ts
index 037eebe8a..881fbe9c0 100644
--- a/src/modules/11_discipline/interface/response/appealComplain.ts
+++ b/src/modules/11_discipline/interface/response/appealComplain.ts
@@ -33,6 +33,7 @@ interface RowAddList {
citizenId: string;
oc: string;
position: string;
+ profileType?: string;
}
interface EditDataList {