Add messages

This commit is contained in:
Peter Maquiran
2021-05-25 13:38:46 +01:00
parent 0e96fb50f0
commit c124f9b2a4
22 changed files with 424 additions and 122 deletions
+2 -6
View File
@@ -203,9 +203,7 @@ export class EventsService {
headers: this.headers,
params: params
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options)
}
createTaskEvent(folderId:any, body:any, sharedagenda:string, serialNumber:any, applicationID:any){
const geturl = environment.apiURL + 'calendar/' + ((sharedagenda != '') ? sharedagenda : 'CreateEventExpediente')+'/dispatch';
@@ -219,9 +217,7 @@ export class EventsService {
headers: this.headers,
params: params
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
return this.http.post<any>(`${geturl}`, body, options)
}
postEventToApproveEdit(body: EventToApproveEdit) {
+3 -3
View File
@@ -180,7 +180,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise();
return this.http.post<any>(`${geturl}`, body, options)
}
postParecer(body:any){
@@ -188,7 +188,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise();
return this.http.post<any>(`${geturl}`, body, options)
}
postDeferimento(body:any){
@@ -196,7 +196,7 @@ export class ProcessesService {
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise();
return this.http.post<any>(`${geturl}`, body, options)
}