Commit 01817c12 authored by wangqinghua's avatar wangqinghua

delete log

parent d453dc94
...@@ -11,7 +11,6 @@ export class NotificationInterceptor implements HttpInterceptor { ...@@ -11,7 +11,6 @@ export class NotificationInterceptor implements HttpInterceptor {
// tslint:disable-next-line: no-unused-variable // tslint:disable-next-line: no-unused-variable
constructor(private injector: Injector) { constructor(private injector: Injector) {
setTimeout(() => this.alertService = injector.get(JhiAlertService)); setTimeout(() => this.alertService = injector.get(JhiAlertService));
console.log("2");
} }
intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> { intercept(request: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>> {
......
...@@ -256,7 +256,6 @@ export class AlarmModalComponent implements OnInit { ...@@ -256,7 +256,6 @@ export class AlarmModalComponent implements OnInit {
//tab切换 //tab切换
tabsChange(index) { tabsChange(index) {
console.log(this.tabNum);
this.tabNum = index; this.tabNum = index;
} }
......
...@@ -132,7 +132,6 @@ export class DiscoveryComponent implements OnInit { ...@@ -132,7 +132,6 @@ export class DiscoveryComponent implements OnInit {
//修改监控项 //修改监控项
update() { update() {
this.validateForm.addControl('itemid', new FormControl(this.itemId)); this.validateForm.addControl('itemid', new FormControl(this.itemId));
console.log(this.validateForm.value);
this.overAllSer.updateLldrule(this.validateForm.value).subscribe( this.overAllSer.updateLldrule(this.validateForm.value).subscribe(
(res) => { (res) => {
if (res.errCode == 10000) { if (res.errCode == 10000) {
......
...@@ -147,8 +147,6 @@ export class ThresholdComponent implements OnInit { ...@@ -147,8 +147,6 @@ export class ThresholdComponent implements OnInit {
this.triggerFaultConditionId = value.triggerid; this.triggerFaultConditionId = value.triggerid;
} }
}); });
console.log(this.faultConditionList);
console.log(this.conditionList);
} }
); );
} }
...@@ -206,7 +204,6 @@ export class ThresholdComponent implements OnInit { ...@@ -206,7 +204,6 @@ export class ThresholdComponent implements OnInit {
}); });
this.faultConditionList.map(e => { this.faultConditionList.map(e => {
if (e.value.length > 0) { if (e.value.length > 0) {
console.log(e.value);
} else { } else {
error = false; error = false;
} }
......
...@@ -208,14 +208,13 @@ export class FlowTrendComponent implements OnInit, OnDestroy { ...@@ -208,14 +208,13 @@ export class FlowTrendComponent implements OnInit, OnDestroy {
this.topologySer.findByTime(this.obj.hostid).subscribe( this.topologySer.findByTime(this.obj.hostid).subscribe(
(res) => { (res) => {
if (res.errCode == 10000) { if (res.errCode == 10000) {
let nowTime = new Date().getTime() + 500;
const inData = { const inData = {
clock:this.datePipe.transform(nowTime,"yyyy-MM-dd HH:mm"), clock:this.datePipe.transform(res.data.time,"yyyy-MM-dd HH:mm"),
avg:(res.data.in) avg:(res.data.in)
}; };
this.inNowEchartData.push(inData); this.inNowEchartData.push(inData);
const outData = { const outData = {
clock:this.datePipe.transform(nowTime,"yyyy-MM-dd HH:mm"), clock:this.datePipe.transform(res.data.time,"yyyy-MM-dd HH:mm"),
avg:(res.data.out) avg:(res.data.out)
}; };
this.outNowEchartData.push(outData); this.outNowEchartData.push(outData);
......
...@@ -103,7 +103,6 @@ export class CheckComponent implements OnInit { ...@@ -103,7 +103,6 @@ export class CheckComponent implements OnInit {
}); });
event.node.addChildren(dataSet); event.node.addChildren(dataSet);
console.log(event);
} else { } else {
event.node.addChildren([]); event.node.addChildren([]);
this.message.warning('该下级为空'); this.message.warning('该下级为空');
......
...@@ -131,7 +131,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -131,7 +131,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
const changesNode = this.customerDifferNode.diff(this.node); const changesNode = this.customerDifferNode.diff(this.node);
if (changesLine && changesLine['_appendAfter'].currentValue == "true") { if (changesLine && changesLine['_appendAfter'].currentValue == "true") {
const arr = localStorage.getItem('linkHostIds'); const arr = localStorage.getItem('linkHostIds');
console.log(arr);
this.smartLine.showModal(arr); this.smartLine.showModal(arr);
} }
if (changesNode && changesNode['_appendAfter'].currentValue == "true") { if (changesNode && changesNode['_appendAfter'].currentValue == "true") {
...@@ -305,7 +304,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -305,7 +304,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
//回显拓扑图 //回显拓扑图
viewTopology(topologyJson){ viewTopology(topologyJson){
console.log(topologyJson);
const arr = topologyJson.childs[0].childs; const arr = topologyJson.childs[0].childs;
const list = []; const list = [];
const hostIds = []; const hostIds = [];
...@@ -349,8 +347,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -349,8 +347,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
} }
}) })
}); });
console.log('告警')
console.log(topologyJson)
editor.loadTopologyByJson(topologyJson, 'img/backimg.png'); editor.loadTopologyByJson(topologyJson, 'img/backimg.png');
} }
) )
...@@ -370,8 +366,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -370,8 +366,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
} }
}) })
}); });
console.log('进口流量')
console.log(topologyJson)
editor.loadTopologyByJson(topologyJson, 'img/backimg.png'); editor.loadTopologyByJson(topologyJson, 'img/backimg.png');
} }
) )
...@@ -429,7 +423,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -429,7 +423,6 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
//设置监测点 //设置监测点
setCheckList(event) { setCheckList(event) {
console.log(event);
this.checkJson.push(JSON.parse(event)); this.checkJson.push(JSON.parse(event));
} }
......
...@@ -96,7 +96,6 @@ export class TopologyImgComponent implements OnInit { ...@@ -96,7 +96,6 @@ export class TopologyImgComponent implements OnInit {
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'danger',
nzOnOk: () => { nzOnOk: () => {
console.log(item);
this.topologySer.iconDefault(item.id).subscribe( this.topologySer.iconDefault(item.id).subscribe(
(res) => { (res) => {
if (res.errCode == 10000) { if (res.errCode == 10000) {
......
...@@ -74,7 +74,6 @@ export class NetworkDetailComponent implements OnInit, OnChanges { ...@@ -74,7 +74,6 @@ export class NetworkDetailComponent implements OnInit, OnChanges {
} }
ngOnChanges(){ ngOnChanges(){
console.log()
} }
//历史告警 //历史告警
......
...@@ -6,7 +6,6 @@ import {Pipe, PipeTransform} from '@angular/core'; ...@@ -6,7 +6,6 @@ import {Pipe, PipeTransform} from '@angular/core';
export class ToUtilPipe implements PipeTransform { export class ToUtilPipe implements PipeTransform {
transform(value: any): any { transform(value: any): any {
console.log(value);
if(value){ if(value){
let res; let res;
let Mbps = 1000 * 1000; let Mbps = 1000 * 1000;
......
...@@ -49,7 +49,6 @@ export class ExamineComponent implements OnInit { ...@@ -49,7 +49,6 @@ export class ExamineComponent implements OnInit {
const allUnChecked = this.displayData.every(value => !value.checked); const allUnChecked = this.displayData.every(value => !value.checked);
this.allChecked = allChecked; this.allChecked = allChecked;
this.indeterminate = (!allChecked) && (!allUnChecked); this.indeterminate = (!allChecked) && (!allUnChecked);
console.log(this.indeterminate);
} }
checkAll(value: boolean): void { checkAll(value: boolean): void {
......
...@@ -63,7 +63,6 @@ export class GroupComponent implements OnInit { ...@@ -63,7 +63,6 @@ export class GroupComponent implements OnInit {
} }
mouseAction(name: string, e: any): void { mouseAction(name: string, e: any): void {
console.log(name, e);
} }
ngOnInit() { ngOnInit() {
......
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