fixed sfh issues

MOHEMM-SFH-COLORS
umasoodch 4 years ago
parent ac278e8051
commit f7f51a05e8

@ -49,9 +49,12 @@
<!-- NOT ADDRESS & BASIC_DETAILS --> <!-- NOT ADDRESS & BASIC_DETAILS -->
<ion-col <ion-col
*ngIf="getPassNotificationDetails?.REQUEST_TYPE != 'ADDRESS' && getPassNotificationDetails?.REQUEST_TYPE != 'BASIC_DETAILS' "> *ngIf="getPassNotificationDetails?.REQUEST_TYPE != 'ADDRESS' && getPassNotificationDetails?.REQUEST_TYPE != 'BASIC_DETAILS' ">
<div *ngIf="notificationBodyRes?.length == 0 "> <div *ngIf="showInformation">
<p>{{'worklist, loading'| translate}} <img style="width: 3%;" src="../assets/icon/progress-loading.gif"/></p> <p>{{'worklist, loading'| translate}} <img style="width: 3%;" src="../assets/icon/progress-loading.gif"/></p>
</div> </div>
<div class="no-data-div" *ngIf="notificationBodyRes?.length === 0 && !showInformation">
<p>{{ 'general, empty' | translate}}</p>
</div>
<div *ngIf="notificationBodyRes?.length > 0 "> <div *ngIf="notificationBodyRes?.length > 0 ">
<ion-card *ngFor="let item of notificationBodyRes;let i=index; " <ion-card *ngFor="let item of notificationBodyRes;let i=index; "
style="width: 91%;"> style="width: 91%;">
@ -126,6 +129,13 @@
<!-- IF BASIC_DETAILS --> <!-- IF BASIC_DETAILS -->
<ion-col *ngIf="getPassNotificationDetails?.REQUEST_TYPE == 'BASIC_DETAILS' || <ion-col *ngIf="getPassNotificationDetails?.REQUEST_TYPE == 'BASIC_DETAILS' ||
getPassNotificationDetails?.REQUEST_TYPE == 'ADDRESS'"> getPassNotificationDetails?.REQUEST_TYPE == 'ADDRESS'">
<div *ngIf="showInformation">
<p>{{'worklist, loading'| translate}} <img style="width: 3%;" src="../assets/icon/progress-loading.gif"/></p>
</div>
<div class="no-data-div" *ngIf="notificationBodyRes?.length === 0 && !showInformation">
<p>{{ 'general, empty' | translate}}</p>
</div>
<div *ngIf='notificationBodyRes.length > 0'> <div *ngIf='notificationBodyRes.length > 0'>
<ion-card style="width: 91%;"> <ion-card style="width: 91%;">
<ion-card-content> <ion-card-content>

@ -138,6 +138,15 @@
margin: 10px; margin: 10px;
} }
.no-data-div{
background: #ffffff;
height: 100%;
text-align: center;
padding-top: 1px;
border-radius: 10px;
margin: 10px;
}
.container { .container {
font-size: 14px; font-size: 14px;
line-height: 14px; line-height: 14px;

@ -108,6 +108,7 @@ export class WorklistMainComponent implements OnInit {
closeDis: boolean = false; closeDis: boolean = false;
public selectedFilter: string; public selectedFilter: string;
public arr_hr_req_only = []; public arr_hr_req_only = [];
public showInformation = true;
constructor( constructor(
public worklistService: WorklistService, public worklistService: WorklistService,
@ -337,7 +338,7 @@ export class WorklistMainComponent implements OnInit {
} }
handleWorkListBodyResult(result, Type) { handleWorkListBodyResult(result, Type) {
this.showInformation = false;
if (this.common.validResponse(result)) { if (this.common.validResponse(result)) {
this.pInformation = result.P_INFORMATION; this.pInformation = result.P_INFORMATION;
this.pQuestion = result.P_QUESTION; this.pQuestion = result.P_QUESTION;

Loading…
Cancel
Save