Browse Source

Merge branch 'xyLog220509' into test

mfmf 3 years atrás
parent
commit
8117cb9cff
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/js/loginLogs.js
  2. 1 1
      src/js/operationalLogs.js

+ 2 - 2
src/js/loginLogs.js

@@ -75,8 +75,8 @@ function getTabData(activePage) {
         return
     }
     const param = {
-        loginName: encodeURIComponent(loginName),
-		loginIp: encodeURIComponent(loginIp),
+        loginName: loginName.replace(/%/g,"/%").replace(/_/g,"/_"),
+		loginIp: loginIp.replace(/%/g,"/%").replace(/_/g,"/_"),
         "startDate": dateStatrt,
         "endDate": dateEnd,
 		size: size,

+ 1 - 1
src/js/operationalLogs.js

@@ -86,7 +86,7 @@ function getTabData(activePage) {
 		return
 	}
 	const param = {
-		operationName: encodeURIComponent(operationName),
+		operationName: operationName.replace(/%/g,"/%").replace(/_/g,"/_"),
 		"startDate": dateStatrt,
 		"endDate": dateEnd,
 		size: size,