Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
3e4a832d
Commit
3e4a832d
authored
Aug 15, 2019
by
季圣华
Browse files
优化日志模块
parent
10e392a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
erp_web/pages/manage/log.html
View file @
3e4a832d
...
@@ -25,13 +25,17 @@
...
@@ -25,13 +25,17 @@
<input
type=
"text"
name=
"searchOperation"
id=
"searchOperation"
style=
"width:90px;"
/>
<input
type=
"text"
name=
"searchOperation"
id=
"searchOperation"
style=
"width:90px;"
/>
</td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
操作人员:
</td>
<td>
操作人员:
</td>
<td>
<td>
<select
name=
"searchUsernameID"
id=
"searchUsernameID"
style=
"width:90px;"
/>
<select
name=
"searchUsernameID"
id=
"searchUsernameID"
style=
"width:90px;"
/>
</td>
</td>
<td>
</td>
<td>
</td>
<td>
开始时间:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
class=
"easyui-datetimebox"
style=
"width:135px;"
/>
</td>
<td>
</td>
<td>
</td>
<td>
操作IP:
</td>
<td>
操作IP:
</td>
<td>
<td>
...
@@ -39,6 +43,14 @@
...
@@ -39,6 +43,14 @@
</td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td>
操作详情:
</td>
<td>
<input
type=
"text"
name=
"searchDesc"
id=
"searchDesc"
style=
"width:90px;"
/>
</td>
<td>
</td>
<td>
操作状态:
</td>
<td>
操作状态:
</td>
<td>
<td>
<select
name=
"searchStatus"
id=
"searchStatus"
style=
"width:90px;"
>
<select
name=
"searchStatus"
id=
"searchStatus"
style=
"width:90px;"
>
...
@@ -47,30 +59,19 @@
...
@@ -47,30 +59,19 @@
<option
value=
"1"
>
失败
</option>
<option
value=
"1"
>
失败
</option>
</select>
</select>
</td>
</td>
</tr>
<tr>
<td>
开始时间:
</td>
<td>
<input
type=
"text"
name=
"searchBeginTime"
id=
"searchBeginTime"
class=
"easyui-datebox"
style=
"width:90px;"
/>
</td>
<td>
</td>
<td>
</td>
<td>
</td>
<td>
结束时间:
</td>
<td>
结束时间:
</td>
<td>
<td>
<input
type=
"text"
name=
"searchEndTime"
id=
"searchEndTime"
class=
"easyui-datebox"
style=
"width:90px;"
/>
<input
type=
"text"
name=
"searchEndTime"
id=
"searchEndTime"
class=
"easyui-datetimebox"
</td>
style=
"width:135px;"
/>
<td>
</td>
<td>
</td>
<td>
操作详情:
</td>
<td>
<input
type=
"text"
name=
"searchDesc"
id=
"searchDesc"
style=
"width:90px;"
/>
</td>
</td>
<td>
</td>
<td>
</td>
<td
colspan=
"3"
>
<td
colspan=
"3"
>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
iconCls=
"icon-search"
id=
"searchBtn"
>
查询
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
iconCls=
"icon-search"
id=
"searchBtn"
>
查询
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
iconCls=
"icon-redo"
id=
"searchResetBtn"
>
重置
</a>
<a
href=
"javascript:void(0)"
class=
"easyui-linkbutton"
iconCls=
"icon-redo"
id=
"searchResetBtn"
>
重置
</a>
</td>
</td>
<td>
</td>
<td>
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
...
@@ -118,13 +119,13 @@
...
@@ -118,13 +119,13 @@
pageList
:
initPageNum
,
pageList
:
initPageNum
,
columns
:
[[
columns
:
[[
{
title
:
'
操作模块
'
,
field
:
'
operation
'
,
width
:
120
},
{
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
:
'
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
?
"
失败
"
:
"
成功
"
;
return
value
?
"
失败
"
:
"
成功
"
;
}}
}},
{
title
:
'
操作IP
'
,
field
:
'
clientip
'
,
width
:
100
,
align
:
"
center
"
},
{
title
:
'
操作时间
'
,
field
:
'
createTimeStr
'
,
width
:
150
,
align
:
"
center
"
}
]],
]],
onLoadError
:
function
()
{
onLoadError
:
function
()
{
$
.
messager
.
alert
(
'
页面加载提示
'
,
'
页面加载异常,请稍后再试!
'
,
'
error
'
);
$
.
messager
.
alert
(
'
页面加载提示
'
,
'
页面加载异常,请稍后再试!
'
,
'
error
'
);
...
...
src/main/resources/mapper_xml/LogMapperEx.xml
View file @
3e4a832d
...
@@ -23,10 +23,10 @@
...
@@ -23,10 +23,10 @@
and l.status=${status}
and l.status=${status}
</if>
</if>
<if
test=
"beginTime != null"
>
<if
test=
"beginTime != null"
>
and l.createtime
>
= '
%
${beginTime}
%
'
and l.createtime
>
= '${beginTime}'
</if>
</if>
<if
test=
"endTime != null"
>
<if
test=
"endTime != null"
>
and l.createtime
<
= '
%
${endTime}
%
'
and l.createtime
<
= '${endTime}'
</if>
</if>
<if
test=
"contentdetails != null"
>
<if
test=
"contentdetails != null"
>
and l.contentdetails like '%${contentdetails}%'
and l.contentdetails like '%${contentdetails}%'
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment