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["vp-btn-secondary"] = false;
el.classObject["btn-primary"] = true; el.classObject["btn-primary"] = true;
} }
i++; i += 1;
}); });
return array; return array;
}, },

View File

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

View File

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

View File

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

View File

@@ -105,6 +105,7 @@ export default {
}, },
/** /**
* Change level with changes in data * Change level with changes in data
* @param {object} lv
*/ */
onChangeLevel(lv) { onChangeLevel(lv) {
_.remove(this.data, function (n) { _.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" 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 # TRANSLATION
# LABEL/ID_TASK_RISK_LEVEL0_INFO # LABEL/ID_TASK_RISK_LEVEL0_INFO
#: 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
#: LABEL/ID_DRILL_DOWN_RISK_MATRIX #: LABEL/ID_DRILL_DOWN_RISK_MATRIX
msgid "Risk Matrix per Process by Task Status" 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_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_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_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','en','Total Cases','2014-01-15') ,
( 'LABEL','ID_TOTAL_CASES_REASSIGNED','en','Total Cases Reassigned','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') , ( 'LABEL','ID_TO_DO','en','To do','2014-01-15') ,