Commit 0bf573b1 authored by wangqinghua's avatar wangqinghua

update

parent c5fbc619
......@@ -11,6 +11,8 @@ export class AppComponent {
constructor(private router: Router,private overAll:OverAllService,
private titleSer:Title){
console.log("monitor:v20191119");
//火狐拖动图片会打开新tab
document.body.ondrop = (event)=> {
event.preventDefault();
......
export const VERSION = process.env.VERSION;
export const DEBUG_INFO_ENABLED: boolean = !!process.env.DEBUG_INFO_ENABLED;
export const SERVER_API_URL_COMS = '/coms';
export const SERVER_API_URL = '/anke';
// export const SERVER_API_URL = '/anke';
// export const SERVER_API_URL = '/zhouxi';
// export const SERVER_API_URL = '/zabbixBox';
export const SERVER_API_URL = '/zabbixBox';
export const SERVER_API_URL_MONITOR = '/api';
export const BUILD_TIMESTAMP = process.env.BUILD_TIMESTAMP;
export const pageSize = 10;
......
......@@ -7,7 +7,7 @@
<th>级别</th>
<th>名称</th>
<th nzWidth="15%">告警信息</th>
<th>持续时间</th>
<th *ngIf="!obj?.isWaring">持续时间</th>
<th>状态</th>
</tr>
</thead>
......@@ -23,7 +23,7 @@
</td>
<td>{{data.name}}</td>
<td>{{data.description}}</td>
<td>
<td *ngIf="!obj?.isWaring">
<ng-container *ngIf="data.continuedTime">{{data.continuedTime}}</ng-container>
</td>
<td>
......
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