From c536ddf00c5e433b8f32c3d78fa3cfc966fd3a54 Mon Sep 17 00:00:00 2001 From: haozq <1611483981@qq.com> Date: Thu, 19 Dec 2024 16:09:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=A1=E8=AE=A1=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bns/html/base/log/child/businessLog.html | 1 + bns/html/base/log/child/errLog.html | 2 +- bns/html/base/log/child/logAnalysis.html | 2 ++ bns/html/base/log/child/logCapacityConfiguration.html | 1 + bns/html/base/log/child/systemLog.html | 1 + bns/js/system/htmlpermission.js | 6 +++++- 6 files changed, 11 insertions(+), 2 deletions(-) diff --git a/bns/html/base/log/child/businessLog.html b/bns/html/base/log/child/businessLog.html index ada743f..302da80 100644 --- a/bns/html/base/log/child/businessLog.html +++ b/bns/html/base/log/child/businessLog.html @@ -121,6 +121,7 @@ + diff --git a/bns/html/base/log/child/errLog.html b/bns/html/base/log/child/errLog.html index 96f9284..cb9d876 100644 --- a/bns/html/base/log/child/errLog.html +++ b/bns/html/base/log/child/errLog.html @@ -16,7 +16,7 @@ - + diff --git a/bns/html/base/log/child/logAnalysis.html b/bns/html/base/log/child/logAnalysis.html index e4ddbaf..0c392ca 100644 --- a/bns/html/base/log/child/logAnalysis.html +++ b/bns/html/base/log/child/logAnalysis.html @@ -9,6 +9,7 @@ + @@ -70,6 +71,7 @@ + diff --git a/bns/html/base/log/child/logCapacityConfiguration.html b/bns/html/base/log/child/logCapacityConfiguration.html index eda8767..a4648e8 100644 --- a/bns/html/base/log/child/logCapacityConfiguration.html +++ b/bns/html/base/log/child/logCapacityConfiguration.html @@ -37,6 +37,7 @@ + diff --git a/bns/html/base/log/child/systemLog.html b/bns/html/base/log/child/systemLog.html index a3fbc77..2b3c0cc 100644 --- a/bns/html/base/log/child/systemLog.html +++ b/bns/html/base/log/child/systemLog.html @@ -16,6 +16,7 @@ + diff --git a/bns/js/system/htmlpermission.js b/bns/js/system/htmlpermission.js index 082dd2f..b5c3b9d 100644 --- a/bns/js/system/htmlpermission.js +++ b/bns/js/system/htmlpermission.js @@ -1,12 +1,16 @@ +let sjurl=['/base/log/child/systemLog.html','/base/log/child/businessLog.html','/base/log/child/errLog.html','/base/log/child/logAnalysis.html','/base/log/child/logCapacityConfiguration.html'] getLocalpath(); - function getLocalpath(){ var currentPath = window.location.pathname; var url=currentPath.split("/html"); let usJosn=JSON.parse(us); + if(sjurl.includes(url[1])){ + url[1]='/base/log/logManage.html'; + } let yq=getHtmlPermission(usJosn.menus,url[1]); console.log(yq) if(!yq){ + addLogs(url,url[1],usJosn.nickName); top.window.location.href = login_url; }