PMCORE-3312
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user