From 062de82bca0dff200083ec0b94500ab454a22255 Mon Sep 17 00:00:00 2001 From: wbuezas Date: Tue, 28 May 2024 17:30:39 -0300 Subject: [PATCH 01/22] Account list --- src/pages/Account/AccountFilter.vue | 205 ++++------------------ src/pages/Account/AccountList.vue | 52 ++++-- src/pages/Account/Card/AccountSummary.vue | 23 +-- src/pages/Account/locale/en.yml | 4 + src/pages/Account/locale/es.yml | 6 +- 5 files changed, 80 insertions(+), 210 deletions(-) diff --git a/src/pages/Account/AccountFilter.vue b/src/pages/Account/AccountFilter.vue index 23b72266c..0a93afab2 100644 --- a/src/pages/Account/AccountFilter.vue +++ b/src/pages/Account/AccountFilter.vue @@ -6,7 +6,6 @@ import FetchData from 'components/FetchData.vue'; import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; import VnSelect from 'components/common/VnSelect.vue'; import VnInput from 'src/components/common/VnInput.vue'; -import VnInputDate from 'components/common/VnInputDate.vue'; const { t } = useI18n(); const props = defineProps({ @@ -16,22 +15,24 @@ const props = defineProps({ }, }); -const workers = ref(); -const states = ref(); +const rolesOptions = ref([]); - - -en: - params: - search: Contains - clientFk: Customer - clientName: Customer - salesPersonFk: Salesperson - attenderFk: Attender - accountResponsibleFk: Responsible - accountStateFk: State - created: Created - myTeam: My team -es: - params: - search: Contiene - clientFk: Cliente - clientName: Cliente - salesPersonFk: Comercial - attenderFk: Asistente - accountResponsibleFk: Responsable - accountStateFk: Estado - created: Creada - Customer ID: ID cliente - Client Name: Nombre del cliente - Salesperson: Comercial - Attender: Asistente - Responsible: Responsable - State: Estado - Item: Artículo - Created: Creada - More options: Más opciones - myTeam: Mi equipo - diff --git a/src/pages/Account/AccountList.vue b/src/pages/Account/AccountList.vue index 56d54a47d..e94f6c7a5 100644 --- a/src/pages/Account/AccountList.vue +++ b/src/pages/Account/AccountList.vue @@ -1,34 +1,53 @@ - + @@ -71,11 +92,11 @@ function navigate(event, id) { >