Commit 2b636f40 authored by wangqinghua's avatar wangqinghua

update

parent aff7975b
...@@ -39,6 +39,8 @@ Module ng g module my-module ...@@ -39,6 +39,8 @@ Module ng g module my-module
版本更新: 版本更新:
v2.0.1 修复选择节点之后 流量查询不出来 v2.0.1 修复选择节点之后 流量查询不出来
scp -r 22 build/www root@10.10.38.99:/home/nginx scp -r 22 build/www root@10.10.38.99:/home/nginx
scp -r 22 build/wx root@10.10.38.99:/home/nginx/www scp -r 22 build/wx root@10.10.38.99:/home/nginx/www
...@@ -31,7 +31,6 @@ import {route} from './app.route'; ...@@ -31,7 +31,6 @@ import {route} from './app.route';
import {LoginGuard} from './shared/common/loginGuard'; import {LoginGuard} from './shared/common/loginGuard';
import {AppMainModule} from './app.main.module'; import {AppMainModule} from './app.main.module';
import {AppService} from './app.service'; import {AppService} from './app.service';
import {HostComponent} from './overAll/host.component';
@NgModule({ @NgModule({
imports: [ imports: [
...@@ -61,7 +60,6 @@ import {HostComponent} from './overAll/host.component'; ...@@ -61,7 +60,6 @@ import {HostComponent} from './overAll/host.component';
PaginationConfig, PaginationConfig,
LoginGuard, LoginGuard,
AppService, AppService,
HostComponent,
UserRouteAccessService, UserRouteAccessService,
{ {
provide: HTTP_INTERCEPTORS, provide: HTTP_INTERCEPTORS,
......
...@@ -42,9 +42,6 @@ import {BTopologyComponent} from './business/b-topology/b-topology.component'; ...@@ -42,9 +42,6 @@ import {BTopologyComponent} from './business/b-topology/b-topology.component';
import {EffectAnalysisComponent} from './business/effect-analysis/effect-analysis.component'; import {EffectAnalysisComponent} from './business/effect-analysis/effect-analysis.component';
import {LogAnalysisComponent} from './business/log-analysis/log-analysis.component'; import {LogAnalysisComponent} from './business/log-analysis/log-analysis.component';
import {BConfigComponent} from './business/b-config/b-config.component'; import {BConfigComponent} from './business/b-config/b-config.component';
import {DatabaseComponent} from './overAll/modal/database/database.component';
import {ServerComponent} from './overAll/modal/server/server.component';
import {SwitchComponent} from './overAll/modal/switch/switch.component';
export const route: Routes = [ export const route: Routes = [
{path: '', redirectTo: 'app/main/home', pathMatch: 'full'}, {path: '', redirectTo: 'app/main/home', pathMatch: 'full'},
...@@ -94,9 +91,6 @@ export const route: Routes = [ ...@@ -94,9 +91,6 @@ export const route: Routes = [
{path: 'effectAnalysis', component: EffectAnalysisComponent, data: {breadcrumb: '效能分析'},}, {path: 'effectAnalysis', component: EffectAnalysisComponent, data: {breadcrumb: '效能分析'},},
{path: 'logAnalysis', component: LogAnalysisComponent, data: {breadcrumb: '日志分析'},}, {path: 'logAnalysis', component: LogAnalysisComponent, data: {breadcrumb: '日志分析'},},
{path: 'bConfig', component: BConfigComponent, data: {breadcrumb: '业务配置'},}, {path: 'bConfig', component: BConfigComponent, data: {breadcrumb: '业务配置'},},
{path: 'database', component: DatabaseComponent, data: {breadcrumb: '数据库'},},
{path: 'server', component: ServerComponent, data: {breadcrumb: '服务器'},},
{path: 'switch', component: SwitchComponent, data: {breadcrumb: '交换机'},},
] ]
}, },
] ]
......
import { ITEMS_PER_PAGE } from '../../shared';
import { Injectable } from '@angular/core'; import { Injectable } from '@angular/core';
import { NgbPaginationConfig} from '@ng-bootstrap/ng-bootstrap'; import { NgbPaginationConfig} from '@ng-bootstrap/ng-bootstrap';
...@@ -8,7 +7,6 @@ export class PaginationConfig { ...@@ -8,7 +7,6 @@ export class PaginationConfig {
constructor(private config: NgbPaginationConfig) { constructor(private config: NgbPaginationConfig) {
config.boundaryLinks = true; config.boundaryLinks = true;
config.maxSize = 5; config.maxSize = 5;
config.pageSize = ITEMS_PER_PAGE;
config.size = 'sm'; config.size = 'sm';
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment