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
c1c14070ce19cc3685ccaed840f6df7eea794cdf
1 parent
29e5b156
杭州-跳转CMDB
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
hg-monitor-web-zj/src/main/resources/static/src/lib/admin.js
hg-monitor-web-zj/src/main/resources/static/src/lib/admin.js
View file @
c1c1407
...
...
@@ -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"
)
+
'
&
access_token='
+
localStorage
.
getItem
(
"access_token"
));
window
.
open
(
sessionStorage
.
getItem
(
"cmdbWeb"
)
+
'
/#/index?
access_token='
+
localStorage
.
getItem
(
"access_token"
));
}
else
{
layer
.
msg
(
'当前用户没有权限'
,
{
icon
:
0
,
time
:
3000
});
}
...
...
Please
register
or
login
to post a comment