From 32ca81ebade0f0d88c90dbbc449cf465a82b53cb Mon Sep 17 00:00:00 2001 From: jorgep Date: Wed, 9 Aug 2023 12:16:08 +0200 Subject: [PATCH] refs #5986 WorkerDescriptorProxy added --- src/components/ui/CardDescriptor.vue | 5 ++++- src/i18n/es/index.js | 2 +- src/pages/Claim/Card/ClaimDescriptor.vue | 22 +++++++++++++++++----- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/src/components/ui/CardDescriptor.vue b/src/components/ui/CardDescriptor.vue index 70109c15d..025a8a2e2 100644 --- a/src/components/ui/CardDescriptor.vue +++ b/src/components/ui/CardDescriptor.vue @@ -124,7 +124,7 @@ watch($props, async () => { - + #{{ $props.subtitle ?? entity.id }} @@ -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); diff --git a/src/i18n/es/index.js b/src/i18n/es/index.js index 012c18136..ff2955fba 100644 --- a/src/i18n/es/index.js +++ b/src/i18n/es/index.js @@ -270,7 +270,7 @@ export default { claimedTicket: 'Ticket reclamado', commercial: 'Comercial', province: 'Provincia', - zone: 'Zone', + zone: 'Zona', }, summary: { customer: 'Cliente', diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue index bdb4cd557..e52f3fba5 100644 --- a/src/pages/Claim/Card/ClaimDescriptor.vue +++ b/src/pages/Claim/Card/ClaimDescriptor.vue @@ -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" - /> - + > + + + + +