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
鲁尚清
3 years ago
Commit
3304d79d85f2c35ab9bd3e016c62ba096a887803
1 parent
e879d9c9
一体化页面跳转到活动告警页面的配置
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
hg-monitor-web-base/src/main/resources/static/src/index.js
hg-monitor-web-base/src/main/resources/static/src/index.js
View file @
3304d79
...
...
@@ -219,6 +219,12 @@ layui.extend({
if
(
href
.
indexOf
(
'?Authorization'
)
!=
-
1
&&
href
.
indexOf
(
'&show=0&url='
)
!=
-
1
&&
pathURL
!==
'/page/forward'
){
return
location
.
hash
=
"/page/forward"
;
}
//跳转到告警页面
let
params
=
new
URLSearchParams
(
location
.
search
);
let
[
bizId
]
=
[
params
.
get
(
'bizId'
)];
if
(
href
.
indexOf
(
'&show=3'
)
!=
-
1
&&
pathURL
!==
'/alarm/activewarning'
){
return
location
.
hash
=
"/alarm/activewarning/bizId="
+
bizId
;
}
//独立页面
if
(
isIndPage
||
pathURL
===
'/user/login'
||
pathURL
===
'/page/forward'
){
//此处单独判断登入页,是为了兼容旧版(即未在 sessions.js 配置 indPage 的情况)
...
...
Please
register
or
login
to post a comment