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
64a5fa819d432b6a73ef1efbafedd6720164084a
1 parent
1b48f178
杭州-跳转CMDB
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
hg-monitor-web-zj/src/main/resources/application.yml
hg-monitor-web-zj/src/main/resources/static/src/lib/admin.js
hg-monitor-web-zj/src/main/resources/application.yml
View file @
64a5fa8
...
...
@@ -21,7 +21,7 @@ url:
# 一体化视图
ythView
:
http://192.168.0.69:18089
# cmdb
cmdbWeb
:
http://192.168.0.68
:80
cmdbWeb
:
http://192.168.0.68
/#/index
# 业务健康度
ywHealth
:
http://80.12.92.117:83
#流程系统路径,当ssl.enabled=true时,http要改为https,并修改流程nginx的conf文件
...
...
hg-monitor-web-zj/src/main/resources/static/src/lib/admin.js
View file @
64a5fa8
...
...
@@ -677,7 +677,7 @@ layui.define(['view'], function(exports){
,
toCMDB
:
function
()
{
var
roles
=
sessionStorage
.
getItem
(
'roles'
);
if
(
roles
.
indexOf
(
'zichanyw'
)
!=
-
1
||
roles
.
indexOf
(
'zichanAdmin'
)
!=
-
1
){
window
.
open
(
sessionStorage
.
getItem
(
"cmdbWeb"
));
window
.
open
(
sessionStorage
.
getItem
(
"cmdbWeb"
)
+
'&access_token='
+
localStorage
.
getItem
(
"access_token"
)
);
}
else
{
layer
.
msg
(
'当前用户没有权限'
,
{
icon
:
0
,
time
:
3000
});
}
...
...
Please
register
or
login
to post a comment