From d86ac6f31bbe2a91e34ea5b23911d626ba201cdc Mon Sep 17 00:00:00 2001 From: jorgep Date: Fri, 26 Jan 2024 16:08:49 +0100 Subject: [PATCH 1/3] feat: refs #6654 sticky class --- src/components/ui/VnSubToolbar.vue | 20 +++++++++++++++---- .../Customer/Defaulter/CustomerDefaulter.vue | 12 +++++------ .../ExtendedList/CustomerExtendedList.vue | 12 +++++------ src/pages/InvoiceOut/InvoiceOutList.vue | 9 +++++---- src/pages/Travel/ExtraCommunity.vue | 11 +++++----- 5 files changed, 36 insertions(+), 28 deletions(-) diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index 81a1820f1..7f30c9921 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -1,6 +1,7 @@ + diff --git a/src/pages/Customer/Defaulter/CustomerDefaulter.vue b/src/pages/Customer/Defaulter/CustomerDefaulter.vue index d54d5df35..3ab1cfa66 100644 --- a/src/pages/Customer/Defaulter/CustomerDefaulter.vue +++ b/src/pages/Customer/Defaulter/CustomerDefaulter.vue @@ -12,6 +12,7 @@ import CustomerNotificationsFilter from './CustomerDefaulterFilter.vue'; import CustomerBalanceDueTotal from './CustomerBalanceDueTotal.vue'; import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; +import VnSubToolbar from 'src/components/ui/VnSubToolbar.vue'; const { t } = useI18n(); const stateStore = useStateStore(); @@ -188,14 +189,11 @@ const selectWorkerId = (id) => { - - -
+ + + { /> - - -
+ + + { url="InvoiceOuts/filter" > - -
- -
+ + + From 0edfe24a8588b982136c4c66c09b880b66c80270 Mon Sep 17 00:00:00 2001 From: jorgep Date: Mon, 29 Jan 2024 10:25:59 +0100 Subject: [PATCH 2/3] fix: refs #6654 fix css --- src/components/ui/VnSubToolbar.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index 7f30c9921..ba5705122 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -24,10 +24,15 @@ onUnmounted(() => { - From 66e119adc3e49a8f8f4a7c7f450514290cbdda8b Mon Sep 17 00:00:00 2001 From: jorgep Date: Tue, 30 Jan 2024 10:30:07 +0100 Subject: [PATCH 3/3] fix: refs #6654 btn responsive & replace toolbars --- src/components/ui/CardDescriptor.vue | 2 - src/components/ui/VnSubToolbar.vue | 4 +- src/composables/tMobile.js | 2 +- src/pages/Claim/Card/ClaimCard.vue | 14 ---- src/pages/Claim/Card/ClaimLines.vue | 35 ++++----- src/pages/Route/RouteList.vue | 9 ++- .../Supplier/Card/SupplierConsumption.vue | 73 +++++++++---------- 7 files changed, 58 insertions(+), 81 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 9571c742e..f33b33717 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -49,7 +49,6 @@ onMounted(async () => { () => $props.url, async (newUrl, lastUrl) => { if (newUrl == lastUrl) return; - entity.value = null; await getData(); } ); @@ -62,7 +61,6 @@ async function getData() { skip: 0, }); const { data } = await arrayData.fetch({ append: false, updateRouter: false }); - entity.value = data; emit('onFetch', data); } const emit = defineEmits(['onFetch']); diff --git a/src/components/ui/VnSubToolbar.vue b/src/components/ui/VnSubToolbar.vue index ba5705122..1a6549856 100644 --- a/src/components/ui/VnSubToolbar.vue +++ b/src/components/ui/VnSubToolbar.vue @@ -27,10 +27,10 @@ onUnmounted(() => {