Stylish approve-event-modal

Change colors at PR list of events to approve
This commit is contained in:
Tiago Kayaya
2020-11-16 00:41:11 +01:00
parent 2738f8be67
commit e8642224ee
19 changed files with 400 additions and 85 deletions
+1 -2
View File
@@ -25,12 +25,11 @@ export class AttachmentsService {
let params = new HttpParams();
params = params.set("ParentId", eventid);
let options = {
headers: this.headers,
params: params
};
return this.http.get<Attachment[]>(`${geturl}`, options);
}
+11 -3
View File
@@ -91,9 +91,17 @@ export class ProcessesService {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
/* console.log(res); */
});
}
DispatchTask(body:any){
const geturl = environment.apiURL + 'Processes/CreateDispatch';
let options = {
headers: this.headers,
};
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
console.log(res);
});
}
}