From a2302b8ffae307057de8f8fe43494a3e77756352 Mon Sep 17 00:00:00 2001 From: waruneeta Date: Fri, 15 Dec 2023 16:18:00 +0700 Subject: [PATCH] =?UTF-8?q?list=20=E0=B9=83=E0=B8=AB=E0=B9=89=E0=B9=80?= =?UTF-8?q?=E0=B8=A5=E0=B8=B7=E0=B8=AD=E0=B8=81=E0=B8=84=E0=B8=B3=E0=B8=AA?= =?UTF-8?q?=E0=B8=B1=E0=B9=88=E0=B8=87=E0=B8=82=E0=B8=AD=E0=B8=87=E0=B8=A7?= =?UTF-8?q?=E0=B8=B4=E0=B8=99=E0=B8=B1=E0=B8=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../4_Result/DialogSendToCommand.vue | 14 +++-- .../7_ListSuspend/DialogSendToCommand.vue | 60 +++++++++++++++++-- 2 files changed, 65 insertions(+), 9 deletions(-) diff --git a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue index d74a64938..99ae2e718 100644 --- a/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/4_Result/DialogSendToCommand.vue @@ -22,7 +22,7 @@ import http from "@/plugins/http"; import config from "@/app.config"; const type = ref(""); -const rows = ref([]) +const rows = ref([]); const $q = useQuasar(); const selected = ref([]); const mixin = useCounterMixin(); @@ -124,9 +124,11 @@ const fecthTypeOption = async () => { .then((res) => { optionsType.value = res.data.result.filter( (e: OpType) => - e.commandCode === "C-PM-26" || + e.commandCode === "C-PM-19" || + e.commandCode === "C-PM-20" || e.commandCode === "C-PM-27" || - e.commandCode === "C-PM-28" + e.commandCode === "C-PM-28" || + e.commandCode === "C-PM-29" ); }) .catch((e) => { @@ -140,9 +142,11 @@ const fecthTypeOption = async () => { watchEffect(() => { if (props.Modal === true) { selected.value = []; - type.value = '' + type.value = ""; // console.log(props.data.status) - rows.value = props.data.persons.filter((item: any) => item.status !== 'REPORT'); + rows.value = props.data.persons.filter( + (item: any) => item.status !== "REPORT" + ); } }); diff --git a/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue b/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue index b83c3fb67..e94acbda9 100644 --- a/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue +++ b/src/modules/11_discipline/components/7_ListSuspend/DialogSendToCommand.vue @@ -1,11 +1,12 @@ + - +