diff --git a/erp_web/pages/manage/log.html b/erp_web/pages/manage/log.html index 0b4d4c87..e69f18a3 100644 --- a/erp_web/pages/manage/log.html +++ b/erp_web/pages/manage/log.html @@ -25,13 +25,17 @@ -     操作人员: +   操作IP: @@ -39,6 +43,14 @@     +   + + + 操作详情: + + + +   操作状态: - - - 开始时间: - - - -     结束时间: - - -   -   - 操作详情: - - +   查询 重置 +   +   @@ -118,13 +119,13 @@ pageList: initPageNum, columns: [[ {title: '操作模块', field: 'operation', width: 120}, - {title: '操作人员', field: 'username', width: 80, align: "center"}, - {title: '操作IP', field: 'clientip', width: 90, align: "center"}, - {title: '操作时间', field: 'createTimeStr', width: 130, align: "center"}, {title: '操作详情', field: 'remark', width: 350}, - {title: '操作状态',field: 'status',width:70,align:"center",formatter:function(value){ + {title: '操作人员', field: 'username', width: 100, align: "center"}, + {title: '操作状态',field: 'status',width:80,align:"center",formatter:function(value){ return value? "失败":"成功"; - }} + }}, + {title: '操作IP', field: 'clientip', width: 100, align: "center"}, + {title: '操作时间', field: 'createTimeStr', width: 150, align: "center"} ]], onLoadError: function () { $.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error'); diff --git a/src/main/resources/mapper_xml/LogMapperEx.xml b/src/main/resources/mapper_xml/LogMapperEx.xml index afb489f1..968edbf4 100644 --- a/src/main/resources/mapper_xml/LogMapperEx.xml +++ b/src/main/resources/mapper_xml/LogMapperEx.xml @@ -23,10 +23,10 @@ and l.status=${status} - and l.createtime >= '%${beginTime}%' + and l.createtime >= '${beginTime}' - and l.createtime <= '%${endTime}%' + and l.createtime <= '${endTime}' and l.contentdetails like '%${contentdetails}%'