From 6c05347219744dbd9758bfc4484be736ea9e5402 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 5 Dec 2024 13:45:18 +0100 Subject: [PATCH] refactor: refs #8194 modified select worker to allow no one filter from monitor ticket --- src/components/common/VnSelectWorker.vue | 11 ++++++++++- src/pages/Monitor/Ticket/MonitorTicketFilter.vue | 13 ------------- 2 files changed, 10 insertions(+), 14 deletions(-) diff --git a/src/components/common/VnSelectWorker.vue b/src/components/common/VnSelectWorker.vue index 07288954a..a564a7605 100644 --- a/src/components/common/VnSelectWorker.vue +++ b/src/components/common/VnSelectWorker.vue @@ -21,6 +21,10 @@ const $props = defineProps({ type: Object, default: null, }, + noOne: { + type: Boolean, + default: false, + }, }); const value = computed({ @@ -54,6 +58,7 @@ const url = computed(() => { :fields="['id', 'name', 'nickname', 'code']" sort-by="nickname ASC" :params="$props.params" + :no-one="$props.noOne" >