fix page P_PAGE_LIMIT

MOHEMM-Q3-DEV-LATEST
ashwaq 6 years ago
parent 53746fc95f
commit 10458f2e0f

@ -20,7 +20,7 @@ export class ItemHistoryComponent implements OnInit {
itemHistoryRes: any; itemHistoryRes: any;
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
POItemHistoryReq:any; POItemHistoryReq:any;
getPassItemHistoreyList: any; getPassItemHistoreyList: any;
constructor( constructor(

@ -19,7 +19,7 @@ import { QuotationAnalysisResponse } from '../models/quotationAnalysisRes';
export class QutationAnalysisComponent implements OnInit { export class QutationAnalysisComponent implements OnInit {
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
POQuotationHISReq: QuotationAnalysisRequest; POQuotationHISReq: QuotationAnalysisRequest;
getPassPOItemID: any; getPassPOItemID: any;
getPassPOHeaderID: any; getPassPOHeaderID: any;
@ -59,7 +59,7 @@ console.log("getPassPOItemID: "+this.getPassPOHeaderID);
const request = new QuotationAnalysisRequest(); const request = new QuotationAnalysisRequest();
request.P_ITEM_ID=parseInt(itemID); request.P_ITEM_ID=parseInt(itemID);
request.P_PO_HEADER_ID=headerID; request.P_PO_HEADER_ID=headerID;
request.P_PAGE_LIMIT=50; request.P_PAGE_LIMIT=100;
request.P_PAGE_NUM=1; request.P_PAGE_NUM=1;
this.worklistMainService.getQutationAnalysis(request). this.worklistMainService.getQutationAnalysis(request).
subscribe((result: QuotationAnalysisResponse) => { subscribe((result: QuotationAnalysisResponse) => {

@ -19,7 +19,7 @@ export class WorkListActionHistoryComponent implements OnInit {
actionHistoryRes: any; actionHistoryRes: any;
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
constructor(private cs: CommonService, private ts: TranslatorService, private modalCtrl: ModalController, public worklistService: WorklistService) { constructor(private cs: CommonService, private ts: TranslatorService, private modalCtrl: ModalController, public worklistService: WorklistService) {
this.getPassNotificationDetails = this.cs.sharedService.getSharedData('passNotificationInfo'); this.getPassNotificationDetails = this.cs.sharedService.getSharedData('passNotificationInfo');

@ -28,7 +28,7 @@ export class WorkListRfcComponent implements OnInit {
userNote: any; userNote: any;
getpassResAttr: any = []; getpassResAttr: any = [];
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
constructor(public worklistService: WorklistService, private cs: CommonService, private ts: TranslatorService, public workListMainService: WorklistMainService) { constructor(public worklistService: WorklistService, private cs: CommonService, private ts: TranslatorService, public workListMainService: WorklistMainService) {
this.getPassNotificationDetails = this.cs.sharedService.getSharedData('passNotificationInfo'); this.getPassNotificationDetails = this.cs.sharedService.getSharedData('passNotificationInfo');

@ -74,7 +74,7 @@ export class WorklistMainMRComponent implements OnInit {
PRLines:any;//change the tpye later PRLines:any;//change the tpye later
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
headerTotal: any; headerTotal: any;
totalH: any; totalH: any;
valueH: any; valueH: any;

@ -80,7 +80,7 @@ export class WorklistMainPoComponent implements OnInit {
PRLines:any;//change the tpye later PRLines:any;//change the tpye later
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
headerTotal: any; headerTotal: any;
totalH: any; totalH: any;
valueH: any; valueH: any;
@ -773,7 +773,7 @@ export class WorklistMainPoComponent implements OnInit {
this.IsReachEnd = false; this.IsReachEnd = false;
const request = new POItemHistoryRequest(); const request = new POItemHistoryRequest();
request.P_ITEM_ID=parseInt(itemID); request.P_ITEM_ID=parseInt(itemID);
request.P_PAGE_LIMIT=50; request.P_PAGE_LIMIT=100;
request.P_PAGE_NUM=1; request.P_PAGE_NUM=1;
this.worklistMainService.getPOItemHistory(request). this.worklistMainService.getPOItemHistory(request).
subscribe((result: POItemHistoryRes) => { subscribe((result: POItemHistoryRes) => {
@ -812,7 +812,7 @@ export class WorklistMainPoComponent implements OnInit {
const request = new QuotationAnalysisRequest(); const request = new QuotationAnalysisRequest();
request.P_ITEM_ID=parseInt(itemID); request.P_ITEM_ID=parseInt(itemID);
request.P_PO_HEADER_ID=headerID; request.P_PO_HEADER_ID=headerID;
request.P_PAGE_LIMIT=50; request.P_PAGE_LIMIT=100;
request.P_PAGE_NUM=1; request.P_PAGE_NUM=1;
this.worklistMainService.getQutationAnalysis(request). this.worklistMainService.getQutationAnalysis(request).
subscribe((result: QuotationAnalysisResponse) => { subscribe((result: QuotationAnalysisResponse) => {
@ -898,6 +898,7 @@ export class WorklistMainPoComponent implements OnInit {
// infiniteScroll.target.complete(); // infiniteScroll.target.complete();
} }
}//end infiniteScroll }//end infiniteScroll
loadMoreActionHistory() { loadMoreActionHistory() {
console.log("doInfinite action history MR"); console.log("doInfinite action history MR");

@ -73,7 +73,7 @@ export class WorklistMainPRComponent implements OnInit {
PRLines: any;//change the tpye later PRLines: any;//change the tpye later
IsReachEnd: boolean = false; IsReachEnd: boolean = false;
P_PAGE_NUM: number = 1; P_PAGE_NUM: number = 1;
P_PAGE_LIMIT: number = 50; P_PAGE_LIMIT: number = 100;
headerTotal: any; headerTotal: any;
totalH: any; totalH: any;
valueH: any; valueH: any;

@ -87,7 +87,7 @@ export class WorklistMainComponent implements OnInit {
this.WorkListBodyObj.P_TRANSACTION_ID = this.TransactionID; this.WorkListBodyObj.P_TRANSACTION_ID = this.TransactionID;
this.WorkListBodyObj.P_NOTIFICATION_ID = this.getPassNotificationDetails.NOTIFICATION_ID; this.WorkListBodyObj.P_NOTIFICATION_ID = this.getPassNotificationDetails.NOTIFICATION_ID;
this.WorkListBodyObj.P_PAGE_NUM = 1; this.WorkListBodyObj.P_PAGE_NUM = 1;
this.WorkListBodyObj.P_PAGE_LIMIT = 50; this.WorkListBodyObj.P_PAGE_LIMIT = 100;
this.WorkListButtonsObj.P_NOTIFICATION_ID = this.getPassNotificationDetails.NOTIFICATION_ID; this.WorkListButtonsObj.P_NOTIFICATION_ID = this.getPassNotificationDetails.NOTIFICATION_ID;

@ -37,7 +37,7 @@ export class HomeComponent implements OnInit {
constructor(public vacationRuleService: VacationRuleServiceService, public ts: TranslatorService, public cs: CommonService, private router: Router) { constructor(public vacationRuleService: VacationRuleServiceService, public ts: TranslatorService, public cs: CommonService, private router: Router) {
this.P_PAGE_NUM = 1; this.P_PAGE_NUM = 1;
this.P_PAGE_LIMIT = 50; this.P_PAGE_LIMIT = 100;
//this.button = new ButtonInput('btnSubmit', 'Submit', 'containerDiv', 'Y'); //this.button = new ButtonInput('btnSubmit', 'Submit', 'containerDiv', 'Y');
// this.dateTime = new DateTimeInput('Start Date', 'SDate', '', 'containerDiv', 'Y', 'Y', 'Y'); // this.dateTime = new DateTimeInput('Start Date', 'SDate', '', 'containerDiv', 'Y', 'Y', 'Y');

Loading…
Cancel
Save