From f751408de2bfc1e34e6294f294de7365dd699a07 Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 22 Oct 2024 13:22:43 +0200 Subject: [PATCH 1/4] feat: refs #8083 add change state btn --- src/components/VnTable/VnTable.vue | 3 + src/components/common/VnBtnSelect.vue | 19 + src/i18n/locale/en.yml | 2 +- src/i18n/locale/es.yml | 2 +- src/pages/Claim/Card/ClaimSummary.vue | 2 +- src/pages/Ticket/Card/TicketExpedition.vue | 338 +++++++----------- src/pages/Ticket/Card/TicketSummary.vue | 2 +- .../ticket/ticketExpedition.spec.js | 28 ++ test/cypress/support/commands.js | 8 + 9 files changed, 190 insertions(+), 214 deletions(-) create mode 100644 src/components/common/VnBtnSelect.vue create mode 100644 test/cypress/integration/ticket/ticketExpedition.spec.js diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index f18892a31..9d64591e9 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -127,6 +127,7 @@ const splittedColumns = ref({ columns: [] }); const columnsVisibilitySkipped = ref(); const createForm = ref(); const tableFilterRef = ref([]); +const tableRef = ref(); const tableModes = [ { @@ -308,6 +309,7 @@ defineExpose({ selected, CrudModelRef, params, + tableRef, }); function handleOnDataSaved(_) { @@ -398,6 +400,7 @@ function handleOnDataSaved(_) {