From 47ce1ce70d5c90e606eb1ee27ad5f37545a584d7 Mon Sep 17 00:00:00 2001 From: "STW_TTTY\\stwtt" Date: Thu, 8 Aug 2024 15:45:11 +0700 Subject: [PATCH] =?UTF-8?q?=E0=B8=AA=E0=B8=B4=E0=B8=97=E0=B8=98=E0=B8=B4?= =?UTF-8?q?=E0=B9=8C=20=E0=B8=AA=E0=B8=AD=E0=B8=9A=E0=B8=AA=E0=B8=A7?= =?UTF-8?q?=E0=B8=99=E0=B8=84=E0=B8=A7=E0=B8=B2=E0=B8=A1=E0=B8=9C=E0=B8=B4?= =?UTF-8?q?=E0=B8=94=E0=B8=97=E0=B8=B2=E0=B8=87=E0=B8=A7=E0=B8=B4=E0=B8=99?= =?UTF-8?q?=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../3_InvestigateDisciplinary/EditPage.vue | 6 +- .../3_InvestigateDisciplinary/Form.vue | 131 +++++++++--------- .../3_InvestigateDisciplinary/MainPage.vue | 8 ++ .../3_InvestigateDisciplinary/Table.vue | 48 +++++-- src/modules/11_discipline/router.ts | 14 ++ 5 files changed, 127 insertions(+), 80 deletions(-) diff --git a/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue index c2a8bb262..c94e384c0 100644 --- a/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue +++ b/src/modules/11_discipline/components/3_InvestigateDisciplinary/EditPage.vue @@ -37,7 +37,7 @@ const store = useInvestigateDisStore(); const { dialogConfirm, success, messageError, showLoader, hideLoader } = mixin; const router = useRouter(); const route = useRoute(); - +const checkRoutePermisson = ref(route.name == "disciplineDisciplinaryDetail"); const modalPopup = ref(false); const id = ref(route.params.id as string); const data = ref(); @@ -396,9 +396,9 @@ onMounted(async () => { class="q-mr-sm" @click="$router.push(`/discipline/disciplinary`)" /> -
แก้ไขการสอบสวนความผิดทางวินัย
+
{{ checkRoutePermisson ? 'รายละเอียดการสอบสวนความผิดทางวินัย':'แก้ไขการสอบสวนความผิดทางวินัย'}}
-
+
( + route.name == "disciplineDisciplinaryDetail" +); const organizationOption = ref([]); /** query string*/ const page = ref(1); @@ -684,7 +686,6 @@ function deletePerson(id: string) { mainStore.rowsAdd = updatedRows; } - /** * function ค้นหาข้อมูลใน option * @param val คำค้นหา @@ -698,7 +699,6 @@ function filterOptionFn(val: string, update: Function) { }); } - /** * function ค้นหาข้อมูลใน option * @param val คำค้นหา @@ -712,7 +712,6 @@ function filterOptionFnOrganization(val: string, update: Function) { }); } - /** * function ค้นหาข้อมูลใน option * @param val คำค้นหา @@ -726,7 +725,6 @@ function filterOptionFnFaultLevel(val: string, update: Function) { }); } - /** * function ค้นหาข้อมูลใน option * @param val คำค้นหา @@ -770,7 +768,7 @@ onMounted(async () => {
{ id="organizationId" > { > ผู้ถูกร้องเรียน { > ดูข้อมูลในทะเบียนประวัติ + ลบผู้ถูกร้องเรียน { {{ col.value }}
- - ลบผู้ถูกร้องเรียน - @@ -967,7 +963,7 @@ onMounted(async () => {
{