Showing
1 changed file
with
6 additions
and
0 deletions
@@ -219,6 +219,12 @@ layui.extend({ | @@ -219,6 +219,12 @@ layui.extend({ | ||
219 | if(href.indexOf('?Authorization') != -1 && href.indexOf('&show=0&url=') != -1 && pathURL !== '/page/forward'){ | 219 | if(href.indexOf('?Authorization') != -1 && href.indexOf('&show=0&url=') != -1 && pathURL !== '/page/forward'){ |
220 | return location.hash = "/page/forward"; | 220 | return location.hash = "/page/forward"; |
221 | } | 221 | } |
222 | + //跳转到告警页面 | ||
223 | + let params=new URLSearchParams(location.search); | ||
224 | + let [bizId]=[params.get('bizId')]; | ||
225 | + if( href.indexOf('&show=3') != -1 && pathURL !== '/alarm/activewarning'){ | ||
226 | + return location.hash = "/alarm/activewarning/bizId="+bizId; | ||
227 | + } | ||
222 | 228 | ||
223 | //独立页面 | 229 | //独立页面 |
224 | if(isIndPage || pathURL === '/user/login'|| pathURL === '/page/forward'){ //此处单独判断登入页,是为了兼容旧版(即未在 sessions.js 配置 indPage 的情况) | 230 | if(isIndPage || pathURL === '/user/login'|| pathURL === '/page/forward'){ //此处单独判断登入页,是为了兼容旧版(即未在 sessions.js 配置 indPage 的情况) |
-
Please register or login to post a comment