PMCORE-3170
This commit is contained in:
@@ -19,6 +19,9 @@ export default {
|
|||||||
classBtn(cls) {
|
classBtn(cls) {
|
||||||
return "btn btn-slim btn-force-radius v-btn-header " + cls;
|
return "btn btn-slim btn-force-radius v-btn-header " + cls;
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Event handler dbl click
|
||||||
|
*/
|
||||||
dblClick(event){
|
dblClick(event){
|
||||||
this.options.dblClick(event, this.item, this.options);
|
this.options.dblClick(event, this.item, this.options);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,6 +19,9 @@ export default {
|
|||||||
classBtn(cls) {
|
classBtn(cls) {
|
||||||
return "btn btn-slim btn-force-radius v-btn-header " + cls;
|
return "btn btn-slim btn-force-radius v-btn-header " + cls;
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Event handler dbl click
|
||||||
|
*/
|
||||||
dblClick(event){
|
dblClick(event){
|
||||||
this.options.dblClick(event, this.item, this.options);
|
this.options.dblClick(event, this.item, this.options);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -462,7 +462,15 @@ export default {
|
|||||||
* update view in component
|
* update view in component
|
||||||
*/
|
*/
|
||||||
updateView(){
|
updateView(){
|
||||||
|
if (this.typeView === "GRID") {
|
||||||
this.$refs["vueTable"].getData();
|
this.$refs["vueTable"].getData();
|
||||||
|
}
|
||||||
|
if (this.typeView === "CARD") {
|
||||||
|
this.$refs["vueCardView"].getData();
|
||||||
|
}
|
||||||
|
if (this.typeView === "LIST") {
|
||||||
|
this.$refs["vueListView"].getData();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
/**
|
/**
|
||||||
* set data by default in the ellipsis component
|
* set data by default in the ellipsis component
|
||||||
|
|||||||
Reference in New Issue
Block a user