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
Email Patches
Plain Diff
Browse Files
Authored by
xwx
3 years ago
Commit
2641ea72a0e77a5d4992b821a38f43635066e14a
1 parent
a7b9221c
拓补视图-【1692】-网络设备资源拓扑图可以绑定管理状态、端口状态和监控连接状态
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/commonDetail.js
hg-monitor-web-base/src/main/resources/static/src/controller/commonDetail.js
View file @
2641ea7
...
...
@@ -119,6 +119,7 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
admin
.
req
({
url
:
common
.
domainName
+
url
}).
done
(
function
(
res
)
{
var
editFlag
=
localStorage
.
getItem
(
"editFlag"
);
//是否编辑状态
var
flags
=
""
;
var
kpiIdList
=
""
;
if
(
res
.
data
&&
res
.
data
.
length
>
0
)
{
...
...
@@ -171,7 +172,13 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
'<img style="width: 17px;height: 17px;" src="/src/style/img/icon_row_menu.png">\n'
+
'</a>'
var
menuId
=
""
;
debugger
if
(
v
.
id
==
'KPIE13DD9A3'
||
v
.
id
==
'KPI02786E8D'
||
status
!=
-
1
)
{
if
(
editFlag
==
'true'
&&
v
.
id
==
'KPIE13DD9A3'
){
v
.
name
+=
'<div class="layui-form" style="float: left;height: 30px;width: 30px;padding-left: 10px">'
+
'<input style="" lay-filter="kpicheckboxfilter" type="checkbox" lay-skin="primary" name="identKpiCheckbox" data-unit="" '
+
'data-id="'
+
v
.
id
+
'" data-kpiname="'
+
v
.
name
+
'" data-flag="'
+
v
.
flag
+
'" data-name='
+
v
.
name
+
'></div>'
;
}
v
.
name
=
v
.
name
+
tips
;
menuId
=
"id=\""
+
targetId
+
"_detail_row_menu\" class='statusMenu'"
;
}
...
...
@@ -182,7 +189,9 @@ layui.define(['laytpl', 'admin', 'form', 'table', 'echarts', 'sessions', 'xmSele
+
$html
+
valueStr
+
'</span></li>'
});
$
(
"#"
+
targetId
).
html
(
li
);
fn
&&
fn
();
form
.
render
(
'checkbox'
);
getCheckedBoxData
();
fn
&&
fn
()
//初始化监听告警压制需要的数据
if
(
!
statusF
)
{
...
...
Please
register
or
login
to post a comment