Merge branch 'feature/BET-FRONTEND-APP-BROWSER-init' of https://gitlab.loafle.net/bet/beteran-frontend-app-browser into feature/BET-FRONTEND-APP-BROWSER-init
This commit is contained in:
commit
09ac08ce37
|
@ -109,8 +109,9 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="font-medium">
|
<div class="font-medium">
|
||||||
<button (click)="__onClickMessage($event)">
|
<button (click)="__onClickMessage($event)">
|
||||||
<mat-icon svgIcon="email-outline"></mat-icon></button
|
<mat-icon svgIcon="email-outline" color="primary"></mat-icon>
|
||||||
>(0)
|
</button>
|
||||||
|
<span style="position: absolute">(0)</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -32,9 +32,6 @@
|
||||||
<mat-label>닉네임</mat-label>
|
<mat-label>닉네임</mat-label>
|
||||||
<input matInput [formControlName]="'accountHolder'" />
|
<input matInput [formControlName]="'accountHolder'" />
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-error *ngIf="composeForm.get('accountHolder')?.hasError('required')">
|
|
||||||
닉네임은 필수 입력입니다.
|
|
||||||
</mat-error>
|
|
||||||
|
|
||||||
<!-- Holding comp -->
|
<!-- Holding comp -->
|
||||||
<mat-form-field>
|
<mat-form-field>
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
class="example-element-row"
|
class="example-element-row"
|
||||||
[class.example-expanded-row]="expandedElement === element"
|
[class.example-expanded-row]="expandedElement === element"
|
||||||
(click)="expandedElement = expandedElement === element ? null : element"
|
(click)="expandedElement = expandedElement === element ? null : element"
|
||||||
style="cursor: default"
|
style="cursor: default; font-weight: bold"
|
||||||
>
|
>
|
||||||
</mat-row>
|
</mat-row>
|
||||||
<mat-row
|
<mat-row
|
||||||
|
|
|
@ -13,19 +13,20 @@
|
||||||
</div>
|
</div>
|
||||||
<form
|
<form
|
||||||
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
|
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
|
||||||
[formGroup]="composeForm"
|
[formGroup]="customerRegistrationComposeForm"
|
||||||
>
|
>
|
||||||
<div>
|
<mat-form-field>
|
||||||
<mat-form-field
|
<mat-label>제목</mat-label>
|
||||||
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
|
<input matInput [formControlName]="'title'" />
|
||||||
|
<mat-error
|
||||||
|
*ngIf="
|
||||||
|
customerRegistrationComposeForm?.get('title')?.hasError('required')
|
||||||
|
"
|
||||||
>
|
>
|
||||||
<mat-label>제목</mat-label>
|
제목은 필수 입력입니다.
|
||||||
<input matInput [formControlName]="'title'" />
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
</div>
|
<mat-form-field>
|
||||||
<mat-form-field
|
|
||||||
class="mt-8 fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
|
|
||||||
>
|
|
||||||
<textarea
|
<textarea
|
||||||
matInput
|
matInput
|
||||||
[required]="true"
|
[required]="true"
|
||||||
|
@ -34,6 +35,13 @@
|
||||||
[formControlName]="'content'"
|
[formControlName]="'content'"
|
||||||
></textarea>
|
></textarea>
|
||||||
<mat-label>내용</mat-label>
|
<mat-label>내용</mat-label>
|
||||||
|
<mat-error
|
||||||
|
*ngIf="
|
||||||
|
customerRegistrationComposeForm?.get('content')?.hasError('required')
|
||||||
|
"
|
||||||
|
>
|
||||||
|
내용은 필수 입력입니다.
|
||||||
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<div class="flex flex-col sm:flex-row sm:items-center mt-4 sm:mt-6">
|
<div class="flex flex-col sm:flex-row sm:items-center mt-4 sm:mt-6">
|
||||||
<div class="flex mt-4 sm:mt-0">
|
<div class="flex mt-4 sm:mt-0">
|
||||||
|
|
|
@ -25,7 +25,7 @@ import { MatDialogRef } from '@angular/material/dialog';
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class CustomerRegistrationComposeComponent implements OnInit {
|
export class CustomerRegistrationComposeComponent implements OnInit {
|
||||||
composeForm!: FormGroup;
|
customerRegistrationComposeForm!: FormGroup;
|
||||||
|
|
||||||
dataSource = ELEMENT_DATA;
|
dataSource = ELEMENT_DATA;
|
||||||
columnsToDisplay = ['idx', 'content', 'applicationDate'];
|
columnsToDisplay = ['idx', 'content', 'applicationDate'];
|
||||||
|
@ -48,9 +48,9 @@ export class CustomerRegistrationComposeComponent implements OnInit {
|
||||||
*/
|
*/
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
// Create the form
|
// Create the form
|
||||||
this.composeForm = this._formBuilder.group({
|
this.customerRegistrationComposeForm = this._formBuilder.group({
|
||||||
accountHolder: ['', [Validators.required]],
|
title: ['', [Validators.required]],
|
||||||
amount: ['', [Validators.required]],
|
content: ['', [Validators.required]],
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -48,7 +48,7 @@
|
||||||
class="example-element-row"
|
class="example-element-row"
|
||||||
[class.example-expanded-row]="expandedElement === element"
|
[class.example-expanded-row]="expandedElement === element"
|
||||||
(click)="expandedElement = expandedElement === element ? null : element"
|
(click)="expandedElement = expandedElement === element ? null : element"
|
||||||
style="cursor: default"
|
style="cursor: default; font-weight: bold"
|
||||||
>
|
>
|
||||||
</mat-row>
|
</mat-row>
|
||||||
<mat-row
|
<mat-row
|
||||||
|
|
Loading…
Reference in New Issue
Block a user