Add document to task and improve responsiveness

This commit is contained in:
Peter Maquiran
2021-05-05 15:05:29 +01:00
parent 3a6f03bae2
commit da374a318a
6 changed files with 137 additions and 127 deletions
+4 -12
View File
@@ -137,9 +137,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options).toPromise()
}
UpdateTaskStatus(FolderId:string): Observable<any>{
@@ -174,9 +172,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options).toPromise();
}
postParecer(body:any){
@@ -184,9 +180,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options).toPromise();
}
postDeferimento(body:any){
@@ -194,9 +188,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options).toPromise();
}