From 9f3fe3665b0250daf6eb1fad151bf85111e498f3 Mon Sep 17 00:00:00 2001 From: carlosfonseca Date: Mon, 4 Dec 2023 12:02:47 -0500 Subject: [PATCH] Se cambia visualmente el componente que controla las descargas --- src/components/ui/CardList.vue | 2 +- src/pages/InvoiceOut/InvoiceOutList.vue | 244 +++++++++++++----------- 2 files changed, 131 insertions(+), 115 deletions(-) diff --git a/src/components/ui/CardList.vue b/src/components/ui/CardList.vue index ae74fbd7e..f94d670c4 100644 --- a/src/components/ui/CardList.vue +++ b/src/components/ui/CardList.vue @@ -28,7 +28,7 @@ const selectedItem = (item) => {
-
+
{{ $props.title }}
diff --git a/src/pages/InvoiceOut/InvoiceOutList.vue b/src/pages/InvoiceOut/InvoiceOutList.vue index b309a9674..95279b09d 100644 --- a/src/pages/InvoiceOut/InvoiceOutList.vue +++ b/src/pages/InvoiceOut/InvoiceOutList.vue @@ -45,6 +45,8 @@ const setManageCheckboxes = (downloadType) => { }; const addElement = (element) => { + showSelect.value = false; + manageCheckboxes.value = false; if (arrayElements.value.length >= 0) { const index = arrayElements.value.findIndex((item) => item.id === element.id); if (index >= 0) { @@ -124,119 +126,130 @@ const downloadCsv = (rows) => { - -
- - + @@ -245,10 +258,6 @@ const downloadCsv = (rows) => { width: 100%; max-width: 60em; } - -.dark_icon { - color: #121212; -} @@ -257,10 +266,17 @@ en: fileDenied: Browser denied file download... fileAllowed: Successful download of CSV file youCanSearchByInvoiceReference: You can search by invoice reference - + download: Download + selectRows: Select all { numberRows } row(s) + allRows: All { numberRows } row(s) + markAll: Mark all es: searchInvoice: Buscar factura emitida fileDenied: El navegador denegó la descarga de archivos... fileAllowed: Descarga exitosa de archivo CSV youCanSearchByInvoiceReference: Puedes buscar por referencia de la factura + download: Descargar + selectRows: Seleccionar las { numberRows } filas(s) + allRows: Todo { numberRows } filas(s) + markAll: Marcar todo