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
01817c12
Commit
01817c12
authored
Jan 14, 2019
by
wangqinghua
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete log
parent
d453dc94
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2 additions
and
22 deletions
+2
-22
notification.interceptor.ts
...webapp/app/blocks/interceptor/notification.interceptor.ts
+0
-1
alarm-modal.component.ts
...ain/webapp/app/modal/alarm-modal/alarm-modal.component.ts
+0
-1
discovery.component.ts
src/main/webapp/app/modal/discovery/discovery.component.ts
+0
-1
threshold.component.ts
src/main/webapp/app/modal/threshold/threshold.component.ts
+0
-3
flow-trend.component.ts
...webapp/app/netTopology/flow-trend/flow-trend.component.ts
+2
-3
check.component.ts
...ain/webapp/app/netTopology/model/check/check.component.ts
+0
-1
ne-topology.component.ts
...bapp/app/netTopology/ne-topology/ne-topology.component.ts
+0
-7
topology-img.component.ts
...pp/app/netTopology/topology-img/topology-img.component.ts
+0
-1
network-detail.component.ts
.../network-check/network-detail/network-detail.component.ts
+0
-1
toUtil.pipe.ts
src/main/webapp/app/shared/common/toUtil.pipe.ts
+0
-1
examine.component.ts
src/main/webapp/app/system/examine/examine.component.ts
+0
-1
group.component.ts
src/main/webapp/app/system/group/group.component.ts
+0
-1
No files found.
src/main/webapp/app/blocks/interceptor/notification.interceptor.ts
View file @
01817c12
...
...
@@ -11,7 +11,6 @@ export class NotificationInterceptor implements HttpInterceptor {
// tslint:disable-next-line: no-unused-variable
constructor
(
private
injector
:
Injector
)
{
setTimeout
(()
=>
this
.
alertService
=
injector
.
get
(
JhiAlertService
));
console
.
log
(
"2"
);
}
intercept
(
request
:
HttpRequest
<
any
>
,
next
:
HttpHandler
):
Observable
<
HttpEvent
<
any
>>
{
...
...
src/main/webapp/app/modal/alarm-modal/alarm-modal.component.ts
View file @
01817c12
...
...
@@ -256,7 +256,6 @@ export class AlarmModalComponent implements OnInit {
//tab切换
tabsChange
(
index
)
{
console
.
log
(
this
.
tabNum
);
this
.
tabNum
=
index
;
}
...
...
src/main/webapp/app/modal/discovery/discovery.component.ts
View file @
01817c12
...
...
@@ -132,7 +132,6 @@ export class DiscoveryComponent implements OnInit {
//修改监控项
update
()
{
this
.
validateForm
.
addControl
(
'itemid'
,
new
FormControl
(
this
.
itemId
));
console
.
log
(
this
.
validateForm
.
value
);
this
.
overAllSer
.
updateLldrule
(
this
.
validateForm
.
value
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
...
...
src/main/webapp/app/modal/threshold/threshold.component.ts
View file @
01817c12
...
...
@@ -147,8 +147,6 @@ export class ThresholdComponent implements OnInit {
this
.
triggerFaultConditionId
=
value
.
triggerid
;
}
});
console
.
log
(
this
.
faultConditionList
);
console
.
log
(
this
.
conditionList
);
}
);
}
...
...
@@ -206,7 +204,6 @@ export class ThresholdComponent implements OnInit {
});
this
.
faultConditionList
.
map
(
e
=>
{
if
(
e
.
value
.
length
>
0
)
{
console
.
log
(
e
.
value
);
}
else
{
error
=
false
;
}
...
...
src/main/webapp/app/netTopology/flow-trend/flow-trend.component.ts
View file @
01817c12
...
...
@@ -208,14 +208,13 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
this
.
topologySer
.
findByTime
(
this
.
obj
.
hostid
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
let
nowTime
=
new
Date
().
getTime
()
+
500
;
const
inData
=
{
clock
:
this
.
datePipe
.
transform
(
nowT
ime
,
"yyyy-MM-dd HH:mm"
),
clock
:
this
.
datePipe
.
transform
(
res
.
data
.
t
ime
,
"yyyy-MM-dd HH:mm"
),
avg
:(
res
.
data
.
in
)
};
this
.
inNowEchartData
.
push
(
inData
);
const
outData
=
{
clock
:
this
.
datePipe
.
transform
(
nowT
ime
,
"yyyy-MM-dd HH:mm"
),
clock
:
this
.
datePipe
.
transform
(
res
.
data
.
t
ime
,
"yyyy-MM-dd HH:mm"
),
avg
:(
res
.
data
.
out
)
};
this
.
outNowEchartData
.
push
(
outData
);
...
...
src/main/webapp/app/netTopology/model/check/check.component.ts
View file @
01817c12
...
...
@@ -103,7 +103,6 @@ export class CheckComponent implements OnInit {
});
event
.
node
.
addChildren
(
dataSet
);
console
.
log
(
event
);
}
else
{
event
.
node
.
addChildren
([]);
this
.
message
.
warning
(
'该下级为空'
);
...
...
src/main/webapp/app/netTopology/ne-topology/ne-topology.component.ts
View file @
01817c12
...
...
@@ -131,7 +131,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
const
changesNode
=
this
.
customerDifferNode
.
diff
(
this
.
node
);
if
(
changesLine
&&
changesLine
[
'_appendAfter'
].
currentValue
==
"true"
)
{
const
arr
=
localStorage
.
getItem
(
'linkHostIds'
);
console
.
log
(
arr
);
this
.
smartLine
.
showModal
(
arr
);
}
if
(
changesNode
&&
changesNode
[
'_appendAfter'
].
currentValue
==
"true"
)
{
...
...
@@ -305,7 +304,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
//回显拓扑图
viewTopology
(
topologyJson
){
console
.
log
(
topologyJson
);
const
arr
=
topologyJson
.
childs
[
0
].
childs
;
const
list
=
[];
const
hostIds
=
[];
...
...
@@ -349,8 +347,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
}
})
});
console
.
log
(
'告警'
)
console
.
log
(
topologyJson
)
editor
.
loadTopologyByJson
(
topologyJson
,
'img/backimg.png'
);
}
)
...
...
@@ -370,8 +366,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
}
})
});
console
.
log
(
'进口流量'
)
console
.
log
(
topologyJson
)
editor
.
loadTopologyByJson
(
topologyJson
,
'img/backimg.png'
);
}
)
...
...
@@ -429,7 +423,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
//设置监测点
setCheckList
(
event
)
{
console
.
log
(
event
);
this
.
checkJson
.
push
(
JSON
.
parse
(
event
));
}
...
...
src/main/webapp/app/netTopology/topology-img/topology-img.component.ts
View file @
01817c12
...
...
@@ -96,7 +96,6 @@ export class TopologyImgComponent implements OnInit {
nzOkText
:
'确定'
,
nzOkType
:
'danger'
,
nzOnOk
:
()
=>
{
console
.
log
(
item
);
this
.
topologySer
.
iconDefault
(
item
.
id
).
subscribe
(
(
res
)
=>
{
if
(
res
.
errCode
==
10000
)
{
...
...
src/main/webapp/app/overAll/network-check/network-detail/network-detail.component.ts
View file @
01817c12
...
...
@@ -74,7 +74,6 @@ export class NetworkDetailComponent implements OnInit, OnChanges {
}
ngOnChanges
(){
console
.
log
()
}
//历史告警
...
...
src/main/webapp/app/shared/common/toUtil.pipe.ts
View file @
01817c12
...
...
@@ -6,7 +6,6 @@ import {Pipe, PipeTransform} from '@angular/core';
export
class
ToUtilPipe
implements
PipeTransform
{
transform
(
value
:
any
):
any
{
console
.
log
(
value
);
if
(
value
){
let
res
;
let
Mbps
=
1000
*
1000
;
...
...
src/main/webapp/app/system/examine/examine.component.ts
View file @
01817c12
...
...
@@ -49,7 +49,6 @@ export class ExamineComponent implements OnInit {
const
allUnChecked
=
this
.
displayData
.
every
(
value
=>
!
value
.
checked
);
this
.
allChecked
=
allChecked
;
this
.
indeterminate
=
(
!
allChecked
)
&&
(
!
allUnChecked
);
console
.
log
(
this
.
indeterminate
);
}
checkAll
(
value
:
boolean
):
void
{
...
...
src/main/webapp/app/system/group/group.component.ts
View file @
01817c12
...
...
@@ -63,7 +63,6 @@ export class GroupComponent implements OnInit {
}
mouseAction
(
name
:
string
,
e
:
any
):
void
{
console
.
log
(
name
,
e
);
}
ngOnInit
()
{
...
...
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