task sent message
This commit is contained in:
@@ -47,18 +47,18 @@ export class HomePage implements OnInit {
|
||||
this.enableTracking = this.sessionDataProviderService.tracking;
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
allInitFunctions(){
|
||||
if ( this.sessionDataProviderService.member_uid != ''){
|
||||
console.log("BLOG HOME 002->", this.blogDataService.blogData);
|
||||
// this.firstname = this.sessionDataProviderService.firstname;
|
||||
this.onesignalService.Init(this.sessionDataProviderService.member_uid);
|
||||
// this.onesignalService.Init(this.sessionDataProviderService.member_uid);
|
||||
this.locTrcService.startTracking();
|
||||
if (this.accountType == 'FULL'){
|
||||
this.getBlogData([]);
|
||||
this.getBannersData();
|
||||
}
|
||||
if (this.accountType == 'FAMILY'){
|
||||
// no need moved to components this.getFamilySuggestList();
|
||||
// no need moved to components this.getFamilySuggestList();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -79,7 +79,10 @@ export class OwnersjobPage implements OnInit {
|
||||
this.assigResult = assigResult;
|
||||
console.log("assigResult RETURN->", this.assigResult);
|
||||
if ( this.assigResult != undefined && this.assigResult.internal_return > 0){
|
||||
|
||||
this.assign_ind_result = "Task sent to the email;"
|
||||
setTimeout(() => {
|
||||
this.assign_ind_result ='';
|
||||
}, 3000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -90,7 +93,12 @@ export class OwnersjobPage implements OnInit {
|
||||
|
||||
}
|
||||
|
||||
reqData: {
|
||||
assigResult:any;
|
||||
assign_ind_result:string='';
|
||||
assign_mak_result:string='';
|
||||
|
||||
|
||||
reqData: {
|
||||
action:number,
|
||||
member_id: number,
|
||||
uid: string,
|
||||
@@ -147,7 +155,10 @@ console.log('XXX-> ', this.reqData );
|
||||
this.assigResult = assigResult;
|
||||
console.log("assigResult RETURN->", this.assigResult);
|
||||
if ( this.assigResult != undefined && this.assigResult.internal_return > 0){
|
||||
|
||||
this.assign_mak_result = "Task sent to market;"
|
||||
setTimeout(() => {
|
||||
this.assign_mak_result ='';
|
||||
}, 3000);
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -158,7 +169,7 @@ console.log('XXX-> ', this.reqData );
|
||||
|
||||
}
|
||||
|
||||
assigResult:any;
|
||||
|
||||
|
||||
// assignTask(reqData){
|
||||
// return this.getPostData("assigntask", reqData);
|
||||
|
||||
Reference in New Issue
Block a user