Showing
1 changed file
with
14 additions
and
2 deletions
@@ -140,7 +140,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | @@ -140,7 +140,7 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | ||
140 | ` | 140 | ` |
141 | //漏洞处理抽屉 | 141 | //漏洞处理抽屉 |
142 | layer.open({ | 142 | layer.open({ |
143 | - title: ['漏洞咨询', 'font-size:20px;background-color: #d0ddec;display:flex;align-items: center; justify-content: flex-start;'], | 143 | + title: ['漏洞资讯', 'font-size:20px;background-color: #d0ddec;display:flex;align-items: center; justify-content: flex-start;'], |
144 | type: 1, | 144 | type: 1, |
145 | offset: 'rb', | 145 | offset: 'rb', |
146 | area: ['30%', '100%'], | 146 | area: ['30%', '100%'], |
@@ -198,7 +198,19 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | @@ -198,7 +198,19 @@ layui.define(['common', 'swiper', 'admin', 'commonDetail', 'mxClient', 'sessions | ||
198 | , type: "get" | 198 | , type: "get" |
199 | , done: function (res) { | 199 | , done: function (res) { |
200 | if(res.count > 0){ | 200 | if(res.count > 0){ |
201 | - layer.msg('您有 '+res.count+" 条涉及漏洞未处理,请前往【漏洞管理】进行处理!", {icon: 7, time: 5000}); | 201 | + layer.open({ |
202 | + id:'vulner_tips', | ||
203 | + title: ['漏洞提示','color:#1e9fff'], | ||
204 | + type: 1, | ||
205 | + shade:0, | ||
206 | + area: ['400px', '120px'], | ||
207 | + offset:'rb', | ||
208 | + 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>`, | ||
209 | + yes: function (index, layero) { | ||
210 | + layer.close(index); | ||
211 | + } | ||
212 | + }); | ||
213 | + | ||
202 | } | 214 | } |
203 | } | 215 | } |
204 | }); | 216 | }); |
-
Please register or login to post a comment