From e15e05943a98368be3e977d58cb8a3163fe6bf10 Mon Sep 17 00:00:00 2001 From: JUNG YI DAM Date: Tue, 6 Sep 2022 04:08:05 +0000 Subject: [PATCH] =?UTF-8?q?=EC=BD=A4=ED=94=84=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../compose/comp-compose.component.html | 110 ++++-------------- .../compose/compose/comp-compose.component.ts | 30 +---- 2 files changed, 28 insertions(+), 112 deletions(-) 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 */