From ada1c948f62dc71350717b1dd3056e5a4f264586 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 19 Aug 2024 10:14:02 +0200 Subject: [PATCH] feat: refs #7353 split sections --- src/i18n/locale/en.yml | 2 + src/i18n/locale/es.yml | 2 + src/pages/Monitor/MonitorClientsActions.vue | 47 +++++++++++ src/pages/Monitor/MonitorList.vue | 90 --------------------- src/pages/Monitor/MonitorTickets.vue | 27 +++++++ src/pages/Monitor/SalesOrdersTable.vue | 22 +++-- src/pages/Monitor/locale/en.yml | 3 +- src/pages/Monitor/locale/es.yml | 3 +- src/router/modules/monitor.js | 22 +++-- 9 files changed, 115 insertions(+), 103 deletions(-) create mode 100644 src/pages/Monitor/MonitorClientsActions.vue delete mode 100644 src/pages/Monitor/MonitorList.vue create mode 100644 src/pages/Monitor/MonitorTickets.vue diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml index 7d3682525..d468d3bdb 100644 --- a/src/i18n/locale/en.yml +++ b/src/i18n/locale/en.yml @@ -254,6 +254,8 @@ globals: twoFactor: Two factor recoverPassword: Recover password resetPassword: Reset password + ticketsMonitor: Tickets monitor + clientsActionsMonitor: Clients and actions created: Created worker: Worker now: Now diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml index 8157f1803..d471c8ecc 100644 --- a/src/i18n/locale/es.yml +++ b/src/i18n/locale/es.yml @@ -256,6 +256,8 @@ globals: twoFactor: Doble factor recoverPassword: Recuperar contraseña resetPassword: Restablecer contraseña + ticketsMonitor: Monitor de tickets + clientsActionsMonitor: Clientes y acciones created: Fecha creación worker: Trabajador now: Ahora diff --git a/src/pages/Monitor/MonitorClientsActions.vue b/src/pages/Monitor/MonitorClientsActions.vue new file mode 100644 index 000000000..9d0cf05fb --- /dev/null +++ b/src/pages/Monitor/MonitorClientsActions.vue @@ -0,0 +1,47 @@ + + + + diff --git a/src/pages/Monitor/MonitorList.vue b/src/pages/Monitor/MonitorList.vue deleted file mode 100644 index 4906247e8..000000000 --- a/src/pages/Monitor/MonitorList.vue +++ /dev/null @@ -1,90 +0,0 @@ - - - - - diff --git a/src/pages/Monitor/MonitorTickets.vue b/src/pages/Monitor/MonitorTickets.vue new file mode 100644 index 000000000..57ba00e57 --- /dev/null +++ b/src/pages/Monitor/MonitorTickets.vue @@ -0,0 +1,27 @@ + + diff --git a/src/pages/Monitor/SalesOrdersTable.vue b/src/pages/Monitor/SalesOrdersTable.vue index 496d5134c..dc723e541 100644 --- a/src/pages/Monitor/SalesOrdersTable.vue +++ b/src/pages/Monitor/SalesOrdersTable.vue @@ -27,13 +27,21 @@ function exprBuilder(param, value) { const columns = computed(() => [ { - label: t('salesOrdersTable.date'), - name: 'date', - field: 'dated', + label: t('salesOrdersTable.dateSend'), + name: 'dateSend', + field: 'dateSend', align: 'left', orderBy: 'date_send', columnFilter: false, }, + { + label: t('salesOrdersTable.dateMake'), + name: 'dateMake', + field: 'dateMake', + align: 'left', + orderBy: 'date_make', + columnFilter: false, + }, { label: t('salesOrdersTable.client'), name: 'clientFk', @@ -144,7 +152,7 @@ const openTab = (id) => {{ t('salesOrdersTable.delete') }} -