refs #5986 WorkerDescriptorProxy added
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-08-09 12:16:08 +02:00
parent 7940d1702b
commit 32ca81ebad
3 changed files with 22 additions and 7 deletions

View File

@ -124,7 +124,7 @@ watch($props, async () => {
</div>
</QItemLabel>
<QItem dense>
<QItemLabel class="text-subtitle2 text-white" caption>
<QItemLabel class="subtitle text-white" caption>
#{{ $props.subtitle ?? entity.id }}
</QItemLabel>
</QItem>
@ -189,6 +189,9 @@ watch($props, async () => {
font-weight: bold;
}
}
.subtitle {
font-size: 16px;
}
.list-box {
width: 90%;
background-color: rgba(87, 86, 86, 0.2);

View File

@ -270,7 +270,7 @@ export default {
claimedTicket: 'Ticket reclamado',
commercial: 'Comercial',
province: 'Provincia',
zone: 'Zone',
zone: 'Zona',
},
summary: {
customer: 'Cliente',

View File

@ -4,6 +4,7 @@ import { useRoute } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { toDate } from 'src/filters';
import TicketDescriptorProxy from 'pages/Ticket/Card/TicketDescriptorProxy.vue';
import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue';
import ClaimDescriptorMenu from 'pages/Claim/Card/ClaimDescriptorMenu.vue';
import CardDescriptor from 'components/ui/CardDescriptor.vue';
import VnLv from 'src/components/ui/VnLv.vue';
@ -105,11 +106,22 @@ const setData = (entity) => {
v-if="entity.worker"
:label="t('claim.card.assignedTo')"
:value="entity.worker.user.name"
/>
<VnLv
:label="t('claim.card.commercial')"
:value="entity.client.salesPersonUser.name"
/>
>
<template #value>
<span class="link">
{{ entity.worker.user.name }}
<WorkerDescriptorProxy :id="entity.worker.userFk" />
</span>
</template>
</VnLv>
<VnLv :label="t('claim.card.commercial')">
<template #value>
<span class="link">
{{ entity.client.salesPersonUser.name }}
<WorkerDescriptorProxy :id="entity.client.salesPersonFk" />
</span>
</template>
</VnLv>
<VnLv
:label="t('claim.card.province')"
:value="entity.ticket.address.province.name"