From 5a54debbc03a987141efa22ae069c7f07afea9b7 Mon Sep 17 00:00:00 2001 From: Javier Segarra Date: Tue, 6 May 2025 12:35:45 +0200 Subject: [PATCH] fix: #347390 ticketWeekly --- src/pages/Ticket/TicketWeekly.vue | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/src/pages/Ticket/TicketWeekly.vue b/src/pages/Ticket/TicketWeekly.vue index d6493550b..3620f729a 100644 --- a/src/pages/Ticket/TicketWeekly.vue +++ b/src/pages/Ticket/TicketWeekly.vue @@ -13,12 +13,14 @@ import { useArrayData } from 'composables/useArrayData'; import useNotify from 'src/composables/useNotify.js'; import axios from 'axios'; import VnTable from 'src/components/VnTable/VnTable.vue'; +import FetchData from 'src/components/FetchData.vue'; const stateStore = useStateStore(); const { t } = useI18n(); const { notify } = useNotify(); const { openConfirmationModal } = useVnConfirm(); const allColumnNames = ref([]); +const agencies = ref([]); const arrayData = useArrayData('WeeklyTickets'); const { store } = arrayData; @@ -51,11 +53,16 @@ const columns = computed(() => [ isTitle: true, cardVisible: true, component: 'select', - attrs: { - url: 'Clients', - optionLabel: 'name', - optionValue: 'id', - isWhere: true, + columnFilter: { + name: 'id', + component: 'select', + alias: 'c', + attrs: { + url: 'Clients', + optionLabel: 'name', + optionValue: 'id', + inWhere: true, + }, }, columnField: { component: null, @@ -167,6 +174,11 @@ onMounted(async () => {