mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
improvements
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user