This commit is contained in:
2020-08-18 14:59:19 +00:00
parent 1dfccd2ac2
commit 3cad1124ed
8 changed files with 12 additions and 4 deletions

View File

@@ -159,6 +159,7 @@ export default {
"Print", "Print",
"Report", "Report",
"Refresh", "Refresh",
"Sort",
"WikiPage", "WikiPage",
"Duplicate", "Duplicate",
"RecordHistory", "RecordHistory",

View File

@@ -113,6 +113,7 @@
itemsPerPageText: $ay.t('RowsPerPage'), itemsPerPageText: $ay.t('RowsPerPage'),
pageText: $ay.t('PageOfPageText') pageText: $ay.t('PageOfPageText')
}" }"
:header-props="{ sortByText: $ay.t('Sort') }"
:search="search" :search="search"
must-sort must-sort
> >

View File

@@ -12,8 +12,9 @@
@click:row="rowClick" @click:row="rowClick"
:sort-by="['name']" :sort-by="['name']"
show-select show-select
:header-props="{ sortByText: $ay.t('Sort') }"
> >
<template v-slot:item.active="{ item }"> <template v-slot:[`item.active`]="{ item }">
<v-simple-checkbox v-model="item.active" disabled></v-simple-checkbox> <v-simple-checkbox v-model="item.active" disabled></v-simple-checkbox>
</template> </template>
</v-data-table> </v-data-table>

View File

@@ -12,8 +12,9 @@
@click:row="rowClick" @click:row="rowClick"
:sort-by="['name']" :sort-by="['name']"
show-select show-select
:header-props="{ sortByText: $ay.t('Sort') }"
> >
<template v-slot:item.active="{ item }"> <template v-slot:[`item.active`]="{ item }">
<v-simple-checkbox v-model="item.active" disabled></v-simple-checkbox> <v-simple-checkbox v-model="item.active" disabled></v-simple-checkbox>
</template> </template>
</v-data-table> </v-data-table>

View File

@@ -9,6 +9,7 @@
:disable-filtering="true" :disable-filtering="true"
hide-default-footer hide-default-footer
@click:row="rowClick" @click:row="rowClick"
:header-props="{ sortByText: $ay.t('Sort') }"
> >
</v-data-table> </v-data-table>
</div> </div>

View File

@@ -74,6 +74,7 @@
hide-default-footer hide-default-footer
:sort-by="['created']" :sort-by="['created']"
:sort-desc="[true]" :sort-desc="[true]"
:header-props="{ sortByText: $ay.t('Sort') }"
> >
<template v-slot:[`item.actions`]="{ item }"> <template v-slot:[`item.actions`]="{ item }">
<v-btn icon :href="item.url"> <v-btn icon :href="item.url">

View File

@@ -14,8 +14,9 @@
hide-default-footer hide-default-footer
:sort-by="['created']" :sort-by="['created']"
:sort-desc="[true]" :sort-desc="[true]"
:header-props="{ sortByText: $ay.t('Sort') }"
> >
<template v-slot:item.actions="{ item }"> <template v-slot:[`item.actions`]="{ item }">
<v-btn icon :href="item.url"> <v-btn icon :href="item.url">
<v-icon small class="mr-2"> <v-icon small class="mr-2">
fa-file-download fa-file-download

View File

@@ -13,8 +13,9 @@
:disable-pagination="true" :disable-pagination="true"
:disable-filtering="true" :disable-filtering="true"
hide-default-footer hide-default-footer
:header-props="{ sortByText: $ay.t('Sort') }"
> >
<template v-slot:item.actions="{ item }"> <template v-slot:[`item.actions`]="{ item }">
<v-icon small class="mr-2" @click="deleteItem(item)"> <v-icon small class="mr-2" @click="deleteItem(item)">
fa-trash fa-trash
</v-icon> </v-icon>