Files
RuoYi/ruoyi-admin/src/main/resources/templates/monitor/operlog/detail.html

59 lines
2.4 KiB
HTML
Raw Normal View History

2018-07-09 08:44:52 +08:00
<!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>
2019-02-15 17:46:24 +08:00
<link th:href="@{/ajax/libs/jsonview/jquery.jsonview.css}" rel="stylesheet"/>
2018-07-09 08:44:52 +08:00
<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">操作模块:</label>
2018-08-18 23:51:19 +08:00
<div class="form-control-static" th:text="${operLog.title} + ' / ' + ${@dict.getLabel('sys_oper_type',operLog.businessType)}">
2018-07-09 08:44:52 +08:00
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">登录信息:</label>
<div class="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">请求地址:</label>
<div class="form-control-static" th:text="${operLog.operUrl}">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">操作方法:</label>
<div class="form-control-static" th:text="${operLog.method}">
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">请求参数:</label>
2018-11-14 23:08:52 +08:00
<div class="form-control-static"><pre id="operParam"></pre></div>
2018-07-09 08:44:52 +08:00
</div>
<div class="form-group">
<label class="col-sm-2 control-label">状态:</label>
2018-08-18 23:51:19 +08:00
<div class="form-control-static" th:class="${operLog.status == 0 ? 'label label-primary' : 'label label-danger'}" th:text="${operLog.status == 0 ? '正常' : '异常'}">
2018-07-09 08:44:52 +08:00
</div>
</div>
2018-08-18 23:51:19 +08:00
<div class="form-group" th:style="'display:' + ${operLog.status == 0 ? 'none' : 'block'}">
2018-07-09 08:44:52 +08:00
<label class="col-sm-2 control-label">异常信息:</label>
<div class="form-control-static" th:text="${operLog.errorMsg}">
</div>
</div>
</form>
</div>
<div th:include="include :: footer"></div>
2019-02-15 17:46:24 +08:00
<script th:src="@{/ajax/libs/jsonview/jquery.jsonview.js}"></script>
2018-11-14 23:08:52 +08:00
<script th:inline="javascript">
$(function() {
2019-02-15 17:46:24 +08:00
var json = [[${operLog.operParam}]];
if ($.common.isNotEmpty(json) && json.length < 2000) {
$("#operParam").JSONView(json);
} else {
$("#operParam").text(json);
}
2018-11-14 23:08:52 +08:00
});
</script>
2018-07-09 08:44:52 +08:00
</body>
</html>