현재 접속자 화면 수정

This commit is contained in:
Park Byung Eun 2022-08-15 04:21:15 +00:00
parent 453cb9dcbf
commit ac773ecc30
2 changed files with 118 additions and 91 deletions

View File

@ -167,60 +167,61 @@
</div>
<!-- Budget details -->
<div
class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden"
class="relative flex flex-col items-center flex-auto px-6 sm:px-12 sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden"
>
<div>
<div
class="sm:col-span-6 flex flex-col flex-auto p-6 bg-card shadow rounded-2xl overflow-hidden"
>
<div
class="text-lg font-medium tracking-tight leading-6 truncate"
<div class="text-lg font-medium tracking-tight leading-6 truncate">
현재 접속자 & 전체회원 쪽지보내기
</div>
<div
class="flex md:w-full md:max-w-6xl sm:rounded-2xl sm:shadow overflow-hidden sm:bg-card"
>
<div class="w-full sm:w-auto py-8 px-4 sm:p-12 md:p-16">
<form
[formGroup]="targetForm"
autocomplete="off"
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
>
현재 접속자 & 전체회원 쪽지보내기
</div>
<div class="flex flex-col flex-auto">
<form
[formGroup]="targetForm"
autocomplete="off"
class="flex flex-col flex-auto p-6 sm:p-8 overflow-y-auto"
>
<mat-card>
<mat-card-content>
<div>
<span class="font-semibold mb-2">구분</span>
<mat-radio-group
class="flex flex-col w-1/3 pr-2"
[color]="'primary'"
[value]="'b'"
>
<mat-radio-button class="mb-2" [value]="'a'">
전체
</mat-radio-button>
<mat-radio-button class="mb-2" [value]="'b'">
현재접속자
</mat-radio-button>
<mat-radio-button [value]="'c'">
본사
</mat-radio-button>
<mat-radio-button [value]="'d'">
대본
</mat-radio-button>
<mat-radio-button [value]="'e'">
부본
</mat-radio-button>
<mat-radio-button [value]="'f'">
총판
</mat-radio-button>
<mat-radio-button [value]="'g'">
매장
</mat-radio-button>
<mat-radio-button [value]="'h'">
회원
</mat-radio-button>
</mat-radio-group>
</div>
<div>
<span class="font-semibold mb-2">대본아이디</span>
<mat-card>
<mat-card-content>
<div layout="row">
<span class="font-semibold mb-2">구분</span>
<mat-radio-group
class="flex flex-row"
[color]="'primary'"
[value]="'b'"
layout="row"
>
<mat-radio-button class="mb-2 pr-2" [value]="'a'">
전체
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'b'">
현재접속자
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'c'">
본사
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'d'">
대본
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'e'">
부본
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'f'">
총판
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'g'">
매장
</mat-radio-button>
<mat-radio-button class="mb-2 pr-2" [value]="'h'">
회원
</mat-radio-button>
</mat-radio-group>
</div>
<div class="mt-8">
<span class="font-semibold mb-2 mt-8">대본아이디</span>
<div
class="inline-flex items-end justify-between w-full mt-1.5"
>
<mat-radio-group
class="flex flex-col w-1/3 pr-2"
[color]="'primary'"
@ -245,10 +246,14 @@
</mat-select>
</mat-form-field>
</div>
<div>
<span class="font-semibold mb-2">부본아이디</span>
</div>
<div class="mt-8">
<span class="font-semibold mb-2">부본아이디</span>
<div
class="inline-flex items-end justify-between w-full mt-1.5"
>
<mat-radio-group
class="flex flex-col w-1/3 pr-2"
class="flex flex-col w-2/3 pr-2"
[color]="'primary'"
[value]="'j'"
>
@ -271,22 +276,26 @@
</mat-select>
</mat-form-field>
</div>
<div class="flex">
<mat-form-field class="w-1/3 pr-2">
<mat-label>제목</mat-label>
<input matInput />
</mat-form-field>
</div>
<div class="mt-8">
<mat-form-field
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
>
<mat-label>글쓴이</mat-label>
<input matInput [formControlName]="'writer'" />
</mat-form-field>
</div>
</div>
<div class="mt-1.5">
<mat-form-field
class="mt-8 fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
>
<mat-label>제목</mat-label>
<input matInput [formControlName]="'title'" />
</mat-form-field>
</div>
<div class="mt-1.5">
<mat-form-field
class="fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
>
<mat-label>글쓴이</mat-label>
<input matInput [formControlName]="'writer'" />
</mat-form-field>
</div>
<div class="mt-1.5">
<mat-form-field
class="mt-1.5 fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
>
<textarea
matInput
@ -297,27 +306,45 @@
></textarea>
<mat-label>내용</mat-label>
</mat-form-field>
</mat-card-content>
<div>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'primary'"
>
쪽지보내기
</button>
</div>
<div>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'warn'"
>
취소
</button>
</div>
</mat-card>
</form>
</mat-card-content>
<div>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'primary'"
>
쪽지보내기
</button>
</div>
<div>
<button
mat-flat-button
class="bet-mat-small-8"
[color]="'warn'"
>
취소
</button>
</div>
</mat-card>
</form>
</div>
<div
class="relative hidden md:flex flex-auto justify-center h-full w-full pt-16 pr-16 overflow-hidden"
>
<div class="mt-1.5" style="width: 100%">
<mat-form-field
class="mt-1.5 fuse-mat-dense fuse-mat-no-subscript fuse-mat-rounded fuse-mat-bold w-full"
>
<textarea
matInput
[required]="true"
[rows]="5"
matTextareaAutosize
[formControlName]="'content'"
></textarea>
<mat-label>내용</mat-label>
</mat-form-field>
</div>
</div>
</div>

View File

@ -162,7 +162,7 @@ export class RegistComposeComponent implements OnInit {
member.setSiteId(siteId);
member.setUsername(username);
member.setPassword('beteran');
member.setPassword(password);
member.setMemberClassId(this.data.classId);
member.setMemberLevelId('c56231ac-2120-4a81-a30a-5d41fafb6c57');
member.setReferrerMemberUsername(this.data.parent.getUsername());