update
This commit is contained in:
140
ebpm-process-manage/webapp/pages/tlogUserOperate/create.jsp
Normal file
140
ebpm-process-manage/webapp/pages/tlogUserOperate/create.jsp
Normal file
@@ -0,0 +1,140 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8"%>
|
||||
<%@page import="com.blueland.bpm.log.model.*" %>
|
||||
<%@ include file="/commons/taglibs.jsp"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<%@ include file="/commons/meta.jsp"%>
|
||||
<base href="<%=basePath%>">
|
||||
<title>分区说明:按应用系统ID(LOG_APP_ID)做主分区,按日期(LOG_OPERATE_TIME)(单位为天)做子分区新增</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="${ctx}/tlogUserOperate/save.do" method="post">
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel-heading">
|
||||
新增分区说明:按应用系统ID(LOG_APP_ID)做主分区,按日期(LOG_OPERATE_TIME)(单位为天)做子分区
|
||||
</div>
|
||||
<div class="panel panel-primary">
|
||||
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
|
||||
<a class="btn btn-sm btn-primary" id="submitButton"
|
||||
onclick="javascript:getReferenceForm(this).submit();"><i
|
||||
class="icon icon-sure"></i>保存</a> <a class="btn btn-sm btn-primary"
|
||||
onclick="window.location='${ctx}/tlogUserOperate/list.do'"><i
|
||||
class="icon icon-close"></i>返回</a>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class='table table-bordered' border="0" cellspacing="0" cellpadding="0" id="myTable">
|
||||
<!-- 存放表单的区域 -->
|
||||
<tr>
|
||||
<th>
|
||||
操作用户ID<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logUserId"
|
||||
value="" id="logUserId"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作用户姓名<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logUserName"
|
||||
value="" id="logUserName"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作客户端IP,取值说明:(操作人的浏览器IP地址):
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logUserIp"
|
||||
value="" id="logUserIp"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作发生时间
|
||||
<font color="red">*</font>
|
||||
:
|
||||
</th>
|
||||
<td><input value=""
|
||||
onclick="WdatePicker({dateFmt:'<%=TlogUserOperate.FORMAT_LOG_OPERATE_TIME%>'})"
|
||||
id="logOperateTimeString"
|
||||
name="logOperateTimeString" maxlength="0"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作主体所属应用系统ID<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logAppId"
|
||||
value="" id="logAppId"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作主体所属应用系统模块名称,取值说明:注册用户所属用户管理模块:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logAppModuleName"
|
||||
value="" id="logAppModuleName"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作动作名称,取值说明:新增组织机构的新增操作<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logOperateName"
|
||||
value="" id="logOperateName"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
被操作主体,取值说明:新增组织机构的机构主体<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logOperateSubject"
|
||||
value="" id="logOperateSubject"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
操作主体业务关键字,取值说明:新增组织机构的机构ID,批量操作可为空<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logOperateSubjectKey"
|
||||
value="" id="logOperateSubjectKey"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
备注:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logRemark"
|
||||
value="" id="logRemark"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
123
ebpm-process-manage/webapp/pages/tlogUserOperate/edit.jsp
Normal file
123
ebpm-process-manage/webapp/pages/tlogUserOperate/edit.jsp
Normal file
@@ -0,0 +1,123 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8"%>
|
||||
<%@page import="com.blueland.bpm.log.model.*" %>
|
||||
<%@ include file="/commons/taglibs.jsp"%>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<%@ include file="/commons/meta.jsp"%>
|
||||
<base href="<%=basePath%>">
|
||||
<title>分区说明:按应用系统ID(LOG_APP_ID)做主分区,按日期(LOG_OPERATE_TIME)(单位为天)做子分区编辑</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="${ctx}/tlogUserOperate/update.do" method="post">
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel-heading">
|
||||
编辑分区说明:按应用系统ID(LOG_APP_ID)做主分区,按日期(LOG_OPERATE_TIME)(单位为天)做子分区
|
||||
</div>
|
||||
<div class="panel panel-primary">
|
||||
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
|
||||
<a class="btn btn-sm btn-primary" id="submitButton"
|
||||
onclick="javascript:getReferenceForm(this).submit();"><i
|
||||
class="icon icon-sure"></i>保存</a> <a class="btn btn-sm btn-primary"
|
||||
onclick="window.location='${ctx}/tlogUserOperate/list.do'"><i
|
||||
class="icon icon-close"></i>返回</a>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<table class='table table-bordered' border="0" cellspacing="0" cellpadding="0" id="myTable">
|
||||
<!-- 存放隐藏域的区域 -->
|
||||
<input type="hidden" id="logId"
|
||||
name="logId"
|
||||
value="${tlogUserOperate.logId}" />
|
||||
<!-- 存放表单的区域 -->
|
||||
<tr>
|
||||
<th>操作用户ID<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logUserId"
|
||||
value="${tlogUserOperate.logUserId}"
|
||||
id="logUserId" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作用户姓名<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logUserName"
|
||||
value="${tlogUserOperate.logUserName}"
|
||||
id="logUserName" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作客户端IP,取值说明:(操作人的浏览器IP地址):
|
||||
</th>
|
||||
<td><input type="text" name="logUserIp"
|
||||
value="${tlogUserOperate.logUserIp}"
|
||||
id="logUserIp" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作发生时间<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input
|
||||
value="${tlogUserOperate.logOperateTimeString}"
|
||||
onclick="WdatePicker({dateFmt:'<%=TlogUserOperate.FORMAT_LOG_OPERATE_TIME%>'})"
|
||||
id="logOperateTimeString"
|
||||
name="logOperateTimeString" maxlength="0"
|
||||
class="input"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作主体所属应用系统ID<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logAppId"
|
||||
value="${tlogUserOperate.logAppId}"
|
||||
id="logAppId" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作主体所属应用系统模块名称,取值说明:注册用户所属用户管理模块:
|
||||
</th>
|
||||
<td><input type="text" name="logAppModuleName"
|
||||
value="${tlogUserOperate.logAppModuleName}"
|
||||
id="logAppModuleName" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作动作名称,取值说明:新增组织机构的新增操作<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logOperateName"
|
||||
value="${tlogUserOperate.logOperateName}"
|
||||
id="logOperateName" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>被操作主体,取值说明:新增组织机构的机构主体<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logOperateSubject"
|
||||
value="${tlogUserOperate.logOperateSubject}"
|
||||
id="logOperateSubject" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>操作主体业务关键字,取值说明:新增组织机构的机构ID,批量操作可为空<font
|
||||
color="red">*</font>:
|
||||
</th>
|
||||
<td><input type="text" name="logOperateSubjectKey"
|
||||
value="${tlogUserOperate.logOperateSubjectKey}"
|
||||
id="logOperateSubjectKey" class="input" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>备注:
|
||||
</th>
|
||||
<td><input type="text" name="logRemark"
|
||||
value="${tlogUserOperate.logRemark}"
|
||||
id="logRemark" class="input" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
128
ebpm-process-manage/webapp/pages/tlogUserOperate/list.jsp
Normal file
128
ebpm-process-manage/webapp/pages/tlogUserOperate/list.jsp
Normal file
@@ -0,0 +1,128 @@
|
||||
<%@page import="com.blueland.bpm.log.model.*" %>
|
||||
<%@page import="com.blueland.bpm.common.page.*" %>
|
||||
<%@page import="java.util.*" %>
|
||||
<%@ page contentType="text/html;charset=UTF-8" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ taglib tagdir="/WEB-INF/tags/simpletable" prefix="simpletable"%>
|
||||
<%@ include file="/commons/taglibs.jsp" %>
|
||||
<%
|
||||
String path = request.getContextPath();
|
||||
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
|
||||
%>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<%@ include file="/commons/meta.jsp" %>
|
||||
<base href="<%=basePath%>">
|
||||
<title>用户操作日志</title>
|
||||
<link href="${ctx_js_plugins}/simpletable/simpletable.css" type="text/css" rel="stylesheet">
|
||||
<script type="text/javascript" src="${ctx_js_plugins}/simpletable/simpletable.js"></script>
|
||||
|
||||
<script type="text/javascript" >
|
||||
$(document).ready(function() {
|
||||
// 分页需要依赖的初始化动作
|
||||
window.simpleTable = new SimpleTable('queryForm',${page.thisPageNumber},${page.pageSize},'${pageRequest.sortColumns}');
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<%@ include file="/commons/messages.jsp" %>
|
||||
<form id="queryForm" name="queryForm" action="${ctx}/tlogUserOperate/list.do" method="get" style="display: inline;">
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
用户操作日志列表
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group well well-sm">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="table-search">
|
||||
<tr>
|
||||
<td>操作用户:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logUserName}" id="logUserName" name="logUserName" maxlength="50" />
|
||||
</td>
|
||||
<td>操作时间:</td>
|
||||
<td>
|
||||
<!-- <input class="input" value="${query.logOperateTimeString}" onclick="WdatePicker({dateFmt:'<%=TlogUserOperate.FORMAT_LOG_OPERATE_TIME%>'})" id="logOperateTimeString" name="logOperateTimeString" />-->
|
||||
从<input class="input" value="${startOperateTimeStr}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="startOperateTimeStr" name="startOperateTimeStr" />
|
||||
到<input class="input" value="${endOperateTimeStr}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" id="endOperateTimeStr" name="endOperateTimeStr" />
|
||||
</td>
|
||||
<td>所属系统:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logAppName}" id="logAppName" name="logAppName" maxlength="50" />
|
||||
</td>
|
||||
<td>
|
||||
<button type="button" onclick="getReferenceForm(this).action='${ctx}/tlogUserOperate/list.do'" class="btn btn-xs btn-primary">
|
||||
查 询
|
||||
<i class="ace-icon fa fa-search bigger-110"></i>
|
||||
</button>
|
||||
<%-- <input value="查询" type="submit" class="btn btn-xs btn-primary" onclick="getReferenceForm(this).action='${ctx}/tlogUserOperate/list.do'"/> --%>
|
||||
<!-- <input value="新增" type="submit" class="btn btn-xs btn-success" onclick="getReferenceForm(this).action='${ctx}/tlogUserOperate/create.do'"/>
|
||||
<input value="删除" type="button" class="btn btn-xs btn-danger" onclick="batchDelete('${ctx}/tlogUserOperate/delete.do','items',document.forms.queryForm)"/> -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>所属模块:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logAppModuleName}" id="logAppModuleName" name="logAppModuleName" maxlength="50" />
|
||||
</td>
|
||||
<td>操作事件:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logOperateName}" id="logOperateName" name="logOperateName" maxlength="50" />
|
||||
</td>
|
||||
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="table-responsive">
|
||||
<table id="sample-table-1" class="table table-striped table-bordered table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<!-- <th style="width:25px;"><input type="checkbox" onclick="setAllCheckboxState('items',this.checked)"></th>-->
|
||||
<!-- 排序时为th增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
|
||||
<th sortColumn="logUserName" >操作用户</th>
|
||||
<th sortColumn="logOperateTime" >发生时间</th>
|
||||
<th sortColumn="logAppName" >所属系统</th>
|
||||
<th sortColumn="logAppModuleName" >所属模块</th>
|
||||
<th sortColumn="logOperateName" >操作事件</th>
|
||||
<!-- <th>操作</th> -->
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<c:forEach items="${page.result}" var="item" varStatus="status">
|
||||
|
||||
<tr class="${status.count % 2 == 0 ? 'odd' : 'even'}" title="${item.logOperateSubjectKey}">
|
||||
|
||||
<!-- <td><input type="checkbox" name="items" value="logId=${item.logId}&"></td> -->
|
||||
<td class="td">${item.logUserName} </td>
|
||||
<td class="td">${item.logOperateTimeString} </td>
|
||||
<td class="td">${item.logAppName} </td>
|
||||
<td class="td">${item.logAppModuleName} </td>
|
||||
<td class="td">${item.logOperateName}${item.logRemark} </td>
|
||||
<!-- <td>
|
||||
<a href="${ctx}/tlogUserOperate/show.do?logId=${item.logId}&">查看</a>
|
||||
<a href="${ctx}/tlogUserOperate/edit.do?logId=${item.logId}&">修改</a>
|
||||
</td> -->
|
||||
</tr>
|
||||
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<simpletable:pageToolbar page="${page}">
|
||||
</simpletable:pageToolbar>
|
||||
</div>
|
||||
<!-- /.table-responsive -->
|
||||
</div>
|
||||
<!-- /span -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user