|
|
|
@ -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,6 +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;
|
|
|
|
@ -1151,10 +1153,17 @@ export class WorklistMainComponent implements OnInit {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
getMonthNameShort(lang,month) {
|
|
|
|
getMonthNameShort(lang,month) {
|
|
|
|
lang = lang && (lang in this.locale) ? lang : 'en';
|
|
|
|
lang = lang && (lang in this.locale) ? lang : 'en';
|
|
|
|
return this.locale[lang].month_names_short[month];
|
|
|
|
return this.locale[lang].month_names_short[month];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
showLoading( notificationList ) {
|
|
|
|
|
|
|
|
if (notificationList.length < 0) {
|
|
|
|
|
|
|
|
return true;
|
|
|
|
|
|
|
|
} else if (notificationList === []){
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
} else {return true;}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|