diff --git a/src/app/modules/admin/settings/basic/basic.module.ts b/src/app/modules/admin/settings/basic/basic.module.ts index 4f8e716..69fb13c 100644 --- a/src/app/modules/admin/settings/basic/basic.module.ts +++ b/src/app/modules/admin/settings/basic/basic.module.ts @@ -11,6 +11,9 @@ import { MatRippleModule } from '@angular/material/core'; import { MatSortModule } from '@angular/material/sort'; import { MatSelectModule } from '@angular/material/select'; import { MatTooltipModule } from '@angular/material/tooltip'; +import { MatTableModule } from '@angular/material/table'; +import { MatMenuModule } from '@angular/material/menu'; +import { MatDividerModule } from '@angular/material/divider'; import { TranslocoModule } from '@ngneat/transloco'; @@ -37,6 +40,9 @@ import { basicSettingRoutes } from './basic.routing'; MatSortModule, MatSelectModule, MatTooltipModule, + MatTableModule, + MatMenuModule, + MatDividerModule, ], }) export class BasicModule {} diff --git a/src/app/modules/admin/settings/basic/components/list.component.html b/src/app/modules/admin/settings/basic/components/list.component.html index 69fe978..8430f08 100644 --- a/src/app/modules/admin/settings/basic/components/list.component.html +++ b/src/app/modules/admin/settings/basic/components/list.component.html @@ -1 +1,219 @@ -

it's works

+
+
+
+
+ +
+
+ 사이트 ON/OFF +
+
+ + + + + + + + + + + + + + + + + + + + + +
정보 + + {{ user.highRank }} + + 내용 + {{ user.rank }} + 수정 + {{ user.rank }} +
+
+
+ +
+
+ 사이트 첫충/매충 설정 +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
레벨 + + {{ user.level }} + + 요율 + + {{ user.highRank }} + + 사용여부 + {{ user.rank }} + 최대금액 + {{ user.level }} + 요율 + {{ user.signinId }} + 사용여부 + {{ user.nickname }} + 최대금액 + {{ user.currentLocation }} + 수정 + +
+
+
+ +
+
+ 시스템 ON/OFF +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
제목 + + + {{ user.signinId }} + + 사용여부 + + {{ user.highRank }} + + 메모 + {{ user.rank }} + 내용 + {{ user.level }} + 수정 + {{ user.signinId }} +
+
+
+
+
+
+
diff --git a/src/app/modules/admin/settings/basic/components/list.component.ts b/src/app/modules/admin/settings/basic/components/list.component.ts index 13db10a..ee36dfc 100644 --- a/src/app/modules/admin/settings/basic/components/list.component.ts +++ b/src/app/modules/admin/settings/basic/components/list.component.ts @@ -31,6 +31,9 @@ import { FuseConfirmationService } from '@fuse/services/confirmation'; import { BasicSetting } from '../models/basic-setting'; import { BasicService } from '../services/basic.service'; +import { CurrentUser } from 'app/modules/admin/member/current-user/models/current-user'; +import { User } from 'app/modules/admin/member/user/models/user'; +import { MatTableDataSource } from '@angular/material/table'; @Component({ selector: 'settings-basic', @@ -63,6 +66,31 @@ export class ListComponent implements OnInit, AfterViewInit, OnDestroy { @ViewChild(MatPaginator) private _paginator!: MatPaginator; @ViewChild(MatSort) private _sort!: MatSort; + currentUsers$!: Observable; + users$!: Observable; + + siteSettingTableColumns: string[] = ['info', 'description', 'updateBtn']; + + siteEarnSettingTableColumns: string[] = [ + 'level', + 'firstRate', + 'firstIsUse', + 'firstMaxMoney', + 'everyRate', + 'everyIsUse', + 'everyMaxMoney', + 'updateBtn', + ]; + siteGameSettingTableColumns: string[] = [ + 'title', + 'isUse', + 'memo', + 'description', + 'updateBtn', + ]; + + currentUserDataSource: MatTableDataSource = new MatTableDataSource(); + basicSetting$!: Observable; isLoading = false;