Commit b5f91b33 authored by wangqinghua's avatar wangqinghua

拓扑图0.9,9版本:未融入

parent a4fa4b18
<div class="logo padding-40">智能运维监管平台</div> <div class="logo padding-40">运维管理系统</div>
<ul nz-menu [nzMode]="'inline'"> <ul nz-menu [nzMode]="'inline'">
<ng-container *ngFor="let item of menuList"> <ng-container *ngFor="let item of menuList">
<li nz-submenu (nzOpenChange)="openHandler(item)" [(nzOpen)]="item.checked"> <li nz-submenu (nzOpenChange)="openHandler(item)" [(nzOpen)]="item.checked">
......
...@@ -364,24 +364,21 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe ...@@ -364,24 +364,21 @@ export class NeTopologyComponent implements OnInit, DoCheck, AfterViewInit, OnDe
resData.forEach(e1=>{ resData.forEach(e1=>{
arr.forEach(e2=>{ arr.forEach(e2=>{
if(e1.elementId == e2.hostId){ if(e1.elementId == e2.hostId){
if(e1.status == -2){ // if(e1.status == -2){
e2.alarm = "主机被删除,请及时清理"; // e2.alarm = "主机被删除,请及时清理";
e2.fontColor='0,0,0'; // e2.fontColor='0,0,0';
e2.alarmAlpha=0.9; // e2.alarmAlpha=0.9;
// dlist.push(e2) // }
}
if(e1.status == 1){ if(e1.status == 1){
e2.alarm = "危险"; e2.alarm = "危险";
e2.fontColor='0,0,0'; 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);
} }
if(e1.status == 2){ if(e1.status == 2){
e2.alarm = "故障"; e2.alarm = "故障";
e2.fontColor='0,0,0'; e2.fontColor='0,0,0';
e2.alarmAlpha=0.9; e2.alarmAlpha=0.9;
// glist.push(e2);
} }
} }
}) })
......
<div class="background"> <div class="background">
<div class="login-center"> <div class="login-center">
<div class="login-logo"> <div class="login-logo">
<img src="../../../content/images/logo.png" alt="智能运维监控平台"> <img src="../../../content/images/logo-hongqiao.png" alt="运维管理系统">
</div> </div>
<form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()"> <form nz-form [formGroup]="validateForm" class="login-form" (ngSubmit)="submitForm()">
<nz-form-item> <nz-form-item>
......
...@@ -197,7 +197,7 @@ ...@@ -197,7 +197,7 @@
.topology-context { .topology-context {
overflow: auto; overflow: auto;
position: relative; position: relative;
background: #fff url(../img/backimg.png); background: #fff;
} }
/********** 顶部工具栏 **********/ /********** 顶部工具栏 **********/
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<base href="./"/> <base href="./"/>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>智能运维监管平台</title> <title>运维管理系统</title>
<meta name="description" content=""> <meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#000000"> <meta name="theme-color" content="#000000">
......
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