localhost api removed : ps

This commit is contained in:
VE10-Sanjeev 2022-09-10 13:04:50 +05:30
parent eba16d35ad
commit 6a3d0f8abc

View File

@ -355,10 +355,10 @@ export class PdTrigerService {
// initiate address for pd process
initiateAddressPdProcess(updateDate: any): Observable<any> {
updateDate.fk_updatedby = this._aws.getlocale();
console.log("i am 2",updateDate);
// console.log("i am 2",updateDate);
// 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(
catchError(this.handleError('operation', []))
)
@ -565,9 +565,10 @@ export class PdTrigerService {
// pd review status update details
pdReviewStatusUpdate(editData: any): Observable<any> {
editData.fk_updatedby = this._aws.getlocale();
console.log("i am 3",editData);
// console.log("i am 3",editData);
// 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(
catchError(this.handleError('operation', []))
@ -947,14 +948,14 @@ generatePDReportPDF(pdId: any): Observable<any> {
return this._http.post<any>(this.apiUrl + "generatePDReportPDF", { "records": pdId });
}
archivePDImages(Dtl : any): Observable<any> {
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>("http://localhost/AWSEC2/sparqapi/api/archivePDSMCImages", { "records": Dtl });
return this._http.post<any>(this.apiUrl + "archivePDSMCImages", { "records": Dtl });
}
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){
return this._http.post(this.apiUrl+'checkExistPDDetails',{records:datas,client:entity_id})