blob: 53e6bbf64901e547f339038000e6ee7eea213c13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders } from '@angular/common/http';
import { environment } from '../../../../../../environments/environment';
import { Observable } from 'rxjs';
@Injectable({
providedIn: 'root'
})
export class DefinitionService {
constructor(private _http : HttpClient) { }
getDefinitionPageDetails(IncomingReportId : number, reportMode: string): Observable <any>
{
return this._http.get(environment.baseUrl + "report/wizard/retrieve_def_tab_wise_data/" + IncomingReportId, { headers: new HttpHeaders({'Content-Type': 'application/json'})});
}
portDefinitionPageDetails(IncomingReportId: number, finalPostObj : any): Observable <any>
{
return this._http.post(environment.baseUrl + "report/wizard/save_def_tab_data/" + IncomingReportId, finalPostObj, { headers: new HttpHeaders({'Content-Type': 'application/json'})});
}
}
|