  <%@ 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>

 <link href="${ctx}/resource/js/plugins/jsonfommat/css/jquery-linedtextarea.css" type="text/css" rel="stylesheet">
 <link rel="stylesheet" href="${ctx}/resource/js/plugins/jsonfommat/css/css-classes.css" type="text/css" media="screen, projection">
 
 <script src="${ctx}/resource/js/plugins/jsonfommat/js/jquery-linedtextarea.js" type="text/javascript"></script>
 <script type="text/javascript" src="${ctx}/resource/js/plugins/jsonfommat/js/jsl.parser.js"></script>
 <script type="text/javascript" src="${ctx}/resource/js/plugins/jsonfommat/js/jsl.format.js"></script>
 <script type="text/javascript" src="${ctx}/resource/js/plugins/jsonfommat/js/jsl.interactions.js"></script>
</head>
<body>
	<form action="${ctx}/processErrorLog/update.do" method="post">
	<input type="hidden" id="flag" name="flag" value="${flag}"/>
		<div class="main-container" id="main-container">
			<div class="panel panel-primary">
				<div class="panel-heading">
				查看流程错误日志
				</div>
				<div class="panel-body" style="background: #fff;margin: 15px;width: calc(100% - 30px)">
					<table class='table table-bordered form-table' border="0" cellspacing="0"
						cellpadding="0" id="myTable">
							<!-- 存放隐藏域的区域 -->
							<input type="hidden" id="pelogId"
								name="pelogId"
								value="${processErrorLog.pelogId}" />
							<!-- 存放表单的区域 -->
 							<tr>
								<td  width="15%">流程实例ID<font
									color="red">*</font>：
								</td>
								<td><input type="text" name="processInstanceId"
									value="${processErrorLog.processInstanceId}"
									id="processInstanceId" class="input" /></td>
							</tr>
							  							<tr>
								<td>流程标题<font
									color="red">*</font>：
								</td>
								<td><input type="text" name="processTitle"
									value="${processErrorLog.processTitle}"
									id="processTitle" class="input" /></td>
							</tr>
							  							<tr>
								<td>流程发送人<font
									color="red">*</font>：
								</td>
								<td><input type="text" name="creator"
									value="${processErrorLog.creator}"
									id="creator" class="input" /></td>
							</tr>
							  							<tr>
								<td>流程操作类型<font
									color="red">*</font>：
								</td>
								<td><input type="text" name="actionType"
									value="${processErrorLog.actionType}"
									id="actionType" class="input" /></td>
							</tr>
							  							<tr>
								<td>流程消息内容<font
									color="red">*</font>：
								</td>
								<td><textarea style="width:98%;" rows="6" name="processMsg"  id="json_input" id="json_input">${processErrorLog.processMsg}</textarea>
								</td>
							</tr>
							  							<tr>
								<td>记录时间<font
									color="red">*</font>：
								</td>
								<td><input
									value="${processErrorLog.pelogCreateTimeString}"
									onclick="WdatePicker({dateFmt:'<%=ProcessErrorLog.FORMAT_PELOG_CREATE_TIME%>'})"
									id="pelogCreateTimeString"
									name="pelogCreateTimeString" maxlength="0"
									class="input"/></td>
							</tr>
  							<tr>
								<td>错误日志：
								</td>
								<td>
								<textarea style="width:98%;" rows="6" name="errorMsg">${processErrorLog.errorMsg}</textarea>
				    
							</tr>
							  
						</table>
					<div class="col-md-offset-1 col-md-9" style="text-align: center;margin-top: 15px;margin-bottom: 15px">
						<button type="button" class="btn btn-sm btn-primary" onclick="openProcessTrackPage('${ctx}','${processErrorLog.processInstanceId}');">
						<span class="icon_back">监控</span>
						</button>
						&nbsp;&nbsp;&nbsp;
						<button type="button" class="btn btn-sm btn-primary" onclick="window.history.go(-1);">
						<span class="icon_back">返回</span>
						<i class="ace-icon fa fa-undo icon-on-right bigger-110"></i>
						</button>
					</button>
					</div>
				</div>
			</div>
		</div>
	</form>
	</div>

</body>
</html>
