PMCORE-3312

This commit is contained in:
Henry Jordan
2021-09-13 20:00:12 +00:00
parent bedd9b0ca6
commit 2184739741
2 changed files with 20 additions and 20 deletions

View File

@@ -11,6 +11,7 @@
/>
<ProcessPopover
:options="optionsProcesses"
@onChange="onChangeSearchPopover"
target="pm-task-process"
ref="pm-task-process"
@onUpdateColumnSettings="onUpdateColumnSettings"
@@ -184,10 +185,10 @@ export default {
/**
* Get Processes form API
*/
getProcesses() {
getProcesses(query) {
let that = this;
Api.filters
.processList("")
.processList(query || "")
.then((response) => {
that.formatDataProcesses(response.data);
that.changeOption({
@@ -334,6 +335,13 @@ export default {
id: 0,
});
},
/**
* Event handler change input search popover
* @param {string} query - value in popover search input
*/
onChangeSearchPopover(query){
this.getProcesses(query);
}
},
};
</script>