From a9a09ad0a3aa9f81639a98c88680308fc1ec542c Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 27 Dec 2024 13:58:35 +0100 Subject: [PATCH 01/13] refactor: refs #8316 used VnSection and VnCardBeta --- src/pages/Entry/Card/EntryCard.vue | 14 +- src/pages/Entry/EntryList.vue | 122 ++++++++--------- src/pages/Entry/locale/en.yml | 3 + src/pages/Entry/locale/es.yml | 6 +- src/router/modules/entry.js | 201 ++++++++++++++++------------- 5 files changed, 179 insertions(+), 167 deletions(-) diff --git a/src/pages/Entry/Card/EntryCard.vue b/src/pages/Entry/Card/EntryCard.vue index 3f2596338..6d743926e 100644 --- a/src/pages/Entry/Card/EntryCard.vue +++ b/src/pages/Entry/Card/EntryCard.vue @@ -1,21 +1,11 @@ diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 84ead85ad..6e7e9fc82 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -2,19 +2,19 @@ import { onMounted, ref, computed } from 'vue'; import { useI18n } from 'vue-i18n'; import EntryFilter from './EntryFilter.vue'; -import VnSearchbar from 'src/components/ui/VnSearchbar.vue'; import { useStateStore } from 'stores/useStateStore'; import VnTable from 'components/VnTable/VnTable.vue'; -import RightMenu from 'src/components/common/RightMenu.vue'; import { toDate } from 'src/filters'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; import EntrySummary from './Card/EntrySummary.vue'; import SupplierDescriptorProxy from 'src/pages/Supplier/Card/SupplierDescriptorProxy.vue'; import TravelDescriptorProxy from 'src/pages/Travel/Card/TravelDescriptorProxy.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const stateStore = useStateStore(); const { t } = useI18n(); const tableRef = ref(); +const dataKey = 'EntryList'; const { viewSummary } = useSummaryDialog(); const entryFilter = { @@ -180,67 +180,71 @@ const columns = computed(() => [ }, ]); + diff --git a/src/pages/Entry/EntryList.vue b/src/pages/Entry/EntryList.vue index 572a5908b..edd3ae942 100644 --- a/src/pages/Entry/EntryList.vue +++ b/src/pages/Entry/EntryList.vue @@ -188,7 +188,6 @@ const columns = computed(() => [ :array-data-props="{ url: 'Entries/filter', order: 'id DESC', - exprBuilder, }" >