hotFix: myEntries
gitea/salix-front/pipeline/head This commit looks good Details

This commit is contained in:
Alex Moreno 2024-07-24 19:55:13 +02:00
parent beaddf0199
commit ae5ec1328b
1 changed files with 21 additions and 26 deletions

View File

@ -65,7 +65,6 @@ const columns = computed(() => [
{ {
align: 'right', align: 'right',
name: 'tableActions', name: 'tableActions',
computed,
actions: [ actions: [
{ {
title: t('printBuys'), title: t('printBuys'),
@ -87,35 +86,31 @@ const printBuys = (rowId) => {
</script> </script>
<template> <template>
<VnSearchbar <VnSearchbar
data-key="EntryList" data-key="myEntriesList"
url="Entries/filter" url="Entries/filter"
:label="t('Search entries')" :label="t('Search entries')"
:info="t('You can search by entry reference')" :info="t('You can search by entry reference')"
/> />
<QPage class="column items-center q-pa-md"> <VnTable
<div class="vn-card-list"> ref="myEntriesRef"
<VnTable data-key="myEntriesList"
ref="myEntriesRef" url="Entries/filter"
data-key="myEntriesList" :columns="columns"
url="Entries/filter" default-mode="card"
:columns="columns" :right-search="true"
default-mode="card" auto-load
auto-load >
:right-search="true" <template #moreFilterPanel="{ params }">
> <VnInput
<template #moreFilterPanel="{ params }"> :label="t('globals.daysOnward')"
<VnInput v-model="params.days"
:label="t('globals.daysOnward')" class="q-px-xs row"
v-model="params.days" dense
class="q-px-xs row" filled
dense outlined
filled ></VnInput>
outlined </template>
></VnInput> </VnTable>
</template>
</VnTable>
</div>
</QPage>
</template> </template>
<i18n> <i18n>