From 321b8dd9f911c2a15c4753f47ebdb7154bb7ee6d Mon Sep 17 00:00:00 2001 From: pablone Date: Fri, 11 Oct 2024 11:01:58 +0200 Subject: [PATCH] fix: refs #8004 some style issues on all list --- src/components/NavBar.vue | 21 +---------------- src/components/VnTable/VnTable.vue | 19 ++-------------- src/components/common/RightMenu.vue | 16 +++++++++++-- src/components/common/VnInputDate.vue | 19 ++-------------- src/components/common/VnInputTime.vue | 8 +------ src/composables/isMobile.js | 3 +++ src/css/app.scss | 8 ++++++- src/i18n/locale/en.yml | 2 +- src/i18n/locale/es.yml | 2 +- src/pages/Claim/ClaimList.vue | 2 +- src/pages/Customer/CustomerList.vue | 1 - src/pages/Entry/EntryList.vue | 4 ---- src/pages/InvoiceIn/InvoiceInList.vue | 16 +++++++------ src/pages/InvoiceOut/InvoiceOutList.vue | 7 +----- src/pages/Item/ItemList.vue | 2 +- src/pages/Route/RouteExtendedList.vue | 24 -------------------- src/pages/Route/RouteList.vue | 2 +- src/pages/Shelving/ShelvingList.vue | 6 ----- src/pages/Supplier/Card/SupplierAccounts.vue | 1 + src/pages/Supplier/SupplierList.vue | 9 ++++++-- src/pages/Ticket/TicketList.vue | 5 +++- src/pages/Travel/Card/TravelCard.vue | 1 + src/pages/Travel/TravelFilter.vue | 2 +- src/pages/Travel/TravelList.vue | 19 +++++----------- src/pages/Wagon/WagonList.vue | 1 - src/pages/Worker/WorkerList.vue | 1 + src/pages/Zone/ZoneList.vue | 7 +----- src/router/modules/shelving.js | 2 +- src/router/modules/wagon.js | 2 +- src/router/modules/zone.js | 2 +- 30 files changed, 70 insertions(+), 144 deletions(-) create mode 100644 src/composables/isMobile.js diff --git a/src/components/NavBar.vue b/src/components/NavBar.vue index 00faaebc2..5497862c7 100644 --- a/src/components/NavBar.vue +++ b/src/components/NavBar.vue @@ -15,12 +15,10 @@ const quasar = useQuasar(); const state = useState(); const user = state.getUser(); const appName = 'Lilium'; +const pinnedModulesRef = ref(); onMounted(() => stateStore.setMounted()); - -const pinnedModulesRef = ref(); - - - -en: - Go to Salix: Go to Salix -es: - Go to Salix: Ir a Salix - diff --git a/src/components/VnTable/VnTable.vue b/src/components/VnTable/VnTable.vue index 5a30f4d53..7d45fcfec 100644 --- a/src/components/VnTable/VnTable.vue +++ b/src/components/VnTable/VnTable.vue @@ -453,7 +453,7 @@ function handleOnDataSaved(_) { - es: Open date: Abrir fecha diff --git a/src/components/common/VnInputTime.vue b/src/components/common/VnInputTime.vue index a5e7d3002..d8150fd58 100644 --- a/src/components/common/VnInputTime.vue +++ b/src/components/common/VnInputTime.vue @@ -79,7 +79,7 @@ function dateToTime(newDate) { :class="{ required: $attrs.required }" style="min-width: 100px" :rules="mixinRules" - @click="isPopupOpen = false" + @click="isPopupOpen = !isPopupOpen" type="time" hide-bottom-space > @@ -99,12 +99,6 @@ function dateToTime(newDate) { isPopupOpen = false; " /> - [ title: t('components.smartCard.viewSummary'), icon: 'preview', action: (row) => viewSummary(row.id, ClaimSummary), + isPrimary: true, }, ], }, @@ -134,7 +135,6 @@ const STATE_COLOR = { :columns="columns" redirect="claim" :right-search="false" - auto-load >