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 ) {}