diff --git a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts index 384506d25..ddeb2d637 100755 --- a/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts +++ b/ng6-seed/src/app/personal-discussion/manage-pd/list-pd/view-pd/view-pd.component.ts @@ -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() diff --git a/ng6-seed/src/app/quality-check/qc-list/qc-view/qc-view.component.ts b/ng6-seed/src/app/quality-check/qc-list/qc-view/qc-view.component.ts index dc2b61fda..5aebabbe6 100755 --- a/ng6-seed/src/app/quality-check/qc-list/qc-view/qc-view.component.ts +++ b/ng6-seed/src/app/quality-check/qc-list/qc-view/qc-view.component.ts @@ -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()