console remove
This commit is contained in:
parent
3fd35ea6fa
commit
873ab9da68
@ -38,7 +38,6 @@ export class PdStatusChangeDialogueComponent implements OnInit {
|
|||||||
|
|
||||||
this.pd.pdFormsCompletenessCheck(this.data.pdid).subscribe(result => {
|
this.pd.pdFormsCompletenessCheck(this.data.pdid).subscribe(result => {
|
||||||
if (result.dataStatus === true) {
|
if (result.dataStatus === true) {
|
||||||
console.log('result',result,this.CompletenessCheck);
|
|
||||||
if(result.records.length > 0){
|
if(result.records.length > 0){
|
||||||
this.completeness_message = result.msg ;
|
this.completeness_message = result.msg ;
|
||||||
this.dialoge_subcontent = result.records;
|
this.dialoge_subcontent = result.records;
|
||||||
|
|||||||
@ -142,12 +142,10 @@ export class StartPdComponent implements OnInit, OnDestroy {
|
|||||||
dialogRef.afterClosed()
|
dialogRef.afterClosed()
|
||||||
.subscribe(dataresult => {
|
.subscribe(dataresult => {
|
||||||
if(dataresult.update_status==true){
|
if(dataresult.update_status==true){
|
||||||
console.log('if - checkType',checkType);
|
checkType==2 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2);
|
||||||
// checkType==2 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
console.log('checkType',checkType);
|
checkType==1 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2);
|
||||||
// checkType==1 ? this.router.navigate(['../../viewpd', this.pdMasterList.parent_pd_id], {relativeTo: this.route}) : this.loadTemplates(this.startPD,2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user