diff --git a/bns/html/base/log/child/errLog.html b/bns/html/base/log/child/errLog.html
new file mode 100644
index 0000000..96f9284
--- /dev/null
+++ b/bns/html/base/log/child/errLog.html
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/bns/html/base/log/child/logAnalysis.html b/bns/html/base/log/child/logAnalysis.html
index 87b281c..e4ddbaf 100644
--- a/bns/html/base/log/child/logAnalysis.html
+++ b/bns/html/base/log/child/logAnalysis.html
@@ -6,11 +6,11 @@
diff --git a/bns/html/base/log/child/logCapacityConfiguration.html b/bns/html/base/log/child/logCapacityConfiguration.html
index a6430f8..eda8767 100644
--- a/bns/html/base/log/child/logCapacityConfiguration.html
+++ b/bns/html/base/log/child/logCapacityConfiguration.html
@@ -6,11 +6,11 @@
diff --git a/bns/html/base/log/child/systemLog.html b/bns/html/base/log/child/systemLog.html
index b5340a1..a3fbc77 100644
--- a/bns/html/base/log/child/systemLog.html
+++ b/bns/html/base/log/child/systemLog.html
@@ -29,64 +29,83 @@
-
+
+
+
+
-
-
+
+
-
+
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
-
+
+
@@ -97,7 +116,6 @@
-
diff --git a/bns/html/base/log/logManage.html b/bns/html/base/log/logManage.html
index 1948a2c..7022e0c 100644
--- a/bns/html/base/log/logManage.html
+++ b/bns/html/base/log/logManage.html
@@ -24,7 +24,7 @@
- 系统日志
- 业务日志
- - 运行日志
+ - 异常日志
- 日志分析
- 日志容量配置
diff --git a/bns/js/base/log/child/businessLog.js b/bns/js/base/log/child/businessLog.js
index c524c6a..ac7707a 100644
--- a/bns/js/base/log/child/businessLog.js
+++ b/bns/js/base/log/child/businessLog.js
@@ -27,9 +27,9 @@ layui.use(['layer', 'form', 'laydate', 'element'], function () {
// 查询按钮
$("#query").off().click(function () {
// 筛选校验
- inputTest1('roleName', 20, '用户身份')
- inputTest2('detail', 200, '操作内容')
- ipTest()
+ // inputTest1('roleName', 20, '用户身份')
+ // inputTest2('detail', 200, '操作内容')
+ // ipTest()
pages(1,10)
return;
})
@@ -39,6 +39,42 @@ layui.use(['layer', 'form', 'laydate', 'element'], function () {
})
})
+// 备份
+function handleBackup() {
+ let downUrl=dataUrl + 'system/sys/logs/downloadYwLogs' ;
+ downLoadByUrl(downUrl);
+}
+
+function downLoadByUrl(url){
+ var xhr = new XMLHttpRequest();
+ //GET请求,请求路径url,async(是否异步)
+ xhr.open('GET', url, true);
+ xhr.setRequestHeader("authorization", token);
+ //设置请求头参数的方式,如果没有可忽略此行代码
+ xhr.setRequestHeader("encryption", 'encryption');
+ //设置响应类型为 blob
+ xhr.responseType = 'blob';
+ //关键部分
+ xhr.onload = function (e) {
+ //如果请求执行成功
+ if (this.status == 200) {
+ var blob = this.response;
+ var filename = "yw_sys_log_info_back.text";//如123.xls
+ var a = document.createElement('a');
+ blob.type = "application/octet-stream";
+ var url = URL.createObjectURL(blob);
+ a.href = url;
+ a.download=filename;
+ a.click();
+ //释放之前创建的URL对象
+ window.URL.revokeObjectURL(url);
+ }
+ };
+ //发送请求
+ xhr.send();
+}
+
+
// 输入框校验
function inputTest1 (field, length, fieldName) {
console.log('field----'+field);
@@ -129,37 +165,44 @@ function laypages(total, page, limit) {
// 获取参数
function getReqParamss(page,limit,type) {
let obj = {};
+ let startTime='';
+ let endTime='';
+
+
if(!type){
+ console.log($("#workDay").val())
+ if($("#workDay").val()){
+ startTime=$("#workDay").val().split(' - ')[0]
+ endTime=$("#workDay").val().split(' - ')[1]
+ }
obj = {
page: page + "",
limit: limit + "",
- roleName: $("#roleName").val(),
+ userName: $("#userName").val(),
operIp: $("#operIp").val(),
- workDay: $("#workDay").val(),
- startTime: $("#workDay").val().split(' ')[0],
- endTime: $("#workDay").val().split(' ')[2],
- detail: $("#detail").val(),
- status: $("#status").val(),
- grade: $("#grade").val(),
- orderType: $("#orderType").val() || 'create_time',
- orderBy: $("#orderBy").val() || 'DESC',
- logType: '业务日志',
+ startTime:startTime,
+ endTime:endTime,
+ operDetails: $("#operDetails").val(),
+ eventType: $("#eventType").val(),
+ operResult: $("#operResult").val(),
+ operType: $("#operType").val(),
+ sortName: $("#sortName").val(),
+ sortType: $("#sortType").val()
};
}else{
obj = {
page: '1',
limit: '10',
- roleName: "",
- operIp: "",
- workDay: "",
- startTime: "",
- endTime: "",
- detail: "",
- status: "",
- grade: "",
- orderType: "create_time",
- orderBy: "DESC",
- logType: '业务日志',
+ userName:'',
+ operIp:'',
+ startTime:'',
+ endTime:'',
+ operDetails: '',
+ eventType: '',
+ operResult: '',
+ operType: '',
+ sortName:'',
+ sortType: ''
};
}
return obj;
@@ -174,30 +217,23 @@ function initTable(dataList,limit,page) {
title: '日志表',
data:dataList,
cols: [[ //表头
+ { field: "number", type: "numbers", title: "序号", width: 100, unresize: true, align: "center", },
+ { field: 'userName', title: '操作人', align: 'center', unresize: true, },
+ { field: 'operIp', title: '操作ip', align: 'center',unresize: true},
+ { field: 'operTime', title: '操作时间', align: 'center', width:220,unresize: true },
+ { field: 'operModel', title: '操作模块', align: 'center', unresize: true, },
+ { field: 'operDetails', title: '操作详情', align: 'center', unresize: true, },
+ { field: 'operType', title: '操作类型', align: 'center', unresize: true, },
+ { field: 'operType', title: '操作类型', align: 'center', unresize: true, },
+ { field: 'eventType', title: '事件类型', align: 'center', unresize: true, },
+ { field: 'operParam', title: '操作参数', align: 'center', unresize: true, },
+ { field: 'operMeth', title: '操作方法', align: 'center', unresize: true, },
{
- title: "序号",
- width: 100,
- unresize: true,
- sort: true,
- align: "center",
- templet: function (d) {
-
- return (page - 1) * limit + d.LAY_INDEX;
- }
- },
- { field: 'roleName', title: '用户身份', align: 'center', unresize: true, sort: true},
- { field: 'operName', title: '操作用户名', align: 'center', unresize: true, sort: true, },
- { field: 'operTime', title: '操作时间', align: 'center', unresize: true, sort: true,},
- { field: 'operIp', title: 'IP地址', align: 'center', unresize: true, sort: true,},
- { field: 'title', title: '业务模块', align: 'center', unresize: true, sort: true,},
- // { field: 'title', title: '所属菜单', align: 'center', width: 150, unresize: true, },
- { field: 'detail', title: '操作内容', align: 'center', unresize: true, sort: true,},
- { field: 'grade', title: '操作类型', align: 'center', unresize: true, sort: true,},
- { field: 'status', title: '操作结果', align: 'center', unresize: true, sort: true, templet: function (d) {
- if(d.status == '0') {
- return '成功'
- } else if(d.status == '1') {
+ field: 'operResult', title: '操作结果', align: 'center', unresize: true, templet: function (d) {
+ if (d.operResult == '0') {
return '失败'
+ } else if(d.operResult == '1') {
+ return '成功'
} else {
return ''
}
diff --git a/bns/js/base/log/child/errLog.js b/bns/js/base/log/child/errLog.js
new file mode 100644
index 0000000..25f9439
--- /dev/null
+++ b/bns/js/base/log/child/errLog.js
@@ -0,0 +1,259 @@
+let table;
+var logTable;
+let form;
+var per;
+let page = 1, limit = 10;
+layui.use(['layer', 'form', 'laydate', 'element'], function () {
+ var layer = layui.layer; //弹层
+ var laypage = layui.laypage; //分页
+ table = layui.table; //表格
+ form = layui.form;
+ laydate = layui.laydate;
+ laydate.render({
+ elem: '#workDay', //指定元素 元素选择器
+ type: 'date', //选择时间类型 可选值:year(年) month(年月) date(年月日) time(时分秒) datetime(年月日时分秒)
+ trigger: 'click',
+ range: true,
+ format: 'yyyy-MM-dd', //时间格式 常用时间格式:yyyy-MM-dd HH:mm:ss
+ max: Date.parse(new Date()),
+ btns: ['now', 'confirm'], //选择框右下角显示的按钮 清除-现在-确定
+ });
+ //注册权限
+ // per = getPer();
+ // console.log(per);
+ //初始化下拉选
+ pages(1,10,1);
+ // initTable();
+ // 查询按钮
+ $("#query").off().click(function () {
+ // 筛选校验
+ // inputTest1('roleName', 20, '用户身份')
+ // inputTest2('detail', 200, '操作内容')
+ // ipTest()
+ pages(1,10)
+ return;
+ })
+ // 重置
+ $("#reset").off().click(function () {
+ pages(1,10,1)
+ })
+})
+
+// 输入框校验
+function inputTest1 (field, length, fieldName) {
+ let query = $("#"+field).val()
+ console.log(query);
+ if (query.trim() === '') return
+ if (query && query.length > length) {
+ layer.alert(`${fieldName}长度大于${length}个字符!`, {icon: 2});
+ }
+ // 禁止输入表情
+ const reg = /[^0-9a-zA-Z\u4E00-\u9FA5]/g
+ if (!reg.test(query)) {
+ return
+ } else {
+ layer.alert(`${fieldName}内容包含特殊字符!`, {icon: 2});
+ // $("#"+field).val("")
+ return
+ }
+}
+function inputTest2 (field, length, fieldName) {
+ let query = $("#"+field).val()
+ if (query.trim() === '') return
+ if (!query && query.length > length) {
+ layer.alert(`${fieldName}长度大于${length}个字符!`, {icon: 2});
+ }
+}
+
+// IP地址校验
+function ipTest () {
+ const operIp = $("#operIp").val()
+ if (operIp.trim() === '') return
+ const regStr = /^((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})(\.((2(5[0-5]|[0-4]\d))|[0-1]?\d{1,2})){3}$/
+ if (regStr.test(operIp)) {
+ return
+ } else {
+ layer.alert("IP地址格式不正确!",{icon: 2});
+ // $("#operIp").val("")
+ return
+ }
+}
+
+// 备份
+function handleBackup() {
+ let downUrl=dataUrl + 'system/sys/logs/downloadErrLogs' ;
+ downLoadByUrl(downUrl);
+}
+
+function downLoadByUrl(url){
+ var xhr = new XMLHttpRequest();
+ //GET请求,请求路径url,async(是否异步)
+ xhr.open('GET', url, true);
+ xhr.setRequestHeader("authorization", token);
+ xhr.setRequestHeader("encryption", 'encryption');
+ //设置响应类型为 blob
+ xhr.responseType = 'blob';
+ //关键部分
+ xhr.onload = function (e) {
+ //如果请求执行成功
+ if (this.status == 200) {
+ var blob = this.response;
+ var filename = "err_log_info_back.text";//如123.xls
+ var a = document.createElement('a');
+ blob.type = "application/octet-stream";
+ var url = URL.createObjectURL(blob);
+ a.href = url;
+ a.download=filename;
+ a.click();
+ //释放之前创建的URL对象
+ window.URL.revokeObjectURL(url);
+ }
+ };
+ //发送请求
+ xhr.send();
+}
+// 恢复
+function handleRecover() {
+ $.ajax({
+ headers:{
+ "encrypt":sm3(JSON.stringify({
+ logType: '系统日志'
+ }))
+ },
+ url: dataUrl + 'system/sys/logs/restoreLog' ,
+ type: 'get',
+ data: {
+ logType: '系统日志'
+ },
+ success: function (res) {
+ console.log(res);
+ if (res.code === 200) {
+ layer.alert("恢复成功",{icon: 1});
+ } else {
+ layer.alert("恢复失败",{icon: 2});
+ }
+ }
+ });
+}
+
+
+function pages(page, limit,type) {
+ let params = getReqParamss(page,limit,type);
+ $.ajax({
+ headers:{
+ "encrypt":sm3(JSON.stringify(params))
+ },
+ url: dataUrl + 'system/sys/logs/getErrLogs', //数据接口(此处为静态数据,仅作演示)
+ data: params,
+ type: 'POST',
+ async: false,
+ success: function (result) {
+ if(result.code === 500){
+ layer.alert(result.msg,{icon:2})
+ }
+ if (result.data) {
+ initTable(result.data,result.limit,result.curr)
+ laypages(result.count, result.curr, result.limit)
+ }
+ }, error: function () {
+ }
+ });
+}
+function laypages(total, page, limit) {
+ layui.use(['laypage'], function () {
+ let laypage = layui.laypage;
+ laypage.render({
+ elem: 'voi-page',
+ count: total,
+ curr: page,
+ limit: limit,
+ layout: ['prev', 'page', 'next', 'skip', 'count', 'limit'],
+ groups: 5,
+ jump: function (obj, first) {
+ if (!first) {
+ page = obj.curr, limit = obj.limit;
+ pages(obj.curr, obj.limit,null);
+ }
+ }
+ });
+ })
+}
+// 获取参数
+function getReqParamss(page,limit,type) {
+ let obj = {};
+ let startTime='';
+ let endTime='';
+
+
+ if(!type){
+ console.log($("#workDay").val())
+ if($("#workDay").val()){
+ startTime=$("#workDay").val().split(' - ')[0]
+ endTime=$("#workDay").val().split(' - ')[1]
+ }
+ obj = {
+ page: page + "",
+ limit: limit + "",
+ userName: $("#userName").val(),
+ operIp: $("#operIp").val(),
+ startTime:startTime,
+ endTime:endTime,
+ errGrade: $("#errGrade").val(),
+ eventType: $("#eventType").val(),
+ operResult: $("#operResult").val(),
+ errReason: $("#errReason").val(),
+ sortName: $("#sortName").val(),
+ sortType: $("#sortType").val()
+ };
+ }else{
+ obj = {
+ page: '1',
+ limit: '10',
+ userName: '',
+ operIp: '',
+ startTime:'',
+ endTime:'',
+ errGrade: '',
+ eventType: '',
+ operResult: '',
+ errReason:'',
+ sortName: '',
+ sortType: ''
+ };
+ }
+ return obj;
+}
+
+function initTable(dataList,limit,page) {
+ // 执行一个 table 实例
+ logTable = table.render({
+ id: 'logTable',
+ elem: '#log-table',
+ height: $(window).height() - ($(window).height() * 0.25),
+ title: '日志表',
+ data:dataList,
+ cols: [[ //表头
+ { field: "number", type: "numbers", title: "序号", width: 100, unresize: true, align: "center", },
+ { field: 'userName', title: '操作人', align: 'center', unresize: true, },
+ { field: 'operDetails', title: '操作详情', align: 'center', unresize: true, },
+ { field: 'operIp', title: '操作ip', align: 'center',unresize: true},
+ { field: 'operTime', title: '操作时间', align: 'center', width:220,unresize: true },
+ { field: 'operModel', title: '操作模块', align: 'center', unresize: true, },
+ { field: 'errReason', title: '异常类型', align: 'center', unresize: true, },
+ { field: 'errGrade', title: '异常等级', align: 'center', unresize: true, },
+ { field: 'eventType', title: '事件类型', align: 'center', unresize: true, },
+ { field: 'operMeth', title: '操作路径', align: 'center', unresize: true, },
+ {
+ field: 'operResult', title: '事件结果', align: 'center', unresize: true, templet: function (d) {
+ if (d.operResult == '0') {
+ return '失败'
+ } else if(d.operResult == '1') {
+ return '成功'
+ } else {
+ return ''
+ }
+ } },
+ ]],
+ limit:limit
+ });
+}
\ No newline at end of file
diff --git a/bns/js/base/log/child/logAnalysis.js b/bns/js/base/log/child/logAnalysis.js
index ddb00ec..c1f9016 100644
--- a/bns/js/base/log/child/logAnalysis.js
+++ b/bns/js/base/log/child/logAnalysis.js
@@ -67,6 +67,7 @@ function getCurrentMonthFirst() {
//操作类型统计 数据源
function logStatisticsData(type, startTime, endTime) {
+ console.log(type)
$.ajax({
headers: {
"encrypt":sm3(JSON.stringify({
diff --git a/bns/js/base/log/child/systemLog.js b/bns/js/base/log/child/systemLog.js
index 9af56cf..8447738 100644
--- a/bns/js/base/log/child/systemLog.js
+++ b/bns/js/base/log/child/systemLog.js
@@ -27,9 +27,9 @@ layui.use(['layer', 'form', 'laydate', 'element'], function () {
// 查询按钮
$("#query").off().click(function () {
// 筛选校验
- inputTest1('roleName', 20, '用户身份')
- inputTest2('detail', 200, '操作内容')
- ipTest()
+ // inputTest1('roleName', 20, '用户身份')
+ // inputTest2('detail', 200, '操作内容')
+ // ipTest()
pages(1,10)
return;
})
@@ -41,10 +41,6 @@ layui.use(['layer', 'form', 'laydate', 'element'], function () {
// 输入框校验
function inputTest1 (field, length, fieldName) {
- console.log('field----'+field);
- console.log('length----'+length);
- console.log(typeof length);
-
let query = $("#"+field).val()
console.log(query);
if (query.trim() === '') return
@@ -85,26 +81,37 @@ function ipTest () {
// 备份
function handleBackup() {
- $.ajax({
- headers:{
- "encrypt":sm3(JSON.stringify({
- logType: '系统日志'
- }))
- },
- url: dataUrl + 'system/sys/logs/copyLog',
- type: 'get',
- data: {
- logType: '系统日志'
- },
- success: function (res) {
- console.log(res);
- if (res.code === 200) {
- layer.alert("备份成功",{icon: 1});
- } else {
- layer.alert("备份失败",{icon: 2});
- }
- }
- });
+ let downUrl=dataUrl + 'system/sys/logs/downloadSystemLogs' ;
+ downLoadByUrl(downUrl);
+}
+
+function downLoadByUrl(url){
+ var xhr = new XMLHttpRequest();
+ //GET请求,请求路径url,async(是否异步)
+ xhr.open('GET', url, true);
+ xhr.setRequestHeader("authorization", token);
+ //设置请求头参数的方式,如果没有可忽略此行代码
+ xhr.setRequestHeader("encryption", 'encryption');
+ //设置响应类型为 blob
+ xhr.responseType = 'blob';
+ //关键部分
+ xhr.onload = function (e) {
+ //如果请求执行成功
+ if (this.status == 200) {
+ var blob = this.response;
+ var filename = "system_log_info_back.text";//如123.xls
+ var a = document.createElement('a');
+ blob.type = "application/octet-stream";
+ var url = URL.createObjectURL(blob);
+ a.href = url;
+ a.download=filename;
+ a.click();
+ //释放之前创建的URL对象
+ window.URL.revokeObjectURL(url);
+ }
+ };
+ //发送请求
+ xhr.send();
}
// 恢复
@@ -140,7 +147,6 @@ function pages(page, limit,type) {
},
url: dataUrl + 'system/sys/logs/getByPage', //数据接口(此处为静态数据,仅作演示)
data: params,
- //content:'applicatiopn/json',
type: 'POST',
async: false,
success: function (result) {
@@ -148,7 +154,6 @@ function pages(page, limit,type) {
layer.alert(result.msg,{icon:2})
}
if (result.data) {
- //console.log(result.data)
initTable(result.data,result.limit,result.curr)
laypages(result.count, result.curr, result.limit)
}
@@ -178,37 +183,44 @@ function laypages(total, page, limit) {
// 获取参数
function getReqParamss(page,limit,type) {
let obj = {};
+ let startTime='';
+ let endTime='';
+
+
if(!type){
+ console.log($("#workDay").val())
+ if($("#workDay").val()){
+ startTime=$("#workDay").val().split(' - ')[0]
+ endTime=$("#workDay").val().split(' - ')[1]
+ }
obj = {
page: page + "",
limit: limit + "",
- roleName: $("#roleName").val(),
+ userName: $("#userName").val(),
operIp: $("#operIp").val(),
- workDay: $("#workDay").val(),
- startTime: $("#workDay").val().split(' ')[0],
- endTime: $("#workDay").val().split(' ')[2],
- detail: $("#detail").val(),
- status: $("#status").val(),
- grade: $("#grade").val(),
- orderType: $("#orderType").val() || 'create_time',
- orderBy: $("#orderBy").val() || 'DESC',
- logType: '系统日志',
+ startTime:startTime,
+ endTime:endTime,
+ operDetails: $("#operDetails").val(),
+ eventType: $("#eventType").val(),
+ operResult: $("#operResult").val(),
+ operType: $("#operType").val(),
+ sortName: $("#sortName").val(),
+ sortType: $("#sortType").val()
};
}else{
obj = {
page: '1',
limit: '10',
- roleName: "",
- operIp: "",
- workDay: "",
- startTime: "",
- endTime: "",
- detail: "",
- status: "",
- grade: "",
- orderType: "create_time",
- orderBy: "DESC",
- logType: '系统日志',
+ userName:'',
+ operIp:'',
+ startTime:'',
+ endTime:'',
+ operDetails: '',
+ eventType: '',
+ operResult: '',
+ operType: '',
+ sortName:'',
+ sortType: ''
};
}
return obj;
@@ -224,20 +236,22 @@ function initTable(dataList,limit,page) {
data:dataList,
cols: [[ //表头
{ field: "number", type: "numbers", title: "序号", width: 100, unresize: true, align: "center", },
- { field: 'roleName', title: '用户身份', align: 'center', unresize: true, },
- { field: 'operName', title: '操作用户名', align: 'center', unresize: true, },
- { field: 'operTime', title: '操作时间', align: 'center', unresize: true, },
- { field: 'operIp', title: 'IP地址', align: 'center', unresize: true, },
- { field: 'title', title: '业务模块', align: 'center', unresize: true, },
- // { field: 'title', title: '所属菜单', align: 'center', unresize: true, },
- { field: 'detail', title: '操作内容', align: 'center', unresize: true, },
- { field: 'grade', title: '操作类型', align: 'center', unresize: true, },
+ { field: 'userName', title: '操作人', align: 'center', unresize: true, },
+ { field: 'operIp', title: '操作ip', align: 'center',unresize: true},
+ { field: 'operTime', title: '操作时间', align: 'center', width:220,unresize: true },
+ { field: 'operModel', title: '操作模块', align: 'center', unresize: true, },
+ { field: 'operDetails', title: '操作详情', align: 'center', unresize: true, },
+ { field: 'operType', title: '操作类型', align: 'center', unresize: true, },
+ { field: 'operType', title: '操作类型', align: 'center', unresize: true, },
+ { field: 'eventType', title: '事件类型', align: 'center', unresize: true, },
+ { field: 'operParam', title: '操作参数', align: 'center', unresize: true, },
+ { field: 'operMeth', title: '操作方法', align: 'center', unresize: true, },
{
- field: 'status', title: '操作结果', align: 'center', unresize: true, templet: function (d) {
- if (d.status == '0') {
- return '成功'
- } else if(d.status == '1') {
+ field: 'operResult', title: '操作结果', align: 'center', unresize: true, templet: function (d) {
+ if (d.operResult == '0') {
return '失败'
+ } else if(d.operResult == '1') {
+ return '成功'
} else {
return ''
}
diff --git a/bns/js/base/log/logManage.js b/bns/js/base/log/logManage.js
index 811ce2c..cb7c78b 100644
--- a/bns/js/base/log/logManage.js
+++ b/bns/js/base/log/logManage.js
@@ -11,8 +11,8 @@ layui.use(['element'], function () {
$("#content").prop('src','../../../html/base/log/child/systemLog.html');
}else if(name === '业务日志'){
$("#content").prop('src','../../../html/base/log/child/businessLog.html');
- }else if(name === '运行日志'){
- $("#content").prop('src','../../../html/base/log/child/runLog.html');
+ }else if(name === '异常日志'){
+ $("#content").prop('src','../../../html/base/log/child/errLog.html');
}else if(name === '日志分析'){
$("#content").prop('src','../../../html/base/log/child/logAnalysis.html');
}else if(name === '日志容量配置'){
diff --git a/bns/js/system/ajax_intercept.js b/bns/js/system/ajax_intercept.js
index a7b892c..d0b20e3 100644
--- a/bns/js/system/ajax_intercept.js
+++ b/bns/js/system/ajax_intercept.js
@@ -96,7 +96,7 @@ function getUrlParam (url) {
arrObj[1]=arrObj[1].replaceAll("+"," ");
}
- return arrObj[0]+"?"+ sm2Encrypt(arrObj[1]);
+ return arrObj[0]+"?params="+ sm2Encrypt(arrObj[1]);
} else {
return url;
}