Merged in bugfix/PMCORE-3438 (pull request #8220)
PMCORE-3438 Approved-by: Fabio Guachalla
This commit is contained in:
@@ -692,8 +692,14 @@ export default {
|
||||
} else if (self.clickCount === 2) {
|
||||
clearTimeout(self.singleClickTimer);
|
||||
self.clickCount = 0;
|
||||
if (this.data.pageParent === "paused") {
|
||||
self.showModalUnpauseCase(event.row);
|
||||
} else if(this.data.pageParent === "unassigned") {
|
||||
self.claimCase(event.row);
|
||||
} else {
|
||||
self.openCase(event.row);
|
||||
}
|
||||
}
|
||||
},
|
||||
/**
|
||||
* Get cases todo data
|
||||
@@ -985,7 +991,7 @@ export default {
|
||||
}
|
||||
this.data.settings = newData.settings;
|
||||
this.filters = {};
|
||||
this.typeView = newData.settings.view.typeView;
|
||||
this.typeView = newData.settings && newData.settings.view ? newData.settings.view.typeView : this.typeView;
|
||||
}
|
||||
if (this.typeView === "GRID" && this.$refs["vueTable"]) {
|
||||
if (newData && newData.settings && newData.settings.orderBy) {
|
||||
|
||||
@@ -59,7 +59,13 @@ export default {
|
||||
optionsVueView: {
|
||||
limit: 10,
|
||||
dblClick: (event, item, options) => {
|
||||
if (this.data.pageParent === "paused") {
|
||||
this.showModalUnpauseCase(item);
|
||||
} else if(this.data.pageParent === "unassigned") {
|
||||
this.claimCase(item);
|
||||
} else {
|
||||
this.openCase(item);
|
||||
}
|
||||
},
|
||||
headings: {
|
||||
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
|
||||
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
optionsVueView: {
|
||||
limit: 10,
|
||||
dblClick: (event, item, options) => {
|
||||
this.openCase(item);
|
||||
this.showModalUnpauseCase(item);
|
||||
},
|
||||
headings: {
|
||||
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
|
||||
|
||||
@@ -47,7 +47,7 @@ export default {
|
||||
optionsVueList: {
|
||||
limit: 10,
|
||||
dblClick: (event, item, options) => {
|
||||
this.openCase(item);
|
||||
this.claimCase(item);
|
||||
},
|
||||
headings: {
|
||||
case_number: this.$i18n.t("ID_MYCASE_NUMBER"),
|
||||
|
||||
Reference in New Issue
Block a user