detail.html 2.62 KB
<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org"
	xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
	<div class="wrapper wrapper-content animated fadeInRight ibox-content">
	<form class="form-horizontal m-t" id="signupForm">
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">操作模块:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.title} + ' / ' + ${@dict.getLabel('sys_oper_type',operLog.action)}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">具体操作:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.operating}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">登录信息:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.operName} + ' / ' + ${operLog.deptName} + ' / ' + ${operLog.operIp}+ ' / ' + ${operLog.operLocation}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">请求地址:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.operUrl}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">操作方法:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.method}">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">请求参数:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.operParam}" style="word-break: break-word;">
			</div>
		</div>
		<div class="form-group">
			<label class="col-sm-2 control-label" style="padding:7px 0;">状态:</label>
			<div class="col-sm-10 form-control-static" th:class="${operLog.status == '0' ? 'label label-primary' : 'label label-danger'}" th:text="${operLog.status == '0' ? '正常' : '异常'}">
			</div>
		</div>
		<div class="form-group" th:style="'display:' + ${operLog.status == '0' ? 'none' : 'block'}">
			<label class="col-sm-2 control-label" style="padding:7px 0;">异常信息:</label>
			<div class="col-sm-10 form-control-static" th:text="${operLog.errorMsg}" style="word-break: break-word;">
			</div>
		</div>
		<div class="form-group">
			<div class="form-control-static col-sm-offset-9">
				<button onclick="$.modal.close()" class="btn btn-danger" type="button">关闭</button>
			</div>
		</div>
	</form>
    </div>
    <div th:include="include :: footer"></div>
</body>
</html>