You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
77 lines
3.2 KiB
77 lines
3.2 KiB
<%@page import="org.wdk.module.auth.mount.bean.BaseSessionUser"%>
|
|
<%@page import="org.wdk.WDK"%>
|
|
<%@page import="org.wdk.module.auth.source.bean.TokenBean"%>
|
|
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
|
<%
|
|
String path = request.getContextPath();
|
|
String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
|
|
BaseSessionUser su = WDK.getSessionUser(request, response);
|
|
if(null==su){
|
|
su = new BaseSessionUser();
|
|
}
|
|
String WDK_ROOT = WDKCore.WDK_ROOT;
|
|
String RSS_ROOT = WDK_ROOT +"/"+WDKConstant.Theme+"/"+WDKCore.THEME;
|
|
String commonURL = "/"+RSS_ROOT+"/module/public/common.jsp";
|
|
%>
|
|
<!DOCTYPE html>
|
|
<%@page import="org.wdk.WDKConstant"%>
|
|
<%@page import="org.wdk.WDKCore"%>
|
|
<html>
|
|
|
|
<head>
|
|
<base href="<%=basePath%>" target="_self">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<jsp:include page='<%=commonURL %>'></jsp:include>
|
|
<script type="text/javascript" src="<%=RSS_ROOT%>/core/js/wdk.js"></script>
|
|
<title>应用日志</title>
|
|
<script type="text/javascript">
|
|
|
|
var _gridcode = "wdk.module.monitor.apploggrid";
|
|
var _gridid = 'layout_grid';
|
|
window.onload = function(){
|
|
_gridid = $.grid({
|
|
containerid:_gridid,
|
|
gridcode:_gridcode,
|
|
fit:true,//自动大小
|
|
url:'wdk?action=wdk.public&method=applog_load&ajaxparam='+new Date().getTime(),
|
|
remoteSort:false,
|
|
queryParams:{q_person:$("#q_person").val(),q_pagename:$("#q_pagename").val(),q_appdesc:$("#q_appdesc").val()},
|
|
idField:'name',
|
|
singleSelect:true, //是否单选
|
|
pagination:true, //分页控件
|
|
rownumbers:true //行号
|
|
});
|
|
|
|
};
|
|
function _query(){
|
|
$.grid_reload({
|
|
id:_gridid,
|
|
queryParams:{q_person:$("#q_person").val(),q_pagename:$("#q_pagename").val(),q_appdesc:$("#q_appdesc").val()}
|
|
});
|
|
}
|
|
|
|
</script>
|
|
</head>
|
|
<body class="easyui-layout" data-options="fit:true" style="padding:0px;margin:0px;background-color:#FF0000;">
|
|
<div id="layout_grid" data-options="region:'center',border:false,collapsed:false" style="overflow:hidden;border:1px solid #ddd;" >
|
|
|
|
</div>
|
|
<div id="layout_grid_toolbar" data-options="region:'north',border:false,collapsed:false" style="height:30px;overflow:hidden;border:1px solid #ddd;text-align:left;" >
|
|
<table cellpadding="0" cellspacing="0" style="width:100%">
|
|
<tr>
|
|
<td>
|
|
<label for="q_person" style="padding-left:20px">人员:</label>
|
|
<input class="easyui-validatebox" style="width: 100px;" type="text" id="q_person" name="q_person"></input>
|
|
<label for="q_pagename" style="padding-left:2px">页面:</label>
|
|
<input class="easyui-validatebox" style="width: 100px;" type="text" id="q_pagename" name="q_pagename"></input>
|
|
<label for="q_appdesc" style="padding-left:2px">操作内容:</label>
|
|
<input class="easyui-validatebox" style="width: 200px;" type="text" id="q_appdesc" name="q_appdesc"></input>
|
|
<a href="javascript:void(0)" class="easyui-linkbutton" data-options="iconCls:'icon-help',plain:true" onclick="_query()">查询</a>
|
|
</td>
|
|
<td>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|