This commit is contained in:
Henry Jordan
2021-09-24 21:07:29 +00:00
parent 3914ae2110
commit 13ee44e596
3 changed files with 12 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
<template> <template>
<div class="pm-all-view-popover"> <div class="pm-tm-view-popover">
<b-popover <b-popover
:target="target" :target="target"
ref="popover" ref="popover"
@@ -39,6 +39,7 @@
value-field="key" value-field="key"
text-field="value" text-field="value"
name="flavour-2a" name="flavour-2a"
class="process-view-popover"
@change="changeOptions" @change="changeOptions"
stacked stacked
></b-form-checkbox-group> ></b-form-checkbox-group>
@@ -167,4 +168,11 @@ export default {
.v-popover-footer { .v-popover-footer {
display: flow-root; display: flow-root;
} }
.process-view-popover {
margin-bottom: 1rem;
overflow-y: auto;
display: block;
max-height: 200px;
}
</style> </style>

View File

@@ -124,7 +124,7 @@ export default {
optionsCategory: [], optionsCategory: [],
optionsProcesses: [], optionsProcesses: [],
selectedProcesses: [], selectedProcesses: [],
top: false, top: true,
width: 0, width: 0,
totalCases: [], totalCases: [],
currentSelection: null, currentSelection: null,
@@ -225,6 +225,7 @@ export default {
that.formatDataProcesses(response.data); that.formatDataProcesses(response.data);
that.changeOption({ that.changeOption({
id: "all", id: "all",
paged: false,
}); });
}) })
.catch((e) => { .catch((e) => {
@@ -480,5 +481,6 @@ export default {
.vp-flex1 { .vp-flex1 {
flex: 1; flex: 1;
} }
</style> </style>
<style src="vue-multiselect/dist/vue-multiselect.min.css"></style> <style src="vue-multiselect/dist/vue-multiselect.min.css"></style>

View File

@@ -6,18 +6,15 @@
<apexchart <apexchart
v-show="typeView === 'donut'" v-show="typeView === 'donut'"
ref="apexchart1" ref="apexchart1"
:width="width"
:options="optionsDonut" :options="optionsDonut"
:series="seriesDonut" :series="seriesDonut"
></apexchart> ></apexchart>
<apexchart <apexchart
v-show="typeView === 'bar'" v-show="typeView === 'bar'"
ref="apexchart2" ref="apexchart2"
:width="width"
:options="optionsBar" :options="optionsBar"
:series="seriesBar" :series="seriesBar"
></apexchart> ></apexchart>
<div class="row"> <div class="row">
<div class="col-sm vp-align-right"> <div class="col-sm vp-align-right">
<button <button