family waiting
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
<ion-grid class="fam1">
|
||||
<ion-row class="pend-row" *ngFor="let item of myOffersData">
|
||||
<ion-col class="famleft"
|
||||
[style.backgroundImage]="'url(https://www.wrenchboard.com/assets/images/apps/offerslist/'+item.banner+')'"
|
||||
[style.backgroundImage]="'url('+session_image_server+'/'+curr_session+'/job/'+item.job_uid+')'"
|
||||
[style.background-size]="contain"
|
||||
></ion-col>
|
||||
<ion-col class="mid_place">
|
||||
|
||||
@@ -10,7 +10,8 @@ import {Router} from "@angular/router";
|
||||
styleUrls: ['./familypending.component.scss'],
|
||||
})
|
||||
export class FamilypendingComponent implements OnInit {
|
||||
|
||||
session_image_server:string='';
|
||||
curr_session:string="";
|
||||
constructor(
|
||||
public router: Router,
|
||||
public sessionDataProviderService: SessionDataProviderService,
|
||||
@@ -88,6 +89,7 @@ export class FamilypendingComponent implements OnInit {
|
||||
myOffersTotalData:any;
|
||||
myOffersData: [];
|
||||
getMyOffersData(){
|
||||
this.curr_session = this.sessionDataProviderService.session;
|
||||
this.usrData = {action:15010,
|
||||
member_id: this.sessionDataProviderService.member_id,
|
||||
uid: this.sessionDataProviderService.member_uid,
|
||||
@@ -98,6 +100,7 @@ export class FamilypendingComponent implements OnInit {
|
||||
myOffersTotalData => {
|
||||
this.myOffersTotalData = myOffersTotalData;
|
||||
console.log("myOffersTotalData RETURN->", this.myOffersTotalData);
|
||||
this.session_image_server = this.myOffersTotalData.session_image_server;
|
||||
this.myOffersData = this.myOffersTotalData.result_list;
|
||||
console.log("myOffersData RETURN DATA->", this.myOffersData);
|
||||
this.total_offers = this.myOffersData.length;
|
||||
|
||||
Reference in New Issue
Block a user