last updates
This commit is contained in:
@@ -35,5 +35,13 @@ export let process = {
|
||||
params: dt,
|
||||
keys: {}
|
||||
});
|
||||
}
|
||||
},
|
||||
totalCasesByRisk(dt) {
|
||||
return Api.get({
|
||||
service: "CASES_RISK",
|
||||
method: "get",
|
||||
params: dt,
|
||||
keys: {}
|
||||
});
|
||||
},
|
||||
};
|
||||
@@ -71,6 +71,7 @@
|
||||
LIST_TOTAL_CASES: "/metrics/list-total-cases",
|
||||
TOTAL_CASES_BY_PROCESS:"/metrics/total-cases-by-process",
|
||||
TOTAL_CASES_BY_RANGE:"/metrics/process-total-cases",
|
||||
CASES_RISK:"/metrics/cases-risk",
|
||||
CONFIG: "/home/config",
|
||||
GET_CONFIG: "/home/config/{id}/{name}",
|
||||
PAUSE_CASE: "/cases/{app_uid}/pause",
|
||||
|
||||
@@ -19,7 +19,12 @@
|
||||
:key="item.id"
|
||||
class="vp-bread-crumbs-settings vp-float-right vp-inline-block"
|
||||
>
|
||||
<span @click="item.onClick">
|
||||
<span
|
||||
@click="item.onClick"
|
||||
data-bs-toggle="tooltip"
|
||||
data-bs-placement="top"
|
||||
:title="item.tooltip || ''"
|
||||
>
|
||||
<i :class="formatClass(item)"></i>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -120,9 +120,15 @@ export default {
|
||||
parseInt(window.config.FORMATS.casesListRefreshTime) * 1000
|
||||
);
|
||||
// adding eventBus listener
|
||||
eventBus.$on('sort-menu', (data) => {
|
||||
eventBus.$on('sort-menu', (data) => {
|
||||
that.updateUserSettings('customCasesList', data);
|
||||
});
|
||||
eventBus.$on('home-update-page', (data) => {
|
||||
that.onUpdatePage(data);
|
||||
});
|
||||
eventBus.$on('home-update-datacase', (data) => {
|
||||
that.onUpdateDataCase(data);
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
/**
|
||||
@@ -242,6 +248,7 @@ export default {
|
||||
mappingMenu(data) {
|
||||
var i,
|
||||
j,
|
||||
that = this,
|
||||
newData = data,
|
||||
auxId;
|
||||
for (i = 0; i < data.length; i += 1) {
|
||||
@@ -263,7 +270,7 @@ export default {
|
||||
hiddenOnCollapse: data[i].hiddenOnCollapse,
|
||||
icon: 'pie-chart-fill',
|
||||
onClick: function (item) {
|
||||
// TODO click evet handler
|
||||
that.onUpdatePage("task-metrics");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<template>
|
||||
<div id="v-todo" ref="v-todo" class="v-container-todo">
|
||||
<button-fleft :data="newCase"></button-fleft>
|
||||
<button type="button" @click="task" class="btn btn-primary">Primary</button>
|
||||
<modal-new-request ref="newRequest"></modal-new-request>
|
||||
<ModalPauseCase ref="modal-pause-case"></ModalPauseCase>
|
||||
<ModalReassignCase ref="modal-reassign-case"></ModalReassignCase>
|
||||
|
||||
@@ -174,9 +174,6 @@ export default {
|
||||
}
|
||||
this.columns = cols;
|
||||
this.random = _.random(0, 10000000000);
|
||||
},
|
||||
task(){
|
||||
this.$emit("onUpdatePage", "task-metrics");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -5,7 +5,7 @@
|
||||
<div>
|
||||
<BreadCrumb
|
||||
:options="breadCrumbs.data"
|
||||
:settings="breadCrumbs.settings"
|
||||
:settings="settingsBreadcrumbs"
|
||||
/>
|
||||
<ProcessPopover
|
||||
:options="optionsProcesses"
|
||||
@@ -18,7 +18,7 @@
|
||||
v-model="category"
|
||||
:options="optionsCategory"
|
||||
:searchable="false"
|
||||
:close-on-select="false"
|
||||
:close-on-select="true"
|
||||
:show-labels="false"
|
||||
track-by="id"
|
||||
label="name"
|
||||
@@ -78,7 +78,13 @@ export default {
|
||||
return {
|
||||
category: null,
|
||||
dataProcesses: null, //Data API processes
|
||||
|
||||
settingsBreadcrumbs: [
|
||||
{
|
||||
class: "fas fa-info-circle",
|
||||
tooltip: this.$t("ID_TASK_RISK_LEVEL1_INFO"),
|
||||
onClick() {},
|
||||
},
|
||||
],
|
||||
optionsCategory: [],
|
||||
optionsProcesses: [],
|
||||
selectedProcesses: [],
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,11 +1,11 @@
|
||||
<template>
|
||||
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block">
|
||||
<div class="p-1 v-flex">
|
||||
<h6 class="v-search-title">Number of Tasks Status per Process</h6>
|
||||
<h6 class="v-search-title">Number of Tasks Status per Process by task status</h6>
|
||||
<div>
|
||||
<BreadCrumb
|
||||
:options="breadCrumbs.data"
|
||||
:settings="breadCrumbs.settings"
|
||||
:settings="settingsBreadcrumbs"
|
||||
/>
|
||||
<div class="vp-width-p30 vp-inline-block">
|
||||
<b-form-datepicker
|
||||
@@ -83,6 +83,13 @@ export default {
|
||||
{ text: this.$t("ID_MONTH"), value: "month" },
|
||||
{ text: this.$t("ID_YEAR"), value: "year" },
|
||||
],
|
||||
settingsBreadcrumbs: [
|
||||
{
|
||||
class: "fas fa-info-circle",
|
||||
tooltip: this.$t("ID_TASK_RISK_LEVEL2_INFO"),
|
||||
onClick() {},
|
||||
},
|
||||
],
|
||||
dataCasesByRange: [],
|
||||
width: 0,
|
||||
options: {
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<div id="v-pm-charts" ref="v-pm-charts" class="v-pm-charts vp-inline-block">
|
||||
<div class="p-1 v-flex">
|
||||
<h6 class="v-search-title">Number of tasks per Task Status</h6>
|
||||
<BreadCrumb
|
||||
:options="breadCrumbs.data"
|
||||
:settings="breadCrumbs.settings"
|
||||
/>
|
||||
<BreadCrumb :options="breadCrumbs.data" :settings="settingsBreadcrumbs" />
|
||||
<apexchart
|
||||
v-show="typeView === 'donut'"
|
||||
ref="apexchart1"
|
||||
@@ -64,6 +61,13 @@ export default {
|
||||
data: [],
|
||||
currentSelection: null,
|
||||
seriesDonut: [],
|
||||
settingsBreadcrumbs: [
|
||||
{
|
||||
class: "fas fa-info-circle",
|
||||
tooltip: this.$t("ID_TASK_RISK_LEVEL0_INFO"),
|
||||
onClick() {},
|
||||
},
|
||||
],
|
||||
optionsDonut: {
|
||||
labels: [
|
||||
this.$i18n.t("ID_INBOX"),
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
:breadCrumbs="dataBreadCrumbs()"
|
||||
/>
|
||||
<vue-chart-lv-two
|
||||
:key="key2"
|
||||
v-show="level === 2"
|
||||
:data="data"
|
||||
@onChangeLevel="onChangeLevel"
|
||||
@@ -21,6 +22,7 @@
|
||||
:breadCrumbs="dataBreadCrumbs()"
|
||||
/>
|
||||
<vue-chart-lv-three
|
||||
:key="key3"
|
||||
v-show="level === 3"
|
||||
:data="data"
|
||||
@onChangeLevel="onChangeLevel"
|
||||
@@ -50,6 +52,8 @@ export default {
|
||||
return {
|
||||
level: 0,
|
||||
key1: 1,
|
||||
key2: 1,
|
||||
key3: 1,
|
||||
data: [],
|
||||
settingsBreadCrumbs: [
|
||||
{
|
||||
@@ -83,8 +87,10 @@ export default {
|
||||
this.key1++;
|
||||
break;
|
||||
case 2:
|
||||
this.key2++;
|
||||
break;
|
||||
case 3:
|
||||
this.key3++;
|
||||
break;
|
||||
}
|
||||
},
|
||||
@@ -137,7 +143,7 @@ export default {
|
||||
};
|
||||
break;
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
||||
@@ -30,6 +30,8 @@
|
||||
|
||||
<script>
|
||||
import api from "./../../api/index";
|
||||
import eventBus from "../EventBus/eventBus";
|
||||
|
||||
export default {
|
||||
name: "ModalClaimCase",
|
||||
components: {},
|
||||
@@ -57,14 +59,15 @@ export default {
|
||||
api.cases.claim(this.data).then((response) => {
|
||||
if (response.status === 200) {
|
||||
that.$refs["modal-claim-case"].hide();
|
||||
that.$parent.$emit("onUpdateDataCase", {
|
||||
//TODO Trigger onUpdateDataCase
|
||||
eventBus.$emit("home-update-datacase", {
|
||||
APP_UID: this.data.APP_UID,
|
||||
DEL_INDEX: this.data.DEL_INDEX,
|
||||
PRO_UID: this.data.PRO_UID,
|
||||
TAS_UID: this.data.TAS_UID,
|
||||
ACTION: "todo",
|
||||
});
|
||||
that.$parent.$emit("onUpdatePage", "XCase");
|
||||
eventBus.$emit("home-update-page", "XCase");
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -55,7 +55,9 @@ export default {
|
||||
api.cases.unpause(this.data).then((response) => {
|
||||
if (response.statusText == "OK") {
|
||||
that.$refs["modal-unpause-case"].hide();
|
||||
that.$parent.$refs["vueTable"].getData();
|
||||
if (that.$parent.$refs["vueTable"]) { // TODO this component should be return a event to parent to code in the parent
|
||||
that.$parent.$refs["vueTable"].getData();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
@@ -53053,4 +53053,29 @@ msgstr "Send email to participants"
|
||||
# LABEL/ID_TRYING_CANCEL
|
||||
#: LABEL/ID_TRYING_CANCEL
|
||||
msgid "You are tying to cancel the current case. Please be aware this action cannot be undone"
|
||||
msgstr "You are tying to cancel the current case. Please be aware this action cannot be undone"
|
||||
msgstr "You are tying to cancel the current case. Please be aware this action cannot be undone"
|
||||
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TASK_RISK_LEVEL0_INFO
|
||||
#: LABEL/ID_TASK_RISK_LEVEL0_INFO
|
||||
msgid "Select a task status option to drill down by status for all processes. Then view can be changed as pie or bar chart."
|
||||
msgstr "Select a task status option to drill down by status for all processes. Then view can be changed as pie or bar chart."
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TASK_RISK_LEVEL1_INFO
|
||||
#: LABEL/ID_TASK_RISK_LEVEL1_INFO
|
||||
msgid "Select the 'Drill' option of a Process in the Chart, to Drill Down By a Range of Dates listing the number of tasks By Task Status of the Process, or use the 'Data' option to open the Task List displaying all Tasks of the Process and Status"
|
||||
msgstr "Select the 'Drill' option of a Process in the Chart, to Drill Down By a Range of Dates listing the number of tasks By Task Status of the Process, or use the 'Data' option to open the Task List displaying all Tasks of the Process and Status"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TASK_RISK_LEVEL2_INFO
|
||||
#: LABEL/ID_TASK_RISK_LEVEL2_INFO
|
||||
msgid "Select the Drill option to have a Risk Matrix of the tasks or select the Data option to open the Task Folder listing all Tasks of the Process status by a range of date"
|
||||
msgstr "Select the Drill option to have a Risk Matrix of the tasks or select the Data option to open the Task Folder listing all Tasks of the Process status by a range of date"
|
||||
|
||||
# TRANSLATION
|
||||
# LABEL/ID_TASK_RISK_LEVEL3_INFO
|
||||
#: LABEL/ID_TASK_RISK_LEVEL3_INFO
|
||||
msgid "By selecting the task will be open automatically if the task is Inbox or Draft"
|
||||
msgstr "By selecting the task will be open automatically if the task is Inbox or Draft"
|
||||
@@ -61316,6 +61316,10 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
|
||||
( 'LABEL','ID_TAS_EDIT','en','Tasks (Edit mode)','2014-01-15') ,
|
||||
( 'LABEL','ID_TAS_UID_PARAMETER_IS_EMPTY','en','The TAS_UID parameter is empty.','2016-04-08') ,
|
||||
( 'LABEL','ID_TAS_VIEW','en','Tasks (View mode)','2014-01-15') ,
|
||||
( 'LABEL','ID_TASK_RISK_LEVEL0_INFO','en','Select a task status option to drill down by status for all processes. Then view can be changed as pie or bar chart.','2020-08-26') ,
|
||||
( 'LABEL','ID_TASK_RISK_LEVEL1_INFO','en','Select the "Drill" option of a Process in the Chart, to Drill Down By a Range of Dates listing the number of tasks By Task Status of the Process, or use the "Data" option to open the Task List displaying all Tasks of the Process and Status','2020-08-26'),
|
||||
( 'LABEL','ID_TASK_RISK_LEVEL2_INFO','en','Select the Drill option to have a Risk Matrix of the tasks or select the Data option to open the Task Folder listing all Tasks of the Process status by a range of date','2020-08-26') ,
|
||||
( 'LABEL','ID_TASK_RISK_LEVEL3_INFO','en','By selecting the task will be open automatically if the task is Inbox or Draft','2020-08-26') ,
|
||||
( 'LABEL','ID_TEMPLATES','en','Templates','2014-01-15') ,
|
||||
( 'LABEL','ID_TEMPLATE_FILE_NOT_EXIST','en','Template file ''{FILE_TEMPLATE}'' does not exist.','2014-01-15') ,
|
||||
( 'LABEL','ID_TEMPLATE_PARAMETER_EMPTY','en','The TEMPLATE parameter is empty.','2016-04-08') ,
|
||||
|
||||
Reference in New Issue
Block a user