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",
"Report",
"Refresh",
"Sort",
"WikiPage",
"Duplicate",
"RecordHistory",

View File

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

View File

@@ -12,8 +12,9 @@
@click:row="rowClick"
:sort-by="['name']"
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>
</template>
</v-data-table>

View File

@@ -12,8 +12,9 @@
@click:row="rowClick"
:sort-by="['name']"
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>
</template>
</v-data-table>

View File

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

View File

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

View File

@@ -14,8 +14,9 @@
hide-default-footer
:sort-by="['created']"
: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-icon small class="mr-2">
fa-file-download

View File

@@ -13,8 +13,9 @@
:disable-pagination="true"
:disable-filtering="true"
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)">
fa-trash
</v-icon>