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
王涛
3 years ago
Commit
16d05837f47d04c5e176bb12e198cfe1f95f1454
2 parents
0440a700
0e65efbd
Merge branch 'master' of
http://192.168.1.136:82/monitor_v3/hg-monitor-web
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
22 additions
and
13 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/netsafe_firewall_wangshen.js
hg-monitor-web-base/src/main/resources/static/src/index.js
hg-monitor-web-base/src/main/resources/static/src/lib/extend/msgTips.js
hg-monitor-web-base/src/main/resources/static/src/style/img/fault.png
hg-monitor-web-base/src/main/resources/static/src/style/img/faultover.png
hg-monitor-web-base/src/main/resources/static/src/style/img/faultprogress.png
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/operationMaintenance/doc/index.html
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/operationMaintenance/doc/index.js
hg-monitor-web-base/src/main/resources/static/src/controller/netsafe_firewall_wangshen.js
View file @
16d0583
...
...
@@ -20,7 +20,8 @@ layui.define(['laypage', 'commonDetail','common'], function (exports) {
commonDetail
.
bindTips
();
//基本信息
var
jbxxKpiId
=
'KPI282685A0,KPI2D507904,KPI5858832B,KPIBB1082BE,KPI4419E8A1'
;
//2021-12-30 网神防火墙详情页,基本信息屏蔽指标:KPIBB1082BE 腾飞采集不到
var
jbxxKpiId
=
'KPI282685A0,KPI2D507904,KPI5858832B,KPI4419E8A1'
;
//接口信息kpiids
var
interfaceinfoKpis
=
'KPI49ACAAFD,KPI1A03F672,KPIB28E7495,KPIBD006E36,KPIE4B51D5C,KPI7E81DFB5,KPI7D3D3496,KPICFEE28E9'
;
...
...
hg-monitor-web-base/src/main/resources/static/src/index.js
View file @
16d0583
...
...
@@ -469,7 +469,7 @@ layui.extend({
new
msgTips
({
dom
:
".right-bottom-tips"
,
title
:
title
,
message
:
`
<
p
style
=
"line-height:
20px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;background-position-x: right;padding-left: 25px;padding-top: 145px;"
><
span
style
=
" overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical;margin-left: -11px;"
lay
-
tips
=
"${content}"
>
$
{
content
}
<
/span><span class="title closeFault" style="position: absolute;top: 72px;left: 213
px;">X</
span
><
span
style
=
"position: absolute;left: 87px;top: 124px; font-weight: bold;float: right;"
>
$
{
title
}
<
/span></
p
>
`
,
message
:
`
<
p
style
=
"line-height:
18px;background: url(${imgUrl}) no-repeat;background-size: 100%;height: 160px;background-position-x: right;padding: 145px 22px 0; "
><
span
style
=
" overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;"
lay
-
tips
=
"${content}"
>
$
{
content
}
<
/span><span class="title closeFault" style="position: absolute;top: 66px;left: 214
px;">X</
span
><
span
style
=
"position: absolute;left: 87px;top: 124px; font-weight: bold;float: right;"
>
$
{
title
}
<
/span></
p
>
`
,
duration
:
10000
,
space
:
10
,
firstSpace
:
8
,
...
...
@@ -487,6 +487,7 @@ layui.extend({
//}
}
})
debugger
},
delay
);
}
else
{
setTimeout
(
function
()
{
...
...
hg-monitor-web-base/src/main/resources/static/src/lib/extend/msgTips.js
View file @
16d0583
...
...
@@ -127,7 +127,7 @@ layui.define(['layer', 'laytpl', 'form'], function (exports) {
$
(
newContainer
).
css
({
'transition-timing-function'
:
options
.
timingFun
,
// 'width':options.width,
'width'
:
'2
26
px'
,
'width'
:
'2
40
px'
,
'bottom'
:
'350px'
});
var
height
=
$
(
newContainer
).
outerHeight
(
true
);
...
...
hg-monitor-web-base/src/main/resources/static/src/style/img/fault.png
View file @
16d0583
17.4 KB
|
W:
|
H:
20.9 KB
|
W:
|
H:
2-up
Swipe
Onion skin
hg-monitor-web-base/src/main/resources/static/src/style/img/faultover.png
View file @
16d0583
17.4 KB
|
W:
|
H:
19.8 KB
|
W:
|
H:
2-up
Swipe
Onion skin
hg-monitor-web-base/src/main/resources/static/src/style/img/faultprogress.png
View file @
16d0583
16.6 KB
|
W:
|
H:
19.4 KB
|
W:
|
H:
2-up
Swipe
Onion skin
hg-monitor-web-base/src/main/resources/static/vue3/src/components/common/document/index.js
View file @
16d0583
...
...
@@ -386,7 +386,7 @@ export default {
let
url
=
`
/
inspection
-
report
/
file
/
change
`
;
let
msg
=
"您确认将该文件放入回收站?"
;
if
(
props
.
isRecycle
)
{
if
(
props
.
isRecycle
||
props
.
isView
)
{
msg
=
"您确认永久删除该文件?"
;
url
=
`
/
inspection
-
report
/
file
/
delete
`
;
}
...
...
@@ -415,7 +415,7 @@ export default {
if
(
res
&&
res
.
code
==
0
)
{
// 执行回调,获取文件id列表
if
(
res
.
data
){
emit
(
'delete
Callback'
,
res
.
data
);
emit
(
'delete
callback'
,
res
.
data
);
}
if
(
res
.
msg
)
{
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/operationMaintenance/doc/index.html
View file @
16d0583
...
...
@@ -4,6 +4,6 @@
:types=
"[docType]"
:fileIds=
"docIds"
:canAddFolder=
"canAddFolder"
@
delete
C
allback=
"delDocRel"
@
delete
c
allback=
"delDocRel"
@
callback=
"saveOpsLog"
></cm-document>
...
...
hg-monitor-web-zj/src/main/resources/static/vue3/src/components/page/operationMaintenance/doc/index.js
View file @
16d0583
...
...
@@ -69,6 +69,19 @@ export default {
initFlg
.
value
=
true
;
})
}
/**
* 文档删除的回调
* @param docIds 文档id集合
*/
let
delDocRel
=
(
docIds
)
=>
{
console
.
log
(
"delDocRel"
,
docIds
)
let
param
=
{
id
:
docIds
.
join
(
','
),
}
proxy
.
$http
.
get
(
'/api-web/bOpsFile/deleteSearch'
,
param
,
function
(
res
){
})
}
let
saveOpsLog
=
({
document
,
fileInfo
})
=>
{
let
params
=
{
...
...
@@ -88,13 +101,7 @@ export default {
});
}
/**
* 文档删除的回调
* @param docIds 文档id集合
*/
let
delDocRel
=
(
docIds
)
=>
{
//
}
// 监听编辑状态
Vue
.
watch
(()
=>
props
.
treeNode
,
(
newValue
,
oldVlaue
)
=>
{
...
...
Please
register
or
login
to post a comment