menu added & route modify

This commit is contained in:
byung eun park 2019-07-28 22:15:42 +09:00
parent 76afd97979
commit 01bc665da3
6 changed files with 167 additions and 35 deletions

View File

@ -18,7 +18,42 @@ export const locale = {
}, },
USER_FEES_MANAGEMENT: { USER_FEES_MANAGEMENT: {
TITLE: 'Fees Management', TITLE: 'Fees Management',
} },
USER_ATTENDANCE_MANAGEMENT: {
TITLE: 'Attendance Management',
},
GAME_MANAGEMENT: 'Game Management',
SPORT_RESULT_MANAGEMENT: {
TITLE: 'Sport Result Management',
},
SPORT_MIX_MANAGEMENT: {
TITLE: 'Sport Mix Management',
},
MINI_GAME: {
TITLE: 'Mini Game',
},
MINI_GAME_MANAGEMENT: {
TITLE: 'Mini Game Management'
},
EXCEL_REGIST: {
TITLE: 'Excel Regist'
},
BET_HISTORY: {
TITLE: 'Bet History'
},
SETTLEMENT: {
TITLE: 'Settlement'
},
ITEM_MANAGEMENT: {
TITLE: 'Item Management'
},
LEAGUE_MANAGEMENT: {
TITLE: 'League Management'
},
EXCEPT_AUTO_REGIST: {
TITLE: 'Except Auto Regist'
},
DEPOSIT_MANAGEMENT: 'Depost Management'
} }
} }
}; };

View File

@ -16,7 +16,42 @@ export const locale = {
}, },
USER_FEES_MANAGEMENT: { USER_FEES_MANAGEMENT: {
TITLE: '커미션 설정', TITLE: '커미션 설정',
} },
USER_ATTENDANCE_MANAGEMENT: {
TITLE: '출석 관리',
},
GAME_MANAGEMENT: '게임관리',
SPORT_RESULT_MANAGEMENT: {
TITLE: '결과입력 및 수정',
},
SPORT_MIX_MANAGEMENT: {
TITLE: '스포츠 조합설정',
},
MINI_GAME: {
TITLE: '미니게임',
},
MINI_GAME_MANAGEMENT: {
TITLE: '미니게임 관리'
},
EXCEL_REGIST: {
TITLE: '엑셀등록'
},
BET_HISTORY: {
TITLE: '배팅내역'
},
SETTLEMENT: {
TITLE: '정산하기'
},
ITEM_MANAGEMENT: {
TITLE: '종목관리'
},
LEAGUE_MANAGEMENT: {
TITLE: '리그관리'
},
EXCEPT_AUTO_REGIST: {
TITLE: '자동등록 제외'
},
DEPOSIT_MANAGEMENT: '입출금 관리'
} }
} }
}; };

View File

@ -21,7 +21,8 @@ export const navigation: FuseNavigation[] = [
translate: 'NAV.USER_LIST.TITLE', translate: 'NAV.USER_LIST.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/pages/users/user-list', url: '/pages/users/management/list',
exactMatch: true
}, },
{ {
id: 'user_connect_list', id: 'user_connect_list',
@ -29,7 +30,8 @@ export const navigation: FuseNavigation[] = [
translate: 'NAV.USER_CONNECT_LIST.TITLE', translate: 'NAV.USER_CONNECT_LIST.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/pages/users/user-connect', url: '/pages/users/management/connect',
exactMatch: true
}, },
{ {
id: 'user_regist', id: 'user_regist',
@ -37,7 +39,7 @@ export const navigation: FuseNavigation[] = [
translate: 'NAV.USER_REGIST.TITLE', translate: 'NAV.USER_REGIST.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/pages/users/user-connect' url: '/pages/users/user-connect1'
}, },
{ {
id: 'user_fees_management', id: 'user_fees_management',
@ -45,50 +47,110 @@ export const navigation: FuseNavigation[] = [
translate: 'NAV.USER_FEES_MANAGEMENT.TITLE', translate: 'NAV.USER_FEES_MANAGEMENT.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/pages/users/user-connect' url: '/pages/users/user-connect2'
},
{
id: 'user_attendance_management',
title: '출석관리',
translate: 'NAV.USER_ATTENDANCE_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/pages/users/user-connect3'
} }
] ]
}, },
{ {
id: 'users', id: 'gameManagement',
title: 'Users', title: '게임관리',
translate: 'NAV.USERS', translate: 'NAV.GAME_MANAGEMENT',
type: 'collapsable', type: 'collapsable',
children: [ children: [
{ {
id: 'sample', id: 'sportResultManagement',
title: 'Sample', title: '결과입력 및 수정',
translate: 'NAV.SAMPLE.TITLE', translate: 'NAV.SPORT_RESULT_MANAGEMENT.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/sample', url: '/sample',
badge: {
title: '25',
translate: 'NAV.SAMPLE.BADGE',
bg: '#F44336',
fg: '#FFFFFF'
}
}, },
{ {
id: 'sample', id: 'sportMixManagement',
title: 'Sample', title: '스포츠 조합설정',
translate: 'NAV.SAMPLE.TITLE', translate: 'NAV.SPORT_MIX_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'miniGame',
title: '미니게임',
translate: 'NAV.MINI_GAME.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'miniGameManagement',
title: '미니게임 관리',
translate: 'NAV.MINI_GAME_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'excelRegist',
title: '엑셀등록',
translate: 'NAV.EXCEL_REGIST.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'betHistory',
title: '배팅내역',
translate: 'NAV.BET_HISTORY.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'settlement',
title: '정산하기',
translate: 'NAV.SETTLEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'itemManagement',
title: '종목관리',
translate: 'NAV.ITEM_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'leagueManagement',
title: '종목관리',
translate: 'NAV.LEAGUE_MANAGEMENT.TITLE',
type: 'item',
icon: 'email',
url: '/sample',
},
{
id: 'exceptAutoRegist',
title: '자동등록 제외',
translate: 'NAV.EXCEPT_AUTO_REGIST.TITLE',
type: 'item', type: 'item',
icon: 'email', icon: 'email',
url: '/sample', url: '/sample',
badge: {
title: '25',
translate: 'NAV.SAMPLE.BADGE',
bg: '#F44336',
fg: '#FFFFFF'
}
} }
] ]
}, },
{ {
id: 'users', id: 'depositManagemnet',
title: 'Users', title: '입출금관리',
translate: 'NAV.USERS', translate: 'NAV.DEPOSIT_MANAGEMENT',
type: 'collapsable', type: 'collapsable',
children: [ children: [
{ {

View File

@ -1 +1 @@
<p>user-connect works!</p> <p>user-connect worksddddddddddd!</p>

View File

@ -8,15 +8,15 @@ import { UserConnectComponent } from './component/user-connect/user-connect.comp
const routes: Routes = [ const routes: Routes = [
{ {
path: '', path: 'list',
component: UserListComponent, component: UserListComponent,
}, },
{ {
path: 'user-list/:userId', path: 'list/:userId',
component: UserDetailComponent component: UserDetailComponent
}, },
{ {
path: 'user-connect', path: 'connect',
component: UserConnectComponent component: UserConnectComponent
} }
]; ];

View File

@ -3,7 +3,7 @@ import { Routes, RouterModule } from '@angular/router';
const routes: Routes = [ const routes: Routes = [
{ {
path: 'user-list', path: 'management',
loadChildren: './user/user.module#UserModule' loadChildren: './user/user.module#UserModule'
} }
]; ];