ref 5987 cardLists actions click propagation fixed
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Jorge Penadés 2023-08-17 13:38:21 +02:00
parent e8775a9585
commit 59f2f1a414
7 changed files with 14 additions and 14 deletions

View File

@ -112,18 +112,18 @@ function viewSummary(id) {
<QBtn
flat
icon="arrow_circle_right"
@click="navigate(row.id)"
@click.stop="navigate(row.id)"
>
<QTooltip>
{{ t('components.smartCard.openCard') }}
</QTooltip>
</QBtn>
<QBtn flat icon="preview" @click="viewSummary(row.id)">
<QBtn flat icon="preview" @click.stop="viewSummary(row.id)">
<QTooltip>
{{ t('components.smartCard.openSummary') }}
</QTooltip>
</QBtn>
<QBtn flat icon="vn:client">
<QBtn flat icon="vn:client" @click.stop>
<QTooltip>
{{ t('components.smartCard.viewDescription') }}
</QTooltip>

View File

@ -84,7 +84,7 @@ function viewSummary(id) {
flat
color="primary"
icon="arrow_circle_right"
@click="navigate(row.id)"
@click.stop="navigate(row.id)"
>
<QTooltip>
{{ t('components.smartCard.openCard') }}
@ -94,7 +94,7 @@ function viewSummary(id) {
flat
color="grey-7"
icon="preview"
@click="viewSummary(row.id)"
@click.stop="viewSummary(row.id)"
>
<QTooltip>
{{ t('components.smartCard.openSummary') }}

View File

@ -143,7 +143,7 @@ const ticketsColumns = ref([
<div class="header">
{{ t('invoiceOut.summary.tickets') }}
</div>
<QTable :columns="ticketsColumns" :rows="tickets" flat>
<QTable v-if="tickets" :columns="ticketsColumns" :rows="tickets" flat>
<template #header="props">
<QTr :props="props">
<QTh v-for="col in props.cols" :key="col.name" :props="props">

View File

@ -113,13 +113,13 @@ function viewSummary(id) {
<QBtn
flat
icon="arrow_circle_right"
@click="navigate(row.id)"
@click.stop="navigate(row.id)"
>
<QTooltip>
{{ t('components.smartCard.openCard') }}
</QTooltip>
</QBtn>
<QBtn flat icon="preview" @click="viewSummary(row.id)">
<QBtn flat icon="preview" @click.stop="viewSummary(row.id)">
<QTooltip>
{{ t('components.smartCard.openSummary') }}
</QTooltip>

View File

@ -105,10 +105,10 @@ const setData = (entity) =>
<VnLv :label="t('ticket.summary.salesPerson')">
<template #value>
<span class="link">
{{ ticket.client?.salesPersonUser?.name }}
{{ entity.client.salesPersonUser.name }}
<WorkerDescriptorProxy
:id="ticket.client.salesPersonFk"
v-if="ticket.client.salesPersonFk"
:id="entity.client.salesPersonFk"
v-if="entity.client.salesPersonFk"
/>
</span>
</template>

View File

@ -120,7 +120,7 @@ function viewSummary(id) {
/>
</template>
<template #actions>
<QBtn flat icon="preview" @click="viewSummary(row.id)">
<QBtn flat icon="preview" @click.stop="viewSummary(row.id)">
<QTooltip>
{{ t('components.smartCard.openSummary') }}
</QTooltip>

View File

@ -87,13 +87,13 @@ function viewSummary(id) {
<QBtn
flat
icon="arrow_circle_right"
@click="navigate(row.id)"
@click.stop="navigate(row.id)"
>
<QTooltip>
{{ t('components.smartCard.openCard') }}
</QTooltip>
</QBtn>
<QBtn flat icon="preview" @click="viewSummary(row.id)">
<QBtn flat icon="preview" @click.stop="viewSummary(row.id)">
<QTooltip>
{{ t('components.smartCard.openSummary') }}
</QTooltip>