PMCORE-3170

This commit is contained in:
Henry Jordan
2021-07-21 15:09:39 +00:00
parent 036ed650bc
commit b7ef3d6fcc
10 changed files with 70 additions and 61 deletions

View File

@@ -41,9 +41,9 @@
</div>
</div>
</v-server-table>
<VueCardView
<VueCardView
v-if="typeView === 'CARD'"
:options="optionsVueCardView"
:options="optionsVueView"
ref="vueCardView"
>
<div slot="detail" slot-scope="props">
@@ -100,7 +100,7 @@
</VueCardView>
<VueListView
v-if="typeView === 'LIST'"
:options="optionsVueCardView"
:options="optionsVueView"
ref="vueListView"
>
<div slot="detail" slot-scope="props">
@@ -461,7 +461,15 @@ export default {
* update view in component
*/
updateView(){
this.$refs["vueTable"].getData();
if (this.typeView === "GRID") {
this.$refs["vueTable"].getData();
}
if (this.typeView === "CARD") {
this.$refs["vueCardView"].getData();
}
if (this.typeView === "LIST") {
this.$refs["vueListView"].getData();
}
},
/**
* Show options in the ellipsis