remove unwanted codes
This commit is contained in:
parent
de0cbc7dd3
commit
1eb2fc8c21
@ -40,14 +40,12 @@ export class PdTrigerService {
|
|||||||
|
|
||||||
// get add pd master details
|
// get add pd master details
|
||||||
getAllMasterDatas(TableName: string): Observable<any> {
|
getAllMasterDatas(TableName: string): Observable<any> {
|
||||||
console.log('table', TableName);
|
|
||||||
return this._http.post(this.apiUrl + 'getListOfMaster', {"master_name": TableName})
|
return this._http.post(this.apiUrl + 'getListOfMaster', {"master_name": TableName})
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError(this.handleError('role', []))
|
catchError(this.handleError('role', []))
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
saveForm(records: any): Observable<any> {
|
saveForm(records: any): Observable<any> {
|
||||||
console.log('table', records);
|
|
||||||
records.fk_createdby = this._aws.getlocale();
|
records.fk_createdby = this._aws.getlocale();
|
||||||
let params = {records}
|
let params = {records}
|
||||||
return this._http.post(this.apiUrl + 'savePDFormDetails', params)
|
return this._http.post(this.apiUrl + 'savePDFormDetails', params)
|
||||||
@ -56,7 +54,6 @@ export class PdTrigerService {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
retriveForm(params): Observable<any> {
|
retriveForm(params): Observable<any> {
|
||||||
console.log('data', params);
|
|
||||||
return this._http.post(this.apiUrl + 'getPDFormDetails', params)
|
return this._http.post(this.apiUrl + 'getPDFormDetails', params)
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError(this.handleError('role', []))
|
catchError(this.handleError('role', []))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user