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

@@ -53,7 +53,7 @@
</v-server-table>
<VueCardView
v-if="typeView === 'CARD'"
:options="optionsVueCardView"
:options="optionsVueView"
ref="vueCardView"
>
<div slot="detail" slot-scope="props">
@@ -110,7 +110,7 @@
</VueCardView>
<VueListView
v-if="typeView === 'LIST'"
:options="optionsVueListView"
:options="optionsVueView"
ref="vueListView"
>
<div slot="detail" slot-scope="props">
@@ -484,7 +484,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();
}
},
},
};