From 71876494d5d62203c0d603204cbed01b459ea019 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Wed, 10 Aug 2022 05:10:20 +0000 Subject: [PATCH] =?UTF-8?q?=EC=95=84=EC=9D=B4=EB=94=94=20=EC=A4=91?= =?UTF-8?q?=EB=B3=B5=20=EC=B2=B4=ED=81=AC=20=EC=99=84=EB=A3=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../partner/components/list.component.ts | 4 +- .../compose/regist-compose.component.html | 37 +++++++++++- .../compose/regist-compose.component.ts | 56 ++++++++++++++----- .../member/services/identity.service.ts | 1 + 4 files changed, 82 insertions(+), 16 deletions(-) diff --git a/src/app/modules/admin/member/partner/components/list.component.ts b/src/app/modules/admin/member/partner/components/list.component.ts index 99812d2..8bea23c 100644 --- a/src/app/modules/admin/member/partner/components/list.component.ts +++ b/src/app/modules/admin/member/partner/components/list.component.ts @@ -202,7 +202,9 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { } __onClickRegist(event: MouseEvent): void { - const dialogRef = this._matDialog.open(RegistComposeComponent); + const dialogRef = this._matDialog.open(RegistComposeComponent, { + data: { title: '대본', parentId: 'kgon2' }, + }); dialogRef.afterClosed().subscribe((result) => { console.log('Compose dialog was closed!'); diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.html b/src/app/modules/admin/member/partner/compose/regist-compose.component.html index 9e44ee9..e28e780 100644 --- a/src/app/modules/admin/member/partner/compose/regist-compose.component.html +++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.html @@ -3,7 +3,7 @@
-
대본사 생성
+
{{ data.title }} 등록