diff --git a/src/app/modules/beteran/compose/compose/comp-compose.component.html b/src/app/modules/beteran/compose/compose/comp-compose.component.html index a8b20be..a44b7ba 100644 --- a/src/app/modules/beteran/compose/compose/comp-compose.component.html +++ b/src/app/modules/beteran/compose/compose/comp-compose.component.html @@ -3,7 +3,7 @@
-
Comp
+
콤프
+ + {{ alert.message }} +
- + - To - -
- - Cc - - - Bcc - -
+ 닉네임 +
+ + 닉네임은 필수 입력입니다. + - - - Cc - - - - - - Bcc - - - - + - Subject - + 보유콤프 + - - - - -
-
- - - - - - - - -
- -
- - - - +
+
diff --git a/src/app/modules/beteran/compose/compose/comp-compose.component.ts b/src/app/modules/beteran/compose/compose/comp-compose.component.ts index 4e4171d..0525fe7 100644 --- a/src/app/modules/beteran/compose/compose/comp-compose.component.ts +++ b/src/app/modules/beteran/compose/compose/comp-compose.component.ts @@ -1,6 +1,7 @@ import { Component, OnInit, ViewEncapsulation } from '@angular/core'; import { FormBuilder, FormGroup, Validators } from '@angular/forms'; import { MatDialogRef } from '@angular/material/dialog'; +import { FuseAlertType } from '@fuse/components/alert'; @Component({ selector: 'comp-compose', @@ -9,17 +10,11 @@ import { MatDialogRef } from '@angular/material/dialog'; }) export class CompComposeComponent implements OnInit { composeForm!: FormGroup; - copyFields: { cc: boolean; bcc: boolean } = { - cc: false, - bcc: false, - }; - quillModules: any = { - toolbar: [ - ['bold', 'italic', 'underline'], - [{ align: [] }, { list: 'ordered' }, { list: 'bullet' }], - ['clean'], - ], + alert: { type: FuseAlertType; message: string } = { + type: 'success', + message: '출금신청이 완료 되었습니다.', }; + showAlert: boolean = false; /** * Constructor @@ -51,21 +46,6 @@ export class CompComposeComponent implements OnInit { // @ Public methods // ----------------------------------------------------------------------------------------------------- - /** - * Show the copy field with the given field name - * - * @param name - */ - showCopyField(name: string): void { - // Return if the name is not one of the available names - if (name !== 'cc' && name !== 'bcc') { - return; - } - - // Show the field - this.copyFields[name] = true; - } - /** * Save and close */