fix: filters CustomerNotification
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Javier Segarra 2025-05-02 14:47:30 +02:00
parent 7a2a5fd22d
commit 3747e33d5f
1 changed files with 5 additions and 1 deletions

View File

@ -26,6 +26,7 @@ const columns = computed(() => [
url: 'Clients', url: 'Clients',
fields: ['id', 'socialName'], fields: ['id', 'socialName'],
optionLabel: 'socialName', optionLabel: 'socialName',
optionValue: 'socialName',
}, },
}, },
columnClass: 'expand', columnClass: 'expand',
@ -37,8 +38,11 @@ const columns = computed(() => [
name: 'city', name: 'city',
columnFilter: { columnFilter: {
component: 'select', component: 'select',
inWhere: true,
attrs: { attrs: {
url: 'Towns', url: 'Towns',
optionValue: 'name',
optionLabel: 'name',
}, },
}, },
cardVisible: true, cardVisible: true,
@ -95,7 +99,7 @@ const columns = computed(() => [
</VnSubToolbar> </VnSubToolbar>
<VnTable <VnTable
:data-key="dataKey" :data-key="dataKey"
url="Clients/filter" url="Clients/extendedListFilter"
:table="{ :table="{
'row-key': 'id', 'row-key': 'id',
selection: 'multiple', selection: 'multiple',