0
0
Fork 0

refs #6898 filters

This commit is contained in:
Carlos Satorres 2024-07-26 11:25:44 +02:00
parent 1923e83210
commit d575c3cdae
2 changed files with 1 additions and 8 deletions

View File

@ -17,7 +17,7 @@ const workersOptions = ref([]);
<template> <template>
<FetchData <FetchData
url="Workers/search" url="Workers/search"
:filter="{ fields: ['id', 'nickname'], order: 'nickname ASC', limit: 30 }" :filter="{ fields: ['id', 'nickname'], order: 'nickname ASC' }"
@on-fetch="(data) => (workersOptions = data)" @on-fetch="(data) => (workersOptions = data)"
auto-load auto-load
/> />

View File

@ -80,11 +80,6 @@ const columns = computed(() => [
<template> <template>
<VnSearchbar data-key="SuppliersList" :limit="20" :label="t('Search suppliers')" /> <VnSearchbar data-key="SuppliersList" :limit="20" :label="t('Search suppliers')" />
<RightMenu>
<template #right-panel>
<SupplierListFilter data-key="SuppliersList" />
</template>
</RightMenu>
<VnTable <VnTable
ref="tableRef" ref="tableRef"
data-key="SuppliersList" data-key="SuppliersList"
@ -100,8 +95,6 @@ const columns = computed(() => [
order="id ASC" order="id ASC"
:columns="columns" :columns="columns"
auto-load auto-load
:right-search="false"
:use-model="true"
/> />
</template> </template>