localhost api removed : ps
This commit is contained in:
parent
eba16d35ad
commit
6a3d0f8abc
@ -355,10 +355,10 @@ export class PdTrigerService {
|
|||||||
// initiate address for pd process
|
// initiate address for pd process
|
||||||
initiateAddressPdProcess(updateDate: any): Observable<any> {
|
initiateAddressPdProcess(updateDate: any): Observable<any> {
|
||||||
updateDate.fk_updatedby = this._aws.getlocale();
|
updateDate.fk_updatedby = this._aws.getlocale();
|
||||||
console.log("i am 2",updateDate);
|
// console.log("i am 2",updateDate);
|
||||||
// editData.updatedon = currentdate;
|
// editData.updatedon = currentdate;
|
||||||
return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: updateDate })
|
// return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: updateDate })
|
||||||
|
return this._http.post<any>(this.apiUrl + "updatePDMaster", { records: updateDate })
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError(this.handleError('operation', []))
|
catchError(this.handleError('operation', []))
|
||||||
)
|
)
|
||||||
@ -565,9 +565,10 @@ export class PdTrigerService {
|
|||||||
// pd review status update details
|
// pd review status update details
|
||||||
pdReviewStatusUpdate(editData: any): Observable<any> {
|
pdReviewStatusUpdate(editData: any): Observable<any> {
|
||||||
editData.fk_updatedby = this._aws.getlocale();
|
editData.fk_updatedby = this._aws.getlocale();
|
||||||
console.log("i am 3",editData);
|
// console.log("i am 3",editData);
|
||||||
// editData.updatedon = currentdate;
|
// editData.updatedon = currentdate;
|
||||||
return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: editData })
|
// return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/updatePDMaster", { records: editData })
|
||||||
|
return this._http.post<any>(this.apiUrl + "updatePDMaster", { records: editData })
|
||||||
|
|
||||||
.pipe(
|
.pipe(
|
||||||
catchError(this.handleError('operation', []))
|
catchError(this.handleError('operation', []))
|
||||||
@ -947,14 +948,14 @@ generatePDReportPDF(pdId: any): Observable<any> {
|
|||||||
return this._http.post<any>(this.apiUrl + "generatePDReportPDF", { "records": pdId });
|
return this._http.post<any>(this.apiUrl + "generatePDReportPDF", { "records": pdId });
|
||||||
}
|
}
|
||||||
archivePDImages(Dtl : any): Observable<any> {
|
archivePDImages(Dtl : any): Observable<any> {
|
||||||
return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/archivePDSMCImages", { "records": Dtl });
|
// return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/archivePDSMCImages", { "records": Dtl });
|
||||||
// return this._http.post<any>(this.apiUrl + "archivePDSMCImages", { "records": Dtl });
|
return this._http.post<any>(this.apiUrl + "archivePDSMCImages", { "records": Dtl });
|
||||||
}
|
}
|
||||||
photoPDFDownload(params:any): Observable<any>{
|
photoPDFDownload(params:any): Observable<any>{
|
||||||
|
|
||||||
return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/smcPhotoPDFDownload", { "records": params });
|
// return this._http.post<any>("http://localhost/AWSEC2/sparqapi/api/smcPhotoPDFDownload", { "records": params });
|
||||||
|
|
||||||
// return this._http.post<any>(this.apiUrl + "smcPhotoPDFDownload", { "records": params });
|
return this._http.post<any>(this.apiUrl + "smcPhotoPDFDownload", { "records": params });
|
||||||
}
|
}
|
||||||
checkExistPDDetails(datas,entity_id){
|
checkExistPDDetails(datas,entity_id){
|
||||||
return this._http.post(this.apiUrl+'checkExistPDDetails',{records:datas,client:entity_id})
|
return this._http.post(this.apiUrl+'checkExistPDDetails',{records:datas,client:entity_id})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user