Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
smart
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangqinghua
smart
Commits
2b636f40
Commit
2b636f40
authored
Jun 11, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
aff7975b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
10 deletions
+2
-10
README.md
README.md
+2
-0
app.module.ts
src/main/webapp/app/app.module.ts
+0
-2
app.route.ts
src/main/webapp/app/app.route.ts
+0
-6
uib-pagination.config.ts
src/main/webapp/app/blocks/config/uib-pagination.config.ts
+0
-2
No files found.
README.md
View file @
2b636f40
...
...
@@ -39,6 +39,8 @@ Module ng g module my-module
版本更新:
v2.0.1 修复选择节点之后 流量查询不出来
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
src/main/webapp/app/app.module.ts
View file @
2b636f40
...
...
@@ -31,7 +31,6 @@ import {route} from './app.route';
import
{
LoginGuard
}
from
'./shared/common/loginGuard'
;
import
{
AppMainModule
}
from
'./app.main.module'
;
import
{
AppService
}
from
'./app.service'
;
import
{
HostComponent
}
from
'./overAll/host.component'
;
@
NgModule
({
imports
:
[
...
...
@@ -61,7 +60,6 @@ import {HostComponent} from './overAll/host.component';
PaginationConfig
,
LoginGuard
,
AppService
,
HostComponent
,
UserRouteAccessService
,
{
provide
:
HTTP_INTERCEPTORS
,
...
...
src/main/webapp/app/app.route.ts
View file @
2b636f40
...
...
@@ -42,9 +42,6 @@ import {BTopologyComponent} from './business/b-topology/b-topology.component';
import
{
EffectAnalysisComponent
}
from
'./business/effect-analysis/effect-analysis.component'
;
import
{
LogAnalysisComponent
}
from
'./business/log-analysis/log-analysis.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
=
[
{
path
:
''
,
redirectTo
:
'app/main/home'
,
pathMatch
:
'full'
},
...
...
@@ -94,9 +91,6 @@ export const route: Routes = [
{
path
:
'effectAnalysis'
,
component
:
EffectAnalysisComponent
,
data
:
{
breadcrumb
:
'效能分析'
},},
{
path
:
'logAnalysis'
,
component
:
LogAnalysisComponent
,
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
:
'交换机'
},},
]
},
]
...
...
src/main/webapp/app/blocks/config/uib-pagination.config.ts
View file @
2b636f40
import
{
ITEMS_PER_PAGE
}
from
'../../shared'
;
import
{
Injectable
}
from
'@angular/core'
;
import
{
NgbPaginationConfig
}
from
'@ng-bootstrap/ng-bootstrap'
;
...
...
@@ -8,7 +7,6 @@ export class PaginationConfig {
constructor
(
private
config
:
NgbPaginationConfig
)
{
config
.
boundaryLinks
=
true
;
config
.
maxSize
=
5
;
config
.
pageSize
=
ITEMS_PER_PAGE
;
config
.
size
=
'sm'
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment