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

View File

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

View File

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