...
|
...
|
@@ -140,7 +140,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions |
|
|
`
|
|
|
//漏洞处理抽屉
|
|
|
layer.open({
|
|
|
title: ['漏洞咨询', 'font-size:20px;background-color: #d0ddec;display:flex;align-items: center; justify-content: flex-start;'],
|
|
|
title: ['漏洞资讯', 'font-size:20px;background-color: #d0ddec;display:flex;align-items: center; justify-content: flex-start;'],
|
|
|
type: 1,
|
|
|
offset: 'rb',
|
|
|
area: ['30%', '100%'],
|
...
|
...
|
@@ -198,7 +198,19 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions |
|
|
, type: "get"
|
|
|
, done: function (res) {
|
|
|
if(res.count > 0){
|
|
|
layer.msg('您有 '+res.count+" 条涉及漏洞未处理,请前往【漏洞管理】进行处理!", {icon: 7, time: 5000});
|
|
|
layer.open({
|
|
|
id:'vulner_tips',
|
|
|
title: ['漏洞提示','color:#1e9fff'],
|
|
|
type: 1,
|
|
|
shade:0,
|
|
|
area: ['400px', '120px'],
|
|
|
offset:'rb',
|
|
|
content: `<div style=" line-height: 60px;padding: 0px 20px">您有 <span style="color: red;font-size: 18px;">${res.count}</span> 条涉及漏洞未处理,请点击 <a class="link" href="/#/documentationManagement/vulnerability">漏洞管理</a> 进行处理!</div>`,
|
|
|
yes: function (index, layero) {
|
|
|
layer.close(index);
|
|
|
}
|
|
|
});
|
|
|
|
|
|
}
|
|
|
}
|
|
|
});
|
...
|
...
|
|