AI Changes:FAIROJ
This commit is contained in:
commit
7d6b9204d0
File diff suppressed because one or more lines are too long
2067
package-lock.json
generated
2067
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -36,6 +36,7 @@
|
|||||||
"@ionic-native/sqlite": "^4.19.0",
|
"@ionic-native/sqlite": "^4.19.0",
|
||||||
"@ionic-native/status-bar": "^4.16.0",
|
"@ionic-native/status-bar": "^4.16.0",
|
||||||
"@ionic/storage": "2.1.3",
|
"@ionic/storage": "2.1.3",
|
||||||
|
"@netbasal/content-loader": "^1.1.0",
|
||||||
"@types/chart.js": "^2.7.40",
|
"@types/chart.js": "^2.7.40",
|
||||||
"amazon-cognito-identity-js": "^3.0.3",
|
"amazon-cognito-identity-js": "^3.0.3",
|
||||||
"chart.js": "^2.7.3",
|
"chart.js": "^2.7.3",
|
||||||
|
|||||||
@ -118,6 +118,7 @@ import { PdQuestionSalaryInfoPage } from '../pages/pd-question/pd-question-salar
|
|||||||
import { LocationAccuracy } from '@ionic-native/location-accuracy';
|
import { LocationAccuracy } from '@ionic-native/location-accuracy';
|
||||||
import {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'
|
import {PdQuestionAssessedSummaryPage} from '../pages/pd-question/pd-question-assessed-summary/pd-question-assessed-summary'
|
||||||
import { NgxMatSelectSearchModule} from 'ngx-mat-select-search'
|
import { NgxMatSelectSearchModule} from 'ngx-mat-select-search'
|
||||||
|
import { ContentLoaderModule } from '@netbasal/content-loader';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
@ -204,7 +205,8 @@ import { NgxMatSelectSearchModule} from 'ngx-mat-select-search'
|
|||||||
MatTabsModule,
|
MatTabsModule,
|
||||||
MatToolbarModule,
|
MatToolbarModule,
|
||||||
MatTooltipModule,
|
MatTooltipModule,
|
||||||
MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule
|
MatStepperModule,HttpClientModule,IonicImageViewerModule,NgxMatSelectSearchModule,
|
||||||
|
ContentLoaderModule
|
||||||
],
|
],
|
||||||
bootstrap: [IonicApp],
|
bootstrap: [IonicApp],
|
||||||
entryComponents: [
|
entryComponents: [
|
||||||
|
|||||||
@ -105,6 +105,18 @@
|
|||||||
<ion-slide>
|
<ion-slide>
|
||||||
<!-- <ion-list *ngSwitchCase="'inpro'"> -->
|
<!-- <ion-list *ngSwitchCase="'inpro'"> -->
|
||||||
<ion-grid class="fadeIn">
|
<ion-grid class="fadeIn">
|
||||||
|
<div *ngIf="pdlistaccess else allocateaccess">
|
||||||
|
<div *ngFor="let i of [1,2,3,4,5]">
|
||||||
|
<content-loader>
|
||||||
|
<svg:rect x="80" y="40" rx="5" ry="5" width="300" height="70" />
|
||||||
|
|
||||||
|
<svg:circle cx="40" cy="70" r="30" stroke="3" stroke-width="3" fill="red" />
|
||||||
|
|
||||||
|
</content-loader>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<ng-template #allocateaccess>
|
||||||
|
|
||||||
<mat-card class="md-box" reorder="true" *ngFor="let progess of pdinprogress;let i = index;">
|
<mat-card class="md-box" reorder="true" *ngFor="let progess of pdinprogress;let i = index;">
|
||||||
|
|
||||||
<ion-list >
|
<ion-list >
|
||||||
@ -136,6 +148,7 @@
|
|||||||
</ion-list>
|
</ion-list>
|
||||||
<hr/>
|
<hr/>
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
</ng-template>
|
||||||
</ion-grid>
|
</ion-grid>
|
||||||
<!-- </ion-list> -->
|
<!-- </ion-list> -->
|
||||||
</ion-slide>
|
</ion-slide>
|
||||||
@ -147,8 +160,22 @@
|
|||||||
<ion-slide>
|
<ion-slide>
|
||||||
<!-- <ion-list *ngSwitchCase="'past'"> -->
|
<!-- <ion-list *ngSwitchCase="'past'"> -->
|
||||||
<ion-grid class="fadeIn">
|
<ion-grid class="fadeIn">
|
||||||
|
<div *ngIf="pdlistaccess else access">
|
||||||
|
<div *ngFor="let i of [1,2,3,4,5]">
|
||||||
|
<content-loader>
|
||||||
|
<svg:rect x="80" y="40" rx="5" ry="5" width="300" height="70" />
|
||||||
|
|
||||||
|
<svg:circle cx="40" cy="70" r="30" stroke="3" stroke-width="3" fill="red" />
|
||||||
|
|
||||||
|
</content-loader>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- {{access}} -->
|
||||||
|
<ng-template #access>
|
||||||
<mat-card class="md-box" reorder="true" *ngFor="let progess of pdschduleDetails;let i = index;">
|
<mat-card class="md-box" reorder="true" *ngFor="let progess of pdschduleDetails;let i = index;">
|
||||||
<ion-list >
|
|
||||||
|
|
||||||
|
<ion-list >
|
||||||
<ion-item (click)="PdAllocation(progess)">
|
<ion-item (click)="PdAllocation(progess)">
|
||||||
<ion-icon item-start="" class="lettericon" [style.background]="bgColorPast[i]">{{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}</ion-icon>
|
<ion-icon item-start="" class="lettericon" [style.background]="bgColorPast[i]">{{progess.applicat_details[0].applicant_name | slice : 0 :1 | uppercase}}</ion-icon>
|
||||||
<ion-row>
|
<ion-row>
|
||||||
@ -181,7 +208,9 @@
|
|||||||
|
|
||||||
</ion-list>
|
</ion-list>
|
||||||
<hr/>
|
<hr/>
|
||||||
|
|
||||||
</mat-card>
|
</mat-card>
|
||||||
|
</ng-template>
|
||||||
</ion-grid>
|
</ion-grid>
|
||||||
<!-- </ion-list> -->
|
<!-- </ion-list> -->
|
||||||
</ion-slide>
|
</ion-slide>
|
||||||
|
|||||||
@ -119,15 +119,15 @@ export class PdListPage {
|
|||||||
|
|
||||||
let userid = this.aws.getlocale();
|
let userid = this.aws.getlocale();
|
||||||
//.log("User",userid)
|
//.log("User",userid)
|
||||||
|
this.pdlistaccess = true;
|
||||||
|
|
||||||
this.pdofficer.getpddetails(userid).subscribe(res=>
|
this.pdofficer.getpddetails(userid).subscribe(res=>
|
||||||
{
|
{
|
||||||
this.pdlistdetails = res;
|
this.pdlistdetails = res;
|
||||||
if(this.pdlistdetails.dataStatus == true)
|
if(this.pdlistdetails.dataStatus == true)
|
||||||
{
|
{
|
||||||
|
this.pdlistaccess = false;
|
||||||
|
|
||||||
|
|
||||||
this.pdlistaccess = true;
|
|
||||||
this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status =="ACCEPTED" || sch.pd_status =="SCHEDULED" || sch.pd_status =="INITIATED" || sch.pd_status =="STARTED" || sch.pd_status =="INPROGRESS" && sch.applicat_details);
|
this.pdschduleDetails = this.pdlistdetails.records.filter(sch=>sch.pd_status =="ACCEPTED" || sch.pd_status =="SCHEDULED" || sch.pd_status =="INITIATED" || sch.pd_status =="STARTED" || sch.pd_status =="INPROGRESS" && sch.applicat_details);
|
||||||
this.searchpast = this.pdschduleDetails;
|
this.searchpast = this.pdschduleDetails;
|
||||||
|
|
||||||
@ -169,7 +169,7 @@ export class PdListPage {
|
|||||||
this.bgColor = [];
|
this.bgColor = [];
|
||||||
this.pdschduleDetails = [];
|
this.pdschduleDetails = [];
|
||||||
this.pdinprogress = [];
|
this.pdinprogress = [];
|
||||||
|
// this.pdlistaccess = true;
|
||||||
this.shared.refresh();
|
this.shared.refresh();
|
||||||
this.getpdTriggerdetails();
|
this.getpdTriggerdetails();
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user