fix: customer vnLinkPhone

This commit is contained in:
Javier Segarra 2025-03-31 15:15:17 +02:00
parent 0208debdbe
commit dd739b1165
1 changed files with 17 additions and 16 deletions

View File

@ -84,27 +84,28 @@ const sumRisk = ({ clientRisks }) => {
<VnLv :label="t('customer.summary.customerId')" :value="entity.id" /> <VnLv :label="t('customer.summary.customerId')" :value="entity.id" />
<VnLv :label="t('globals.name')" :value="entity.name" /> <VnLv :label="t('globals.name')" :value="entity.name" />
<VnLv :label="t('customer.summary.contact')" :value="entity.contact" /> <VnLv :label="t('customer.summary.contact')" :value="entity.contact" />
<VnLv :value="entity.phone"> <VnLv :label="t('customer.extendedList.tableVisibleColumns.phone')">
<template #label> <template #value>
{{ t('customer.extendedList.tableVisibleColumns.phone') }}
<VnLinkPhone :phone-number="entity.phone" /> <VnLinkPhone :phone-number="entity.phone" />
</template> </template>
</VnLv> </VnLv>
<VnLv :value="entity.mobile"> <VnLv :label="t('customer.summary.mobile')">
<template #label> <template #value>
{{ t('customer.summary.mobile') }} <div class="col">
<VnLinkPhone :phone-number="entity.mobile" /> <VnLinkPhone :phone-number="entity.mobile" />
<VnLinkPhone </div>
say-simple <div class="col">
:phone-number="entity.mobile" <VnLinkPhone
:channel="entity.country?.saySimpleCountry?.channel" say-simple
class="q-ml-xs" :phone-number="entity.mobile"
/> :channel="entity.country?.saySimpleCountry?.channel"
class="q-ml-xs"
/>
</div>
</template> </template>
</VnLv> </VnLv>
<VnLv :value="entity.email" copy <VnLv :label="t('globals.params.email')"
><template #label> ><template #value>
{{ t('globals.params.email') }}
<VnLinkMail email="entity.email"></VnLinkMail> </template <VnLinkMail email="entity.email"></VnLinkMail> </template
></VnLv> ></VnLv>
<VnLv :label="t('globals.department')"> <VnLv :label="t('globals.department')">