Google Video added
This commit is contained in:
parent
1d5eaffe95
commit
19b1d9743d
@ -113,6 +113,11 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
|
|
||||||
FabOptions = {
|
FabOptions = {
|
||||||
buttons: [
|
buttons: [
|
||||||
|
{
|
||||||
|
icon: 'video_call',
|
||||||
|
placeholder:'Google Meet',
|
||||||
|
btnValue:'G_Meet'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
icon: 'camera',
|
icon: 'camera',
|
||||||
placeholder:'Image Capture',
|
placeholder:'Image Capture',
|
||||||
@ -123,9 +128,7 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
placeholder:'Video Chat',
|
placeholder:'Video Chat',
|
||||||
btnValue:'video'
|
btnValue:'video'
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// icon: 'room'
|
|
||||||
// },
|
|
||||||
// {
|
// {
|
||||||
// icon: 'lightbulb_outline'
|
// icon: 'lightbulb_outline'
|
||||||
// },
|
// },
|
||||||
@ -155,12 +158,22 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
});
|
});
|
||||||
// this.viewID = this.route.snapshot.params['pdid'];
|
// this.viewID = this.route.snapshot.params['pdid'];
|
||||||
// this.masterRandomString = this.route.snapshot.params['rdmstr'];
|
// this.masterRandomString = this.route.snapshot.params['rdmstr'];
|
||||||
|
this.updateGoogleVideoStatus();
|
||||||
this.viewPdDetails(this.viewID,this.masterRandomString);
|
this.viewPdDetails(this.viewID,this.masterRandomString);
|
||||||
this.getAllNotes();
|
this.getAllNotes();
|
||||||
}
|
}
|
||||||
pd_QC_Rating: Number;
|
pd_QC_Rating: Number;
|
||||||
|
|
||||||
|
updateGoogleVideoStatus() {
|
||||||
|
console.log(this.viewID);
|
||||||
|
this._pd.update_GVideoStatus(this.viewID).subscribe(data => {
|
||||||
|
if (data.status == 200) {
|
||||||
|
console.log('updateGoogleVideoStatus')
|
||||||
|
}
|
||||||
|
}, error => {
|
||||||
|
console.log('%c Something Went Wrong Try Again.! \t\"' + (error.error_type == 2 ? error.error_status + ' ( ' + error.error_text + ' ) ' : ' ( ' + error.error_text + ' ) ') +'\" Error Occur.!', 'font-weight: bold; font-size: 50px;color: red; ');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
viewPdDetails(editID: string,masterRandomString : string) {
|
viewPdDetails(editID: string,masterRandomString : string) {
|
||||||
// console.log('inside Function',masterRandomString);
|
// console.log('inside Function',masterRandomString);
|
||||||
@ -692,6 +705,9 @@ export class ViewPdComponent implements OnInit, OnDestroy {
|
|||||||
}
|
}
|
||||||
else if(event && event.btnValue == 'image') {
|
else if(event && event.btnValue == 'image') {
|
||||||
cus_link = window.location.origin+'/customer/#/pd-images/'+this.pdMasterData[0].random_string;
|
cus_link = window.location.origin+'/customer/#/pd-images/'+this.pdMasterData[0].random_string;
|
||||||
|
} else if(event && event.btnValue == 'G_Meet'){
|
||||||
|
console.log('G_meet')
|
||||||
|
cus_link = 'http://meet.google.com/'+this.pdMasterData[0].gmeet_code;
|
||||||
}
|
}
|
||||||
// return;
|
// return;
|
||||||
// let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr;
|
// let cus_link = window.location.origin+'/customer/#/pd-images/'+randomStr;
|
||||||
|
|||||||
@ -304,6 +304,13 @@ export class PdTrigerService {
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
update_GVideoStatus(pdid: any): Observable<any> {
|
||||||
|
return this._http.get(this.apiUrl+'updateGoogleVideoStatus?pdid='+pdid)
|
||||||
|
.pipe(
|
||||||
|
catchError(this.handleError('role', []))
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
// update pd applicant
|
// update pd applicant
|
||||||
updatePdApplicant(editData: any): Observable<any> {
|
updatePdApplicant(editData: any): Observable<any> {
|
||||||
// editData.fk_updatedby = this._aws.getlocale();
|
// editData.fk_updatedby = this._aws.getlocale();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user