...
|
...
|
@@ -334,6 +334,10 @@ layui.define(['common', 'swiper', 'admin','commonDetail','mxClient','sessions',' |
|
|
//点击告警数字,跳转至告警页面
|
|
|
$("#indexbizhealth [data-index-banner-item='resType'] .index-banner-item-tips ").unbind('click').on("click", function () {
|
|
|
var restype = $(this).data('restype');
|
|
|
//不以资源类型不包括父节点的资源类型 包括阿里云、华为云
|
|
|
if("ALI_CLOUD_PLAT"== restype || "HUAWEI_CLOUD_PLAT" == restype){
|
|
|
restype =restype.substring(0,restype.lastIndexOf("_"));
|
|
|
}
|
|
|
var alink = document.createElement('a');
|
|
|
alink.setAttribute("lay-href", "/alarm/activewarning/restype=" + restype);
|
|
|
document.body.appendChild(alink);
|
...
|
...
|
|