Commit 01817c12 authored by wangqinghua's avatar wangqinghua

delete log

parent d453dc94
......@@ -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>> {
......
......@@ -256,7 +256,6 @@ export class AlarmModalComponent implements OnInit {
//tab切换
tabsChange(index) {
console.log(this.tabNum);
this.tabNum = index;
}
......
......@@ -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) {
......
......@@ -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;
}
......
......@@ -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(nowTime,"yyyy-MM-dd HH:mm"),
clock:this.datePipe.transform(res.data.time,"yyyy-MM-dd HH:mm"),
avg:(res.data.in)
};
this.inNowEchartData.push(inData);
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)
};
this.outNowEchartData.push(outData);
......
......@@ -103,7 +103,6 @@ export class CheckComponent implements OnInit {
});
event.node.addChildren(dataSet);
console.log(event);
} else {
event.node.addChildren([]);
this.message.warning('该下级为空');
......
......@@ -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));
}
......
......@@ -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) {
......
......@@ -74,7 +74,6 @@ export class NetworkDetailComponent implements OnInit, OnChanges {
}
ngOnChanges(){
console.log()
}
//历史告警
......
......@@ -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;
......
......@@ -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 {
......
......@@ -63,7 +63,6 @@ export class GroupComponent implements OnInit {
}
mouseAction(name: string, e: any): void {
console.log(name, e);
}
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