From 0bd07d197ce877b9a3186b9655f7cabe8998867f Mon Sep 17 00:00:00 2001 From: jtubau Date: Fri, 27 Dec 2024 13:39:45 +0100 Subject: [PATCH 01/14] refactor: refs #8316 used VnSection and VnCardBeta --- src/pages/Claim/Card/ClaimCard.vue | 21 +-- src/pages/Claim/ClaimList.vue | 77 +++++----- src/pages/Claim/locale/en.yml | 2 + src/pages/Claim/locale/es.yml | 4 +- src/router/modules/claim.js | 223 +++++++++++++++-------------- 5 files changed, 165 insertions(+), 162 deletions(-) diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index 3642dc0d0..b11f962ac 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -1,21 +1,10 @@ diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index bb97162d8..17a6c136c 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -2,18 +2,18 @@ import { ref, computed } from 'vue'; import { useI18n } from 'vue-i18n'; import { toDate } from 'filters/index'; -import VnSearchbar from 'components/ui/VnSearchbar.vue'; import ClaimFilter from './ClaimFilter.vue'; import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import ClaimSummary from './Card/ClaimSummary.vue'; import { useSummaryDialog } from 'src/composables/useSummaryDialog'; -import RightMenu from 'src/components/common/RightMenu.vue'; import VnTable from 'src/components/VnTable/VnTable.vue'; import ZoneDescriptorProxy from '../Zone/Card/ZoneDescriptorProxy.vue'; +import VnSection from 'src/components/common/VnSection.vue'; const { t } = useI18n(); const { viewSummary } = useSummaryDialog(); +const dataKey = 'ClaimList'; const claimFilterRef = ref(); const columns = computed(() => [ @@ -125,51 +125,54 @@ const STATE_COLOR = {