approve jobs
This commit is contained in:
@@ -48,7 +48,9 @@
|
||||
<ion-label>{{item.client_name}}</ion-label>
|
||||
</ion-item>
|
||||
<div class="ion-padding" slot="content">
|
||||
<app-interest-card></app-interest-card>
|
||||
<app-interest-card [intData]="item"
|
||||
[intResponse]="intResponse"
|
||||
></app-interest-card>
|
||||
</div>
|
||||
</ion-accordion>
|
||||
<!-- <ion-accordion value="second">-->
|
||||
|
||||
@@ -15,6 +15,7 @@ export class JobintprocessPage implements OnInit {
|
||||
|
||||
jobData: any;
|
||||
allInterest: any;
|
||||
selected_job_uid:string='';
|
||||
|
||||
constructor( private navctr: NavController,
|
||||
private router: Router,
|
||||
@@ -29,14 +30,19 @@ export class JobintprocessPage implements OnInit {
|
||||
if (this.jobData==undefined){
|
||||
this.onBack();
|
||||
}
|
||||
this.selected_job_uid = this.jobData.job_uid;
|
||||
this.filterInterestList(this.allInterest);
|
||||
}
|
||||
|
||||
filterIntList:any;
|
||||
filterIntList:[];
|
||||
filterInterestList(newAllInterest){
|
||||
this.filterIntList = newAllInterest;
|
||||
this.filterIntList = newAllInterest.filter((item)=> item.job_uid == this.selected_job_uid);
|
||||
// his.jobsData = AllResult.filter((item) => item.status_description == 'ACTIVE')
|
||||
}
|
||||
|
||||
intResponse(itemData, approveStatus){
|
||||
//alert("It is me");
|
||||
}
|
||||
|
||||
|
||||
ngOnInit() {
|
||||
|
||||
Reference in New Issue
Block a user