Merged feature/PMCORE-3049 into feature/PMCORE-3062-A

This commit is contained in:
Henry Jonathan Quispe Quispe
2021-07-22 21:46:43 +00:00
12 changed files with 88 additions and 62 deletions

View File

@@ -43,9 +43,9 @@
</div>
</div>
</v-server-table>
<VueCardView
<VueCardView
v-if="typeView === 'CARD'"
:options="optionsVueCardView"
:options="optionsVueView"
ref="vueCardView"
>
<div slot="detail" slot-scope="props">
@@ -102,7 +102,7 @@
</VueCardView>
<VueListView
v-if="typeView === 'LIST'"
:options="optionsVueCardView"
:options="optionsVueView"
ref="vueListView"
>
<div slot="detail" slot-scope="props">
@@ -475,7 +475,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