Commit 68020c1a authored by wangqinghua's avatar wangqinghua

update

parent d6523bb4
......@@ -20,7 +20,7 @@
<div nz-row class="search-form">
<div nz-col nzSpan="12">
<nz-select style="width: 200px;" nzPlaceHolder="选择拓扑图" [(ngModel)]="topoId" (ngModelChange)="getDetail($event)">
<nz-select style="width: 200px;" nzPlaceHolder="选择拓扑图" [(ngModel)]="topoId" (ngModelChange)="getDetail()">
<ng-container *ngFor="let item of dataSet">
<nz-option [nzLabel]="item.name" [nzValue]="item.id"></nz-option>
</ng-container>
......
......@@ -145,7 +145,7 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
const changesNode = this.customerDifferNode.diff(this.node);
if (changesLine && changesLine['_appendAfter'].currentValue == "true") {
const linkObj = localStorage.getItem('linkObj');
this.smartLine.showModal( JSON.parse(linkObj) );
this.smartLine.showModal( JSON.parse(linkObj) );
}
if (changesNode && changesNode['_appendAfter'].currentValue == "true") {
const nodeObj = localStorage.getItem('nodeObj');
......@@ -379,20 +379,20 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
if(e1.elementId == e2.hostId){
if(e1.status == -2){
e2.alarm = "主机被删除,请及时清理";
e2.fontColor='0,0,0';
e2.fontColor='255,255,255';
e2.alarmAlpha=0.9;
// dlist.push(e2)
}
if(e1.status == 1){
e2.alarm = "危险";
e2.fontColor='0,0,0';
e2.fontColor='255,255,255';
e2.alarmColor='255,153,18';
e2.alarmAlpha=0.9;
// wlist.push(e2);
}
if(e1.status == 2){
e2.alarm = "故障";
e2.fontColor='0,0,0';
e2.fontColor='255,255,255';
e2.alarmAlpha=0.9;
// glist.push(e2);
}
......
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