แก้ กรรมการ
This commit is contained in:
parent
40e787af89
commit
72a1171b8f
6 changed files with 186 additions and 144 deletions
|
|
@ -45,7 +45,7 @@ const status = ref<string>("");
|
|||
|
||||
const idInvestigate = ref<string>("");
|
||||
const idComplaint = ref<string>("");
|
||||
const respondentRows = ref<Persons[]>();
|
||||
const respondentRows = ref<Persons[]>([]);
|
||||
const personObjComplaint = reactive<ArrayPerson>({
|
||||
id: "",
|
||||
personId: "",
|
||||
|
|
@ -117,6 +117,7 @@ const dataInvestigatefacts = reactive<FormInvestigateFact>({
|
|||
organizationId: "",
|
||||
persons: [],
|
||||
investigationExtendHistory: [],
|
||||
isDisciplinary: false,
|
||||
});
|
||||
|
||||
/** function fetchData สอบสวนความผิดทางวินัย*/
|
||||
|
|
@ -251,7 +252,9 @@ async function onSubmit(id: string) {
|
|||
|
||||
/** ยืนยัน ส่งไปออกคำสั่ง */
|
||||
async function sentIssue() {
|
||||
respondentRows.value = await store.rowSent.filter((x) => x.isSuspend === 'NEW' && x.isSend === 'NEW');
|
||||
respondentRows.value = await store.rowSent.filter(
|
||||
(x) => x.isSuspend === "NEW" && x.isSend === "NEW"
|
||||
);
|
||||
modalPopup.value = true;
|
||||
}
|
||||
|
||||
|
|
@ -381,7 +384,6 @@ onMounted(async () => {
|
|||
<template>
|
||||
<div class="col-xs-12 col-sm-12 col-md-11">
|
||||
<div class="toptitle col-12 row items-center">
|
||||
|
||||
<q-btn
|
||||
icon="mdi-arrow-left"
|
||||
unelevated
|
||||
|
|
@ -394,7 +396,6 @@ onMounted(async () => {
|
|||
/>
|
||||
<div class="q-ma-none">แก้ไขการสอบสวนความผิดทางวินัย</div>
|
||||
<q-space />
|
||||
|
||||
<div class="q-gutter-x-sm">
|
||||
<q-btn
|
||||
v-if="status === 'NEW'"
|
||||
|
|
@ -452,7 +453,7 @@ onMounted(async () => {
|
|||
:data="dataInvestigatefacts"
|
||||
/>
|
||||
</q-tab-panel>
|
||||
|
||||
|
||||
<q-tab-panel name="disciplinary">
|
||||
<FormDisciplinary
|
||||
:on-submit="onSubmit"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue