This commit is contained in:
Peter Maquiran
2021-07-27 16:53:37 +01:00
parent 8eab9e67d7
commit 4fcafe1fd9
5 changed files with 56 additions and 91 deletions
+13 -1
View File
@@ -5,6 +5,7 @@ import { AuthService } from '../services/auth.service';
import { User } from '../models/user.model';
import { environment } from 'src/environments/environment';
import { Observable } from 'rxjs';
import { CallMeeting } from '../models/CallMeeting';
@Injectable({
providedIn: 'root'
@@ -49,6 +50,7 @@ export class ProcessesService {
};
return this.http.get<any>(`${geturl}`, options);
}
SetTaskToPending(serialNumber:string): Observable<any>{
const geturl = environment.apiURL + 'Tasks/SetTaskPending';
let params = new HttpParams();
@@ -239,7 +241,6 @@ export class ProcessesService {
return this.http.post<any>(`${geturl}`, body, options)
}
GetActionsList(){
const geturl = environment.apiURL + 'presidentialActions';
let options = {
@@ -249,6 +250,7 @@ export class ProcessesService {
return this.http.get<any>(`${geturl}`, options);
}
GetSubjectType(){
const geturl = environment.apiURL + 'ecm/SubjectType';
let options = {
@@ -272,4 +274,14 @@ export class ProcessesService {
return this.http.get<any>(`${geturl}`, options);
}
CallMeeting(body: CallMeeting) {
const geturl = environment.apiURL + 'Processes/CallMeeting';
let options: any = {
headers: this.headers,
}
return this.http.post<any>(`${geturl}`,body, options);
}
}