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
60d3e021a6690bfda9f1f91987b52c3e50d91ec7
2 parents
56e90b98
fee707b1
Merge branch 'master-V32-LH' into 'master'
拓扑优化弹框 See merge request
!372
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
3 deletions
hg-monitor-web-base/src/main/resources/static/src/controller/common.js
hg-monitor-web-base/src/main/resources/static/src/controller/common.js
View file @
60d3e02
...
...
@@ -1262,9 +1262,18 @@ layui.define(['xmSelect', 'md5'], function (exports) {
param
=
"="
+
encodeURIComponent
(
layHref
.
split
(
'='
)[
1
]);
}
alink
.
setAttribute
(
"lay-href"
,
layHref
.
split
(
'='
)[
0
]
+
param
);
document
.
body
.
appendChild
(
alink
);
alink
.
click
();
document
.
body
.
removeChild
(
alink
);
//console.log("************",window.location.origin+'/#'+layHref.split('=')[0] + param)
//LH 修改 弹框展示子拓扑
layer
.
open
({
title
:
'子拓扑'
,
type
:
2
,
area
:[
'70%'
,
'90%'
],
content
:
obj
.
graphEditorOrigin
+
"/jgraph/grapheditor/viewer.html?access_token="
+
localStorage
.
getItem
(
'access_token'
)
+
'&id='
+
layHref
.
split
(
'='
)[
2
]
+
"&layout=organic"
,
})
// document.body.appendChild(alink);
// alink.click();
// document.body.removeChild(alink);
},
/**
...
...
Please
register
or
login
to post a comment