blob: 46e83b08240e094edf54ae5cf6aeb04edf8557ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { environment } from '../../../../../../environments/environment';
@Injectable({
providedIn: 'root'
})
export class ColumnService {
constructor(private _http : HttpClient) { }
getColumnList() : Observable<any>{
return this._http.get(environment.baseUrl + "report/wizard/list_columns");
}
getIndividualColumnData(id : string) : Observable<any>
{
return this._http.get(environment.baseUrl + "report/wizard/retrieve_col_tab_wise_data/" + id);
}
getDrillDownReportList() : Observable<any>
{
return this._http.get(environment.baseUrl + "report/wizard/list_drilldown_reports");
}
getResponseTotalColsList() : Observable<any>
{
return this._http.get(environment.baseUrl + "report/wizard/retrieveTotalForTheColList");
}
getDrillDownReportColumnDetails(drillDownReportId : string) : Observable<any>
{
return this._http.get(environment.baseUrl + "report/wizard/list_child_report_ff/" + drillDownReportId);
// return this._http.get(environment.baseUrl + "report/wizard/list_child_report_ff/" + reportId);
}
getValueOfColumnDetails(reportId : number)
{
return this._http.get(environment.baseUrl + "report/wizard/list_child_report_col/" + reportId);
}
postColumnChanges(finalPOSTObj : any) : Observable<any>
{
return this._http.post(environment.baseUrl + "report/wizard/save_col_tab_data/", finalPOSTObj);
}
}
|