0
0
Fork 0

refs #6321 perf change response object

This commit is contained in:
Javier Segarra 2024-04-02 09:44:09 +02:00
parent 48f88b5871
commit f56934fcc4
5 changed files with 16 additions and 8 deletions

View File

@ -69,7 +69,7 @@ export default {
requiredField: 'Required field',
class: 'clase',
type: 'Type',
reason: 'reason',
reason: 'Reason',
noResults: 'No results',
results: 'Results',
system: 'System',

View File

@ -69,7 +69,7 @@ export default {
requiredField: 'Campo obligatorio',
class: 'clase',
type: 'Tipo',
reason: 'motivo',
reason: 'Motivo',
noResults: 'Sin resultados',
system: 'Sistema',
results: 'resultados',

View File

@ -260,7 +260,7 @@ defineExpose({ split });
function getIcon(key, prop) {
const ticket = resultSplit.value.find((val) => val.ticketFk === key);
if (!ticket) return;
const { message } = ticket;
const { status } = ticket;
const icons = {
split: {
name: 'check_circle',
@ -271,7 +271,7 @@ function getIcon(key, prop) {
color: 'primary',
},
};
return icons[message][prop];
return icons[status][prop];
}
</script>

View File

@ -68,7 +68,7 @@ const agencies = ref();
<QItem>
<QItemSection>
<VnInput
v-model="params.inkFk"
v-model="params.color"
:label="t('ticket.negative.colour')"
is-outlined
/>
@ -95,7 +95,7 @@ const agencies = ref();
<QItem>
<QItemSection>
<VnInput
v-model="params.value"
v-model="params.lack"
:label="t('ticket.negative.value')"
is-outlined
/>

View File

@ -94,7 +94,8 @@ const columns = computed(() => [
<QPage class="column items-center">
<VnSubToolbar class="bg-vn-dark justify-end">
<template #st-actions>
<div class="flex items-center q-ml-lg">
<!-- <div class="flex items-center q-ml-lg" style="column-gap: 1px"> -->
<QBtnGroup push style="column-gap: 1px">
<QBtn
color="primary"
:disable="!selectedRows?.length"
@ -110,7 +111,8 @@ const columns = computed(() => [
>
<QTooltip>{{ t('ticket.negative.totalNegative') }}</QTooltip>
</QBtn>
</div>
</QBtnGroup>
<!-- </div> -->
</template>
</VnSubToolbar>
<div class="list">
@ -232,4 +234,10 @@ const columns = computed(() => [
div.q-dialog__inner > div {
max-width: fit-content !important;
}
.q-btn-group > .q-btn-item:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
// border-top-right-radius: 0;
// border-bottom-right-radius: 0;
}
</style>