refactor: refs #8721 swap 'client' and 'street' columns
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jose Antonio Tubau 2025-03-18 10:15:18 +01:00
parent 9014c148c5
commit acbe0730bb
1 changed files with 9 additions and 9 deletions

View File

@ -30,16 +30,16 @@ const columns = computed(() => [
align: 'center',
},
{
name: 'street',
label: t('Street'),
field: (row) => row?.street,
name: 'client',
label: t('Client'),
field: (row) => row?.nickname,
sortable: false,
align: 'left',
},
{
name: 'client',
label: t('Client'),
field: (row) => row?.nickname,
name: 'street',
label: t('Street'),
field: (row) => row?.street,
sortable: false,
align: 'left',
},
@ -319,7 +319,7 @@ const openSmsDialog = async () => {
selection="multiple"
>
<template #body-cell-order="{ row }">
<QTd class="order-field">
<QTd class="order-field" auto-width>
<div class="flex no-wrap items-center">
<QIcon
name="low_priority"
@ -341,7 +341,7 @@ const openSmsDialog = async () => {
</QTd>
</template>
<template #body-cell-city="{ value, row }">
<QTd auto-width>
<QTd>
<span class="link" @click="goToBuscaman(row)">
{{ value }}
<QTooltip>{{ t('Open buscaman') }}</QTooltip>
@ -349,7 +349,7 @@ const openSmsDialog = async () => {
</QTd>
</template>
<template #body-cell-client="{ value, row }">
<QTd auto-width>
<QTd>
<span class="link">
{{ value }}
<CustomerDescriptorProxy :id="row?.clientFk" />