From c4db8f781890c4f6ad1b7301d10f546708048b90 Mon Sep 17 00:00:00 2001 From: Jtubau Date: Mon, 16 Dec 2024 08:41:28 +0100 Subject: [PATCH 1/3] feat: refs #8293 include zone data in each record --- src/pages/Claim/ClaimList.vue | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index d561a69f7..f02bdf083 100644 --- a/src/pages/Claim/ClaimList.vue +++ b/src/pages/Claim/ClaimList.vue @@ -10,6 +10,7 @@ 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'; const { t } = useI18n(); const { viewSummary } = useSummaryDialog(); @@ -95,7 +96,12 @@ const columns = computed(() => [ optionLabel: 'description', }, }, - orderBy: 'priority', + orderBy: 'cs.priority', + }, + { + align: 'left', + label: t('claim.zone'), + name: 'zoneFk' }, { align: 'right', @@ -131,7 +137,7 @@ const STATE_COLOR = { + -- 2.40.1 From dadf3206e0dc12b4f14abed77cc52658e9629ae8 Mon Sep 17 00:00:00 2001 From: Jtubau Date: Mon, 16 Dec 2024 08:42:37 +0100 Subject: [PATCH 2/3] feat: refs #8293 add zone filter --- src/pages/Claim/ClaimFilter.vue | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/pages/Claim/ClaimFilter.vue b/src/pages/Claim/ClaimFilter.vue index f7e2ffbf6..c846cbbf9 100644 --- a/src/pages/Claim/ClaimFilter.vue +++ b/src/pages/Claim/ClaimFilter.vue @@ -129,6 +129,18 @@ defineExpose({ states }); outlined rounded /> + Date: Wed, 18 Dec 2024 07:59:56 +0100 Subject: [PATCH 3/3] refactor: refs #8293 remove redundant attributes --- src/pages/Claim/ClaimFilter.vue | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) diff --git a/src/pages/Claim/ClaimFilter.vue b/src/pages/Claim/ClaimFilter.vue index c846cbbf9..c28e95cb8 100644 --- a/src/pages/Claim/ClaimFilter.vue +++ b/src/pages/Claim/ClaimFilter.vue @@ -30,7 +30,7 @@ defineExpose({ states }); {{ formatFn(tag.value) }} -