diff --git a/src/components/FormModel.vue b/src/components/FormModel.vue index ea1ea53f2..2e580257c 100644 --- a/src/components/FormModel.vue +++ b/src/components/FormModel.vue @@ -198,6 +198,7 @@ async function fetch() { } catch (e) { state.set(modelValue, {}); originalData.value = {}; + throw e; } } diff --git a/src/pages/Claim/Card/ClaimCard.vue b/src/pages/Claim/Card/ClaimCard.vue index 3642dc0d0..e1e000815 100644 --- a/src/pages/Claim/Card/ClaimCard.vue +++ b/src/pages/Claim/Card/ClaimCard.vue @@ -1,21 +1,13 @@ diff --git a/src/pages/Claim/ClaimList.vue b/src/pages/Claim/ClaimList.vue index bb97162d8..35b051cdc 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,48 +125,50 @@ const STATE_COLOR = {