update
This commit is contained in:
133
ebpm-process-manage/webapp/pages/logSysRuntime/create.jsp
Normal file
133
ebpm-process-manage/webapp/pages/logSysRuntime/create.jsp
Normal file
@@ -0,0 +1,133 @@
|
||||
<%@ 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>LogSysRuntime新增</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="${ctx}/logSysRuntime/save.do"
|
||||
method="post">
|
||||
<div class="content">
|
||||
<div class="wrap">
|
||||
<div class="wrap-top">
|
||||
<div class="wrap-top-inner">
|
||||
<a class="top-btn" id="submitButton"
|
||||
onclick="javascript:getReferenceForm(this).submit();"><i
|
||||
class="icon icon-sure"></i>保存</a> <a class="top-btn"
|
||||
onclick="window.location='${ctx}/logSysRuntime/list.do'"><i
|
||||
class="icon icon-close"></i>返回</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="column margin50">
|
||||
<h4 class="wrapper-tit">新增LogSysRuntime</h4>
|
||||
<div class="bd">
|
||||
<table class="table-review" border="0" cellspacing="0"
|
||||
cellpadding="0" id="myTable">
|
||||
<!-- 存放表单的区域 -->
|
||||
<tr>
|
||||
<th>
|
||||
日志级别,取值说明: DEBUG:调试信息 INFO:比较重要的信息 WARN:可能存在的潜在问题的信息,以及重要的信息 ERROR:系统的业务数据异常的信息,如数据效验异常 FATAL:系统发生了致命的错误的信息,如数据库异常、访问某个服务网络异常。<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logLevel"
|
||||
value="" id="logLevel"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
日志记录时间
|
||||
<font color="red">*</font>
|
||||
:
|
||||
</th>
|
||||
<td><input value=""
|
||||
onclick="WdatePicker({dateFmt:'<%=LogSysRuntime.FORMAT_LOG_CREATE_TIME%>'})"
|
||||
id="logCreateTimeString"
|
||||
name="logCreateTimeString" maxlength="0"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
所属应用系统ID,取值说明:GW、GD、FW<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="appId"
|
||||
value="" id="appId"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
所属应用系统名称,取值说明:公文、工单、法务<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="appName"
|
||||
value="" id="appName"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
所属应用系统模块ID,取值说明:USER_MGR<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="appModuleId"
|
||||
value="" id="appModuleId"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
所属应用系统工程中文名,取值说明:用户管理<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="appModuleName"
|
||||
value="" id="appModuleName"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
所属应用系统工程所在服务器IP:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="appProjectIp"
|
||||
value="" id="appProjectIp"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
日志内容<font color="red">*</font>:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logContent"
|
||||
value="" id="logContent"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>
|
||||
备注:
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" name="logReamrk"
|
||||
value="" id="logReamrk"
|
||||
class="input" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
111
ebpm-process-manage/webapp/pages/logSysRuntime/list.jsp
Normal file
111
ebpm-process-manage/webapp/pages/logSysRuntime/list.jsp
Normal file
@@ -0,0 +1,111 @@
|
||||
<%@page import="com.blueland.bpm.log.model.*" %>
|
||||
<%@page import="com.blueland.bpm.common.page.*" %>
|
||||
<%@page import="com.blueland.bpm.common.util.*"%>
|
||||
<%@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}/logSysRuntime/list.do" method="get" style="display: inline;">
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h8>流程运行日志</h8>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="form-group well well-sm">
|
||||
<table border="0" cellspacing="0" cellpadding="0"
|
||||
class="table-search">
|
||||
<tr>
|
||||
<td>日志级别</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logLevel}" id="logLevel" name="logLevel" maxlength="20" />
|
||||
</td>
|
||||
<td>记录时间:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.logCreateTimeString}" onclick="WdatePicker({dateFmt:'<%=LogSysRuntime.FORMAT_LOG_CREATE_TIME%>'})" id="logCreateTimeString" name="logCreateTimeString" />
|
||||
</td>
|
||||
<td>所属模块:</td>
|
||||
<td>
|
||||
<input class="input" value="${query.appModuleId}" id="appModuleId" name="appModuleId" maxlength="50" />
|
||||
</td>
|
||||
<td>
|
||||
<button type="submit" class="btn btn-xs btn-primary" onclick="getReferenceForm(this).action='${ctx}/logSysRuntime/list.do'">
|
||||
<span class="icon_find">查询</span>
|
||||
</button>
|
||||
|
||||
</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增加sortColumn即可,new SimpleTable('sortColumns')会为tableHeader自动增加排序功能; -->
|
||||
<th sortColumn="appModuleId" >所属模块</th>
|
||||
<th sortColumn="logLevel" >日志级别</th>
|
||||
<th sortColumn="logContent" >日志内容</th>
|
||||
<th sortColumn="logCreateTime" >记录时间</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<c:forEach items="${page.result}" var="item" varStatus="status">
|
||||
|
||||
<tr class="${status.count % 2 == 0 ? 'odd' : 'even'}">
|
||||
|
||||
<td>${item.appModuleName} </td>
|
||||
<td>${item.logLevel} </td>
|
||||
<td>
|
||||
<a href="${ctx}/logSysRuntime/show.do?logId=${item.logId}">
|
||||
${item.logContent}
|
||||
</a>
|
||||
</td>
|
||||
<td>${item.logCreateTimeString} </td>
|
||||
|
||||
</tr>
|
||||
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<simpletable:pageToolbar page="${page}">
|
||||
</simpletable:pageToolbar>
|
||||
</div>
|
||||
<!-- /.table-responsive -->
|
||||
</div>
|
||||
<!-- /span -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
70
ebpm-process-manage/webapp/pages/logSysRuntime/show.jsp
Normal file
70
ebpm-process-manage/webapp/pages/logSysRuntime/show.jsp
Normal file
@@ -0,0 +1,70 @@
|
||||
<%@ 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>查看系统运行日志</title>
|
||||
</head>
|
||||
<body>
|
||||
<form action="${ctx}/logSysRuntime/show.do" method="post">
|
||||
|
||||
<div class="main-container" id="main-container">
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
</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="${logSysRuntime.logId}" />
|
||||
<!-- 存放表单的区域 -->
|
||||
<tr>
|
||||
<td>日志级别<font
|
||||
color="red">*</font>:
|
||||
</td>
|
||||
<td><input type="text" name="logLevel"
|
||||
value="${logSysRuntime.logLevel}"
|
||||
id="logLevel" class="input" /></td>
|
||||
<td>记录时间<font
|
||||
color="red">*</font>:
|
||||
</td>
|
||||
<td><input
|
||||
value="${logSysRuntime.logCreateTimeString}"
|
||||
onclick="WdatePicker({dateFmt:'<%=LogSysRuntime.FORMAT_LOG_CREATE_TIME%>'})"
|
||||
id="logCreateTimeString"
|
||||
name="logCreateTimeString" maxlength="0"
|
||||
class="input"/></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td>日志内容<font
|
||||
color="red">*</font>:
|
||||
</td>
|
||||
<td colspan="3"><textarea name="logContent"
|
||||
value="${logSysRuntime.logContent}"
|
||||
id="logContent" style="width: 700px"></textarea></td>
|
||||
</tr>
|
||||
|
||||
|
||||
</table>
|
||||
<div class="col-md-offset-1 col-md-9" style="text-align: center;">
|
||||
<button type="button" onclick="window.location='${ctx}/logSysRuntime/list.do'">
|
||||
<span class="icon_back">返回</span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user