PMCORE-3170
This commit is contained in:
@@ -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();
|
||||
}
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user