mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
Add parecer and deferimento integration
Create models Update methods in processes
This commit is contained in:
@@ -95,7 +95,7 @@ export class ProcessesService {
|
||||
});
|
||||
}
|
||||
|
||||
DispatchTask(body:any){
|
||||
postDespatcho(body:any){
|
||||
const geturl = environment.apiURL + 'Processes/CreateDispatch';
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
@@ -104,4 +104,27 @@ export class ProcessesService {
|
||||
console.log(res);
|
||||
});
|
||||
}
|
||||
|
||||
postParecer(body:any){
|
||||
const geturl = environment.apiURL + 'Processes/CreateParecer';
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
};
|
||||
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
|
||||
console.log(res);
|
||||
});
|
||||
}
|
||||
|
||||
postDeferimento(body:any){
|
||||
const geturl = environment.apiURL + 'Processes/CreateDeferimento';
|
||||
let options = {
|
||||
headers: this.headers,
|
||||
};
|
||||
return this.http.post<any>(`${geturl}`, body, options).toPromise().then(res =>{
|
||||
console.log(res);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user