diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 241937a4e..345c8d088 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -188,16 +188,18 @@ const emit = defineEmits(['onFetch']); .label { color: var(--vn-label); font-size: 12px; - width: 47%; + ::after { + content: ':'; + } } .value { color: var(--vn-text); font-size: 14px; margin-left: 12px; - width: 47%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + text-align: left; } .info { margin-left: 5px; diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index cdc1f15be..b93cbbd81 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -35,7 +35,6 @@ const claimDmsFilter = ref({ relation: 'dms', }, ], - where: { claimFk: entityId.value }, }); onMounted(async () => { @@ -141,6 +140,11 @@ const claimDms = ref([]); const multimediaDialog = ref(); const multimediaSlide = ref(); +async function getClaimDms() { + claimDmsFilter.value.where = { claimFk: entityId.value }; + await claimDmsRef.value.fetch(); +} + function setClaimDms(data) { claimDms.value = []; data.forEach((media) => { @@ -163,10 +167,13 @@ function openDialog(dmsId) { url="ClaimDms" :filter="claimDmsFilter" @on-fetch="(data) => setClaimDms(data)" - limit="20" ref="claimDmsRef" /> - + @@ -252,7 +259,8 @@ function openDialog(dmsId) { > @@ -274,7 +282,6 @@ function openDialog(dmsId) { - {{ t('claim.summary.photos') }} diff --git a/src/pages/Item/Card/ItemDescriptor.vue b/src/pages/Item/Card/ItemDescriptor.vue index 362fcfc67..8c986e627 100644 --- a/src/pages/Item/Card/ItemDescriptor.vue +++ b/src/pages/Item/Card/ItemDescriptor.vue @@ -1,5 +1,5 @@ @@ -21,6 +25,7 @@ const $props = defineProps({ :id="$props.id" :summary="ItemSummary" :dated="dated" + :sale-fk="saleFk" />