PMCORE-3325
This commit is contained in:
@@ -60,6 +60,16 @@ export let filters = {
|
|||||||
keys: {},
|
keys: {},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* Service to get the process list
|
||||||
|
*/
|
||||||
|
processListPaged(data) {
|
||||||
|
return Api.get({
|
||||||
|
service: "PROCESSES",
|
||||||
|
params: data,
|
||||||
|
keys: {},
|
||||||
|
});
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* Service to get the users list
|
* Service to get the users list
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -233,7 +233,10 @@ export default {
|
|||||||
getProcesses(query) {
|
getProcesses(query) {
|
||||||
let that = this;
|
let that = this;
|
||||||
Api.filters
|
Api.filters
|
||||||
.processList(query || "")
|
.processListPaged({
|
||||||
|
text: query || "",
|
||||||
|
paged: false,
|
||||||
|
})
|
||||||
.then((response) => {
|
.then((response) => {
|
||||||
that.formatDataProcesses(response.data);
|
that.formatDataProcesses(response.data);
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user