รายการสรุปผลการพิจารณาทางวินัย เพิ่มฟิล
This commit is contained in:
parent
b659857c7b
commit
db072c8ba5
4 changed files with 38 additions and 3 deletions
|
|
@ -69,7 +69,7 @@ const formData = reactive<FormData>({
|
||||||
titleType: "",
|
titleType: "",
|
||||||
oc: "",
|
oc: "",
|
||||||
file: null,
|
file: null,
|
||||||
disciplineComplaint_Appeal_Docs: [ArrayFile],
|
disciplineComplaint_Appeal_Docs: [],
|
||||||
year: new Date().getFullYear(),
|
year: new Date().getFullYear(),
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
@ -577,7 +577,6 @@ onMounted(async () => {});
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="formData.disciplineComplaint_Appeal_Docs.length > 0"
|
v-if="formData.disciplineComplaint_Appeal_Docs.length > 0"
|
||||||
class="col-xs-12 q-pa-sm row"
|
class="col-xs-12 q-pa-sm row"
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ interface FormData {
|
||||||
titleType: string;
|
titleType: string;
|
||||||
oc: string;
|
oc: string;
|
||||||
file: any
|
file: any
|
||||||
disciplineComplaint_Appeal_Docs: [FileArray]
|
disciplineComplaint_Appeal_Docs: any
|
||||||
year: number | null;
|
year: number | null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,9 @@ interface DataResult {
|
||||||
disciplinaryFaultLevel: string; //ระดับโทษความผิด
|
disciplinaryFaultLevel: string; //ระดับโทษความผิด
|
||||||
disciplinaryCaseFault: string; //กรณีความผิด
|
disciplinaryCaseFault: string; //กรณีความผิด
|
||||||
status: string; //สถานะ
|
status: string; //สถานะ
|
||||||
|
disciplineType: string; //สถานะ
|
||||||
|
titleType: string; //สถานะ
|
||||||
|
oc: string; //สถานะ
|
||||||
createdAt: Date | null; //วันที่ส่งเรื่องสอบสวน
|
createdAt: Date | null; //วันที่ส่งเรื่องสอบสวน
|
||||||
}
|
}
|
||||||
interface DataResultList {
|
interface DataResultList {
|
||||||
|
|
|
||||||
|
|
@ -57,6 +57,9 @@ export const useDisciplineResultStore = defineStore(
|
||||||
: "-",
|
: "-",
|
||||||
status: e.status && convertStatus(e.status),
|
status: e.status && convertStatus(e.status),
|
||||||
createdAt: e.createdAt && date2Thai(e.createdAt),
|
createdAt: e.createdAt && date2Thai(e.createdAt),
|
||||||
|
disciplineType: e.disciplineType ? e.disciplineType:'-' ,
|
||||||
|
titleType: e.titleType ? e.titleType:'-' ,
|
||||||
|
oc: e.oc ? e.oc:'-'
|
||||||
}));
|
}));
|
||||||
rows.value = datalist;
|
rows.value = datalist;
|
||||||
}
|
}
|
||||||
|
|
@ -83,6 +86,9 @@ export const useDisciplineResultStore = defineStore(
|
||||||
"disciplinaryFaultLevel",
|
"disciplinaryFaultLevel",
|
||||||
"disciplinaryCaseFault",
|
"disciplinaryCaseFault",
|
||||||
"createdAt",
|
"createdAt",
|
||||||
|
"disciplineType",
|
||||||
|
"titleType",
|
||||||
|
"oc",
|
||||||
"status",
|
"status",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
@ -158,6 +164,33 @@ export const useDisciplineResultStore = defineStore(
|
||||||
headerStyle: "font-size: 14px",
|
headerStyle: "font-size: 14px",
|
||||||
style: "font-size: 14px",
|
style: "font-size: 14px",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
name: "disciplineType",
|
||||||
|
align: "left",
|
||||||
|
label: "ประเภทวินัย",
|
||||||
|
sortable: true,
|
||||||
|
field: "disciplineType",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "titleType",
|
||||||
|
align: "left",
|
||||||
|
label: "ประเภทของเรื่อง",
|
||||||
|
sortable: true,
|
||||||
|
field: "titleType",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: "oc",
|
||||||
|
align: "left",
|
||||||
|
label: "หน่วยงาน/ส่วนราชการ",
|
||||||
|
sortable: true,
|
||||||
|
field: "oc",
|
||||||
|
headerStyle: "font-size: 14px",
|
||||||
|
style: "font-size: 14px",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "status",
|
name: "status",
|
||||||
align: "left",
|
align: "left",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue