...
|
...
|
@@ -2148,6 +2148,42 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele |
|
|
}
|
|
|
barlinecharts.setOption(option);
|
|
|
},
|
|
|
renderStoreAlarms:function (tableId,resId){
|
|
|
var alarmlist = table.render({
|
|
|
elem: '#' + tableId
|
|
|
, url: common.domainName + '/api-web/bResultRealtimeCollector/getStore'
|
|
|
, where: {
|
|
|
access_token: obj.sessions.getToken().access_token,
|
|
|
ResId: resId
|
|
|
}
|
|
|
, height: 'auto'
|
|
|
, page: {
|
|
|
layout: ['count', 'prev', 'page', 'next', 'limit', 'skip']
|
|
|
,theme: '#1E9FFF'
|
|
|
}
|
|
|
, limit: 5
|
|
|
, even: true
|
|
|
, cols: [[
|
|
|
{
|
|
|
field: 'provider', title: '存储品牌型号', align: 'center', width: 421,
|
|
|
}
|
|
|
, {
|
|
|
field: 'model', title: '存储序列号', align: 'center',width: 421, sort: true,
|
|
|
}
|
|
|
, {
|
|
|
field: 'lunName', title: 'lun名称', align: 'center',width: 421
|
|
|
}
|
|
|
, {
|
|
|
field: 'lunSize', title: '大小', align: 'center', width: 421,
|
|
|
}
|
|
|
]],
|
|
|
done: function (res) {
|
|
|
if (res.data && res.data.length > 0) {
|
|
|
document.getElementById("hostminicomputerpartition_storeMessage").style.display="block"
|
|
|
}
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
/**
|
|
|
* 活动告警
|
|
|
* @param tableId
|
...
|
...
|
|