Merged feature/PMCORE-3049 into feature/PMCORE-3062-A
This commit is contained in:
@@ -55,7 +55,7 @@
|
||||
</v-server-table>
|
||||
<VueCardView
|
||||
v-if="typeView === 'CARD'"
|
||||
:options="optionsVueCardView"
|
||||
:options="optionsVueView"
|
||||
ref="vueCardView"
|
||||
>
|
||||
<div slot="detail" slot-scope="props">
|
||||
@@ -112,7 +112,7 @@
|
||||
</VueCardView>
|
||||
<VueListView
|
||||
v-if="typeView === 'LIST'"
|
||||
:options="optionsVueListView"
|
||||
:options="optionsVueView"
|
||||
ref="vueListView"
|
||||
>
|
||||
<div slot="detail" slot-scope="props">
|
||||
@@ -497,7 +497,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