game menu added
This commit is contained in:
parent
29313a6aff
commit
928b2d419d
|
@ -143,7 +143,7 @@ export const navigation: FuseNavigation[] = [
|
||||||
translate: 'NAV.EXCEPT_AUTO_REGIST.TITLE',
|
translate: 'NAV.EXCEPT_AUTO_REGIST.TITLE',
|
||||||
type: 'item',
|
type: 'item',
|
||||||
icon: 'email',
|
icon: 'email',
|
||||||
url: '/pages/games/management//except-auto-regist',
|
url: '/pages/games/management/except-auto-regist',
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<p>bet-history works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { BetHistoryComponent } from './bet-history.component';
|
||||||
|
|
||||||
|
describe('BetHistoryComponent', () => {
|
||||||
|
let component: BetHistoryComponent;
|
||||||
|
let fixture: ComponentFixture<BetHistoryComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ BetHistoryComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(BetHistoryComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-bet-history',
|
||||||
|
templateUrl: './bet-history.component.html',
|
||||||
|
styleUrls: ['./bet-history.component.scss']
|
||||||
|
})
|
||||||
|
export class BetHistoryComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>except-auto-regist works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { ExceptAutoRegistComponent } from './except-auto-regist.component';
|
||||||
|
|
||||||
|
describe('ExceptAutoRegistComponent', () => {
|
||||||
|
let component: ExceptAutoRegistComponent;
|
||||||
|
let fixture: ComponentFixture<ExceptAutoRegistComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ ExceptAutoRegistComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(ExceptAutoRegistComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-except-auto-regist',
|
||||||
|
templateUrl: './except-auto-regist.component.html',
|
||||||
|
styleUrls: ['./except-auto-regist.component.scss']
|
||||||
|
})
|
||||||
|
export class ExceptAutoRegistComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -3,11 +3,21 @@ import { SportMixComponent } from '../component/sport-mix/sport-mix.component';
|
||||||
import { MiniGameComponent } from '../component/mini-game/mini-game.component';
|
import { MiniGameComponent } from '../component/mini-game/mini-game.component';
|
||||||
import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component';
|
import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component';
|
||||||
import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component';
|
import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component';
|
||||||
|
import { BetHistoryComponent } from '../component/bet-history/bet-history.component';
|
||||||
|
import { SettlementComponent } from '../component/settlement/settlement.component';
|
||||||
|
import { ItemManagementComponent } from '../component/item-management/item-management.component';
|
||||||
|
import { LeagueManagementComponent } from '../component/league-management/league-management.component';
|
||||||
|
import { ExceptAutoRegistComponent } from '../component/except-auto-regist/except-auto-regist.component';
|
||||||
|
|
||||||
export const COMPONENTS = [
|
export const COMPONENTS = [
|
||||||
SportResultComponent,
|
SportResultComponent,
|
||||||
SportMixComponent,
|
SportMixComponent,
|
||||||
MiniGameComponent,
|
MiniGameComponent,
|
||||||
MiniGameSettingsComponent,
|
MiniGameSettingsComponent,
|
||||||
ExcelRegistComponent
|
ExcelRegistComponent,
|
||||||
|
BetHistoryComponent,
|
||||||
|
SettlementComponent,
|
||||||
|
ItemManagementComponent,
|
||||||
|
LeagueManagementComponent,
|
||||||
|
ExceptAutoRegistComponent
|
||||||
];
|
];
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<p>item-management works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { ItemManagementComponent } from './item-management.component';
|
||||||
|
|
||||||
|
describe('ItemManagementComponent', () => {
|
||||||
|
let component: ItemManagementComponent;
|
||||||
|
let fixture: ComponentFixture<ItemManagementComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ ItemManagementComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(ItemManagementComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-item-management',
|
||||||
|
templateUrl: './item-management.component.html',
|
||||||
|
styleUrls: ['./item-management.component.scss']
|
||||||
|
})
|
||||||
|
export class ItemManagementComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>league-management works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { LeagueManagementComponent } from './league-management.component';
|
||||||
|
|
||||||
|
describe('LeagueManagementComponent', () => {
|
||||||
|
let component: LeagueManagementComponent;
|
||||||
|
let fixture: ComponentFixture<LeagueManagementComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ LeagueManagementComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(LeagueManagementComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-league-management',
|
||||||
|
templateUrl: './league-management.component.html',
|
||||||
|
styleUrls: ['./league-management.component.scss']
|
||||||
|
})
|
||||||
|
export class LeagueManagementComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
<p>settlement works!</p>
|
|
@ -0,0 +1,25 @@
|
||||||
|
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||||
|
|
||||||
|
import { SettlementComponent } from './settlement.component';
|
||||||
|
|
||||||
|
describe('SettlementComponent', () => {
|
||||||
|
let component: SettlementComponent;
|
||||||
|
let fixture: ComponentFixture<SettlementComponent>;
|
||||||
|
|
||||||
|
beforeEach(async(() => {
|
||||||
|
TestBed.configureTestingModule({
|
||||||
|
declarations: [ SettlementComponent ]
|
||||||
|
})
|
||||||
|
.compileComponents();
|
||||||
|
}));
|
||||||
|
|
||||||
|
beforeEach(() => {
|
||||||
|
fixture = TestBed.createComponent(SettlementComponent);
|
||||||
|
component = fixture.componentInstance;
|
||||||
|
fixture.detectChanges();
|
||||||
|
});
|
||||||
|
|
||||||
|
it('should create', () => {
|
||||||
|
expect(component).toBeTruthy();
|
||||||
|
});
|
||||||
|
});
|
|
@ -0,0 +1,15 @@
|
||||||
|
import { Component, OnInit } from '@angular/core';
|
||||||
|
|
||||||
|
@Component({
|
||||||
|
selector: 'app-settlement',
|
||||||
|
templateUrl: './settlement.component.html',
|
||||||
|
styleUrls: ['./settlement.component.scss']
|
||||||
|
})
|
||||||
|
export class SettlementComponent implements OnInit {
|
||||||
|
|
||||||
|
constructor() { }
|
||||||
|
|
||||||
|
ngOnInit() {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -1,8 +1,6 @@
|
||||||
import { NgModule } from '@angular/core';
|
import { NgModule } from '@angular/core';
|
||||||
import { FuseSharedModule } from 'src/@fuse/shared.module';
|
import { FuseSharedModule } from 'src/@fuse/shared.module';
|
||||||
import { GamesRoutingModule } from './games-routing.module';
|
import { GamesRoutingModule } from './games-routing.module';
|
||||||
import { MiniGameSettingsComponent } from './component/mini-game-settings/mini-game-settings.component';
|
|
||||||
import { ExcelRegistComponent } from './component/excel-regist/excel-regist.component';
|
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
||||||
|
@ -10,6 +8,5 @@ import { ExcelRegistComponent } from './component/excel-regist/excel-regist.comp
|
||||||
FuseSharedModule,
|
FuseSharedModule,
|
||||||
GamesRoutingModule
|
GamesRoutingModule
|
||||||
],
|
],
|
||||||
|
|
||||||
})
|
})
|
||||||
export class GamesModule { }
|
export class GamesModule { }
|
||||||
|
|
|
@ -5,6 +5,11 @@ import { SportMixComponent } from '../component/sport-mix/sport-mix.component';
|
||||||
import { MiniGameComponent } from '../component/mini-game/mini-game.component';
|
import { MiniGameComponent } from '../component/mini-game/mini-game.component';
|
||||||
import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component';
|
import { MiniGameSettingsComponent } from '../component/mini-game-settings/mini-game-settings.component';
|
||||||
import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component';
|
import { ExcelRegistComponent } from '../component/excel-regist/excel-regist.component';
|
||||||
|
import { BetHistoryComponent } from '../component/bet-history/bet-history.component';
|
||||||
|
import { SettlementComponent } from '../component/settlement/settlement.component';
|
||||||
|
import { ItemManagementComponent } from '../component/item-management/item-management.component';
|
||||||
|
import { LeagueManagementComponent } from '../component/league-management/league-management.component';
|
||||||
|
import { ExceptAutoRegistComponent } from '../component/except-auto-regist/except-auto-regist.component';
|
||||||
|
|
||||||
const routes: Routes = [
|
const routes: Routes = [
|
||||||
|
|
||||||
|
@ -28,23 +33,27 @@ const routes: Routes = [
|
||||||
path: 'excel-regist',
|
path: 'excel-regist',
|
||||||
component: ExcelRegistComponent
|
component: ExcelRegistComponent
|
||||||
},
|
},
|
||||||
// {
|
{
|
||||||
// path: 'connect',
|
path: 'bet-history',
|
||||||
// component: UserConnectComponent
|
component: BetHistoryComponent
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// path: 'regist',
|
path: 'settlement',
|
||||||
// component: UserRegistComponent
|
component: SettlementComponent
|
||||||
// },
|
},
|
||||||
// {
|
{
|
||||||
// path: 'fees',
|
path: 'item-management',
|
||||||
// component: UserFeesComponent
|
component: ItemManagementComponent
|
||||||
// }
|
}
|
||||||
// ,
|
,
|
||||||
// {
|
{
|
||||||
// path: 'attendance',
|
path: 'league-management',
|
||||||
// component: UserAttendanceComponent
|
component: LeagueManagementComponent
|
||||||
// }
|
},
|
||||||
|
{
|
||||||
|
path: 'except-auto-regist',
|
||||||
|
component: ExceptAutoRegistComponent
|
||||||
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user