summaryrefslogtreecommitdiffstats
path: root/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html
diff options
context:
space:
mode:
authorzhangab <zhanganbing@chinamobile.com>2018-05-31 10:35:19 +0800
committerzhangab <zhanganbing@chinamobile.com>2018-05-31 10:35:27 +0800
commita3be3e341d242b8544e0f75f6bd067d9eb481df6 (patch)
tree3450b228297949e7c7dda6e6165607c3619cd76c /usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html
parented95800538cd31cc60aa5ea055ec2d3939432607 (diff)
modify alarm time display
Change-Id: Ic5c5a7657f7aa0be1b5eea071fc85a06681258bb Issue-ID: USECASEUI-124 Signed-off-by: zhangab <zhanganbing@chinamobile.com>
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html')
-rw-r--r--usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html10
1 files changed, 6 insertions, 4 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html
index 6711749f..dcc6d44a 100644
--- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html
+++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/view-models/alarm.html
@@ -87,11 +87,12 @@
<thead>
<tr>
<th width="5%">Id</th>
- <th width="25%">Event Name</th>
- <th width="25%">Source Name</th>
+ <th width="20%">Event Name</th>
+ <th width="20%">Source Name</th>
<th width="10%">Priority</th>
<th width="15%">Start Time</th>
- <th width="10%">Status</th>
+ <th width="15%">Clear Time</th>
+ <th width="8%">Status</th>
<th>Option</th>
</tr>
</thead>
@@ -101,7 +102,8 @@
<td>{{row.alarmsHeader.eventName}}</td>
<td>{{row.alarmsHeader.sourceName}}</td>
<td>{{row.alarmsHeader.priority}}</td>
- <td>{{row.alarmsHeader.createTime}}</td>
+ <td>{{row.alarmsHeader.startEpochMicrosec || row.alarmsHeader.lastEpochMicroSec | dateformater}}</td>
+ <td>{{row.alarmsHeader.startEpochMicrosecCleared || row.alarmsHeader.lastEpochMicrosecCleared | dateformater}}</td>
<td>{{row.alarmsHeader.status}}</td>
<td>
<button ng-click="jump(row.alarmsHeader.id)" class="btn btn-primary">Detail</button>