Toggle navigation
Toggle navigation
This project
Loading...
Sign in
monitor_v3
/
hg-monitor-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
高磊
about a year ago
Commit
87daa90c566cc88a56e82d9c848ec279c24d69dc
2 parents
203d4adb
a5674f7b
Merge branch 'wangfeng-500-dev' into 'master-500-dev'
修改漏洞处理提示框样式 See merge request
!1245
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
2 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/main-biz-card.js
hg-monitor-web-base/src/main/resources/static/src/controller/main-biz-card.js
View file @
87daa90
...
...
@@ -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);
}
});
}
}
});
...
...
Please
register
or
login
to post a comment