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
625c93d6
Commit
625c93d6
authored
Jan 15, 2019
by
xiaowenjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
1d4935ed
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
ne-topology.component.ts
...bapp/app/netTopology/ne-topology/ne-topology.component.ts
+3
-3
basic-detail.component.ts
.../app/overAll/basic/basic-detail/basic-detail.component.ts
+1
-2
No files found.
src/main/webapp/app/netTopology/ne-topology/ne-topology.component.ts
View file @
625c93d6
...
@@ -379,20 +379,20 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
...
@@ -379,20 +379,20 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
if
(
e1
.
elementId
==
e2
.
hostId
){
if
(
e1
.
elementId
==
e2
.
hostId
){
if
(
e1
.
status
==
-
2
){
if
(
e1
.
status
==
-
2
){
e2
.
alarm
=
"主机被删除,请及时清理"
;
e2
.
alarm
=
"主机被删除,请及时清理"
;
e2
.
fontColor
=
'
255,255,255
'
;
e2
.
fontColor
=
'
0,0,0
'
;
e2
.
alarmAlpha
=
0.9
;
e2
.
alarmAlpha
=
0.9
;
// dlist.push(e2)
// dlist.push(e2)
}
}
if
(
e1
.
status
==
1
){
if
(
e1
.
status
==
1
){
e2
.
alarm
=
"危险"
;
e2
.
alarm
=
"危险"
;
e2
.
fontColor
=
'
255,255,255
'
;
e2
.
fontColor
=
'
0,0,0
'
;
e2
.
alarmColor
=
'255,153,18'
;
e2
.
alarmColor
=
'255,153,18'
;
e2
.
alarmAlpha
=
0.9
;
e2
.
alarmAlpha
=
0.9
;
// wlist.push(e2);
// wlist.push(e2);
}
}
if
(
e1
.
status
==
2
){
if
(
e1
.
status
==
2
){
e2
.
alarm
=
"故障"
;
e2
.
alarm
=
"故障"
;
e2
.
fontColor
=
'
255,255,255
'
;
e2
.
fontColor
=
'
0,0,0
'
;
e2
.
alarmAlpha
=
0.9
;
e2
.
alarmAlpha
=
0.9
;
// glist.push(e2);
// glist.push(e2);
}
}
...
...
src/main/webapp/app/overAll/basic/basic-detail/basic-detail.component.ts
View file @
625c93d6
...
@@ -479,8 +479,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
...
@@ -479,8 +479,7 @@ export class BasicDetailComponent implements OnInit, AfterViewInit {
show
:
true
,
//显示分割线
show
:
true
,
//显示分割线
},
},
data
:
res
.
data
.
disks
.
map
((
item
)
=>
{
data
:
res
.
data
.
disks
.
map
((
item
)
=>
{
const
line
=
item
.
name
.
split
(
'/'
);
return
item
.
name
;
return
'/'
+
line
[
line
.
length
-
1
];
}),
}),
},
},
color
:
[
'#ed7a7b'
,
'#f2f2f2'
],
color
:
[
'#ed7a7b'
,
'#f2f2f2'
],
...
...
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