blob: 1b046334eaa841b0336bb3583b894cc834edc6e0 (
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 } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root'
})
export class DashboardReportService {
constructor(private _http : HttpClient) { }
getReportData(reportId : string) : Observable<any>
{
return this._http.get(environment.baseUrl + "raptor.htm?action=report.run.container&c_master="+reportId+"&refresh=Y");
}
getReportDataWithFormFields(queryString : string, reportId : string) : Observable<any>
{
return this._http.get(environment.baseUrl + "raptor.htm?action=report.run.container&c_master="+reportId+queryString+"&refresh=Y&display_content=Y&r_page=0");
}
}
|