fixed sfh issues

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

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

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

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

Loading…
Cancel
Save