From 4630d9551c6a60d709bdfb0e0d8298636d1c29a1 Mon Sep 17 00:00:00 2001 From: Park Byung Eun Date: Mon, 8 Aug 2022 10:34:00 +0000 Subject: [PATCH] =?UTF-8?q?=EC=A7=84=ED=96=89=EC=A4=91...?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../compose/regist-compose.component.ts | 23 +++++++++++++++++-- 1 file changed, 21 insertions(+), 2 deletions(-) diff --git a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts index 3f0319b..6ec4439 100644 --- a/src/app/modules/admin/member/partner/compose/regist-compose.component.ts +++ b/src/app/modules/admin/member/partner/compose/regist-compose.component.ts @@ -1,6 +1,24 @@ -import { Component, OnInit, ViewEncapsulation } from '@angular/core'; +import { Component, Inject, OnInit, ViewEncapsulation } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; -import { MatDialogRef } from '@angular/material/dialog'; +import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material/dialog'; + +export interface RegistComposeData { + title: string; + parentId: string; +} +export interface RegistComposeResult { + parentId: string; + siteName: string; + signinId: string; + password: string; + exchangePassword: string; + nickname: string; + calculateType: string; + phoneNumber: string; + bankName: string; + accountNumber: string; + accountHolder: string; +} @Component({ selector: 'app-regist-compose', @@ -26,6 +44,7 @@ export class RegistComposeComponent implements OnInit { */ constructor( public matDialogRef: MatDialogRef, + @Inject(MAT_DIALOG_DATA) public data: RegistComposeData, private _formBuilder: FormBuilder ) {}