update observations

This commit is contained in:
Henry Jordan
2021-08-27 21:29:54 +00:00
parent 94e4e4a3c0
commit 058136c23d
9 changed files with 31 additions and 27 deletions

View File

@@ -110,7 +110,7 @@ export default {
el.classObject["vp-btn-secondary"] = false;
el.classObject["btn-primary"] = true;
}
i++;
i += 1;
});
return array;
},

View File

@@ -8,13 +8,11 @@
@show="onshow"
>
<template #title>{{ $t("ID_PROCESSES").toUpperCase() }}</template>
<div>
<div class="input-group input-group-sm mb-3">
<span class="input-group-text" id="inputGroup-sizing-sm"
><i class="fas fa-search"></i
></span>
<input
type="text"
class="form-control"
@@ -23,7 +21,6 @@
v-model="text"
/>
</div>
<div class="form-check border-bottom">
<input
class="form-check-input"
@@ -31,12 +28,10 @@
v-model="allColumns"
@change="toogleAllColumns"
/>
<label class="form-check-label" for="flexCheckDefault">
{{ $t("ID_ALL") }}
</label>
</div>
<b-form-group>
<b-form-checkbox-group
v-model="localSelected"
@@ -48,13 +43,11 @@
stacked
></b-form-checkbox-group>
</b-form-group>
<div class="v-popover-footer">
<div class="float-right">
<b-button @click="onClose" size="sm" variant="danger">
{{ $t("ID_CANCEL") }}</b-button
>
<b-button @click="onSave" size="sm" variant="success">{{
$t("ID_SAVE")
}}</b-button>
@@ -64,7 +57,6 @@
</b-popover>
</div>
</template>
<script>
export default {
name: "ProcessPopover",
@@ -85,17 +77,18 @@ export default {
},
methods: {
/**
* Set options
* Setter options for fill the popover
* @param {*} options
*/
setOptions(options) {
this.options = options;
this.results = options;
},
/**
* Set selected options
* Setter the selected options
* @param {*} options
*/
setSelectedOptions(options) {
console.log("SELECTED");
this.selected = options;
this.localSelected = options;
},
@@ -169,14 +162,11 @@ export default {
},
};
</script>
<style scoped>
.pm-all-view-popover .popover {
max-width: 350px !important;
min-width: 200px !important;
}
.v-popover-footer {
display: flow-root;
}

View File

@@ -1,7 +1,9 @@
<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">{{$t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS")}}</h6>
<h6 class="v-search-title">
{{ $t("ID_DRILL_DOWN_NUMBER_TASKS_PROCESS") }}
</h6>
<div>
<BreadCrumb
:options="breadCrumbs.data"
@@ -26,7 +28,7 @@
></multiselect>
</div>
<label class="vp-inline-block vp-padding-l20">{{
$t("ID_MAFE_a4ffdcf0dc1f31b9acaf295d75b51d00")
$t("ID_TOP")
}}</label>
<div class="vp-inline-block">
<b-form-checkbox
@@ -198,6 +200,7 @@ export default {
},
/**
* Format categories for multiselect
* @param {*} data
*/
formatDataCategories(data) {
let array = [];
@@ -213,6 +216,7 @@ export default {
},
/**
* Format processes for popover
* @param {*} data
*/
formatDataProcesses(data) {
let sels = [],
@@ -233,6 +237,7 @@ export default {
},
/**
* Change the options in TOTAL CASES BY PROCESS
* @param {*} option
*/
changeOption(option) {
let that = this,
@@ -265,6 +270,7 @@ export default {
},
/**
* Format response form BE to chart
* @param {*} data
*/
formatTotalCases(data) {
let serie = [],
@@ -283,6 +289,7 @@ export default {
},
/**
* Update list processes in chart
* @param {*} data
*/
onUpdateColumnSettings(data) {
let res;
@@ -299,6 +306,7 @@ export default {
},
/**
* Update labels in chart
* @param {*} processes
*/
updateLabels(processes) {
let labels = [];
@@ -309,6 +317,7 @@ export default {
},
/**
* UPdate serie in chart
* @param {*} processes
*/
updateSerie(processes) {
let labels = [];

View File

@@ -37,7 +37,7 @@
</div>
<div class="vp-inline-block">
<label class="form-label">{{
$t("ID_MAFE_a4ffdcf0dc1f31b9acaf295d75b51d00")
$t("ID_TOP")
}}</label>
</div>
<div class="vp-inline-block">
@@ -235,6 +235,7 @@ export default {
},
/**
* Format response fromn API
* @param {object} data
*/
formatDataRange(data) {
let that = this,
@@ -349,7 +350,6 @@ export default {
},
/**
* Open selected cases in the inbox
*
* @param {object} item
*/
openCase(item) {
@@ -364,6 +364,7 @@ export default {
},
/**
* Click in marker chart
* @param {object} selection
*/
onClickCaseMarker(selection) {
let process = this.data[1].id,
@@ -398,6 +399,7 @@ export default {
},
/**
* Show modal unpause
* @param {object} item
*/
showModalUnpauseCase(item) {
this.$refs["modal-unpause-case"].data = item;

View File

@@ -170,7 +170,8 @@ export default {
}
},
/**
* Format response fromn API
* Format response from API
* @param {object} data
*/
formatDataRange(data) {
let labels = [],

View File

@@ -105,6 +105,7 @@ export default {
},
/**
* Change level with changes in data
* @param {object} lv
*/
onChangeLevel(lv) {
_.remove(this.data, function (n) {

View File

@@ -12,10 +12,5 @@ export default {
},
},
}
},
created: function () {
},
methods: {
}
}

View File

@@ -53055,7 +53055,6 @@ msgstr "Send email to participants"
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"
# TRANSLATION
# LABEL/ID_TASK_RISK_LEVEL0_INFO
#: LABEL/ID_TASK_RISK_LEVEL0_INFO
@@ -53114,4 +53113,10 @@ msgstr "Number of Tasks Status per Process by task status"
# LABEL/ID_DRILL_DOWN_RISK_MATRIX
#: LABEL/ID_DRILL_DOWN_RISK_MATRIX
msgid "Risk Matrix per Process by Task Status"
msgstr "Risk Matrix per Process by Task Status"
msgstr "Risk Matrix per Process by Task Status"
# TRANSLATION
# LABEL/ID_TOP
#: LABEL/ID_TOP
msgid "Top"
msgstr "Top"

View File

@@ -61423,6 +61423,7 @@ INSERT INTO TRANSLATION (TRN_CATEGORY,TRN_ID,TRN_LANG,TRN_VALUE,TRN_UPDATE_DATE
( 'LABEL','ID_TOOLS','en','Tools','2014-01-15') ,
( 'LABEL','ID_TOO_MANY_REQUESTS','en','Upon configurations, you have reached the maximum number of files to upload.','2018-12-17') ,
( 'LABEL','ID_TOP_MARGIN','en','Top Margin','2014-01-15') ,
( 'LABEL','ID_TOP','en','Top','2020-08-27') ,
( 'LABEL','ID_TOTAL_CASES','en','Total Cases','2014-01-15') ,
( 'LABEL','ID_TOTAL_CASES_REASSIGNED','en','Total Cases Reassigned','2014-01-15') ,
( 'LABEL','ID_TO_DO','en','To do','2014-01-15') ,