improvements

This commit is contained in:
tiago.kayaya
2021-03-31 13:52:40 +01:00
parent 426b9c2ae9
commit 52a7b53174
9 changed files with 48 additions and 13 deletions
+14
View File
@@ -120,6 +120,20 @@ export class ProcessesService {
console.log(res);
});
}
UpdateTaskStatus(folderId: any){
const geturl = environment.apiURL + 'Tasks/UpdateTaskStatus';
let params = new HttpParams();
params = params.set("FolderId", folderId);
let options = {
headers: this.headers,
params: params,
};
return this.http.post<any>(`${geturl}`, options).toPromise().then(res =>{
console.log(res);
});
}
postDespatcho(body:any){
const geturl = environment.apiURL + 'Processes/CreateDispatch';