dialogue changes

This commit is contained in:
gandhimathi 2018-12-05 19:18:55 +05:30
parent 94626cb671
commit 3b1edb9e2a
2 changed files with 12 additions and 12 deletions

View File

@ -150,8 +150,8 @@ export class ViewPdComponent implements OnInit, OnDestroy {
if(pdData.fk_pd_type == 1){
const dialogRef = this.dialog.open(PdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true
});
dialogRef.afterClosed()
@ -163,8 +163,8 @@ export class ViewPdComponent implements OnInit, OnDestroy {
else if(pdData.fk_pd_type == 2){
const dialogRef = this.dialog.open(SmartPdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true
});
dialogRef.afterClosed()
@ -177,8 +177,8 @@ export class ViewPdComponent implements OnInit, OnDestroy {
else if(pdData.fk_pd_type == 3){
const dialogRef = this.dialog.open(TelePdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true,
});
dialogRef.afterClosed()

View File

@ -112,8 +112,8 @@ export class QcViewComponent implements OnInit, OnDestroy {
if(pdData.fk_pd_type == 1){
const dialogRef = this.dialog.open(PdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true
});
dialogRef.afterClosed()
@ -125,8 +125,8 @@ export class QcViewComponent implements OnInit, OnDestroy {
else if(pdData.fk_pd_type == 2){
const dialogRef = this.dialog.open(SmartPdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true
});
dialogRef.afterClosed()
@ -139,8 +139,8 @@ export class QcViewComponent implements OnInit, OnDestroy {
else if(pdData.fk_pd_type == 3){
const dialogRef = this.dialog.open(TelePdAllocationComponent, {
data: pdData,
width: '60%',
maxHeight: '60%',
position: { right: '0'},
width: '80%',
disableClose: true,
});
dialogRef.afterClosed()