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 @@ + - +