PMCORE-3328: Task Metrics is not saving per user the last drilling down level navigated in the Task Navigator PMCORE_3.7.0 build

This commit is contained in:
Rodrigo Quelca
2021-09-24 16:35:54 +00:00
parent 5146d8b7e4
commit 0e59394eb9
7 changed files with 146 additions and 127 deletions

View File

@@ -276,10 +276,10 @@ export default {
changeOption(option) {
let that = this,
dt = {};
if (this.data.length > 0) {
if (this.data.length > 1) {
dt = {
category: option.id,
caseList: this.data[0].id.toLowerCase(),
caseList: this.data[1].id.toLowerCase(),
processes: this.selectedProcesses,
top: this.top,
};
@@ -289,7 +289,7 @@ export default {
.then((response) => {
that.totalCases = response.data;
that.formatTotalCases(response.data);
})
})
.catch((e) => {
console.error(err);
});
@@ -401,7 +401,7 @@ export default {
this.$emit("updateDataLevel", {
id: this.currentSelection["PRO_ID"],
name: this.currentSelection["PRO_TITLE"],
level: 1,
level: 2,
data: this.currentSelection,
});
},
@@ -409,7 +409,7 @@ export default {
* Show popover data options
*/
onClickData() {
let taskList = this.data[0].id.toLowerCase(),
let taskList = this.data[1].id.toLowerCase(),
obj = {
autoshow: false,
fieldId: "processName",