|
@@ -3,49 +3,52 @@
|
|
|
{% block title %}日志查询{% endblock %}
|
|
|
|
|
|
{% block page_content %}
|
|
|
- <div class="header my-5">
|
|
|
+ <div class="app-body-header h-50px">
|
|
|
<h3>日志查询</h3>
|
|
|
<ol class="breadcrumb breadcrumb-dot text-muted fs-6 fw-semibold ms-5">
|
|
|
<li class="breadcrumb-item text-muted">日志查询</li>
|
|
|
</ol>
|
|
|
</div>
|
|
|
-<div class="table-box table-responsive">
|
|
|
- <div class="d-flex justify-content-between mb-5 mx-10">
|
|
|
- <div>
|
|
|
- </div>
|
|
|
- <form class="search-box d-flex">
|
|
|
- <div class="d-flex">
|
|
|
- <input type="text" class="form-control form-control-sm w-200px me-5" placeholder="请输入用户名" name="username" />
|
|
|
- <select class="form-select form-select-sm w-100 me-5" name="operationType" >
|
|
|
- <option value="">全部类型</option>
|
|
|
- {% for op in operation_type_list %}
|
|
|
- <option value="{{ op }}">{{ op }}</option>
|
|
|
- {% endfor %}
|
|
|
- </select>
|
|
|
- <select class="form-select form-select-sm w-100 me-5" name="operationModule" >
|
|
|
- <option value="">全部模块</option>
|
|
|
- {% for op in operation_module_list %}
|
|
|
- <option value="{{ op }}">{{ op }}</option>
|
|
|
- {% endfor %}
|
|
|
- </select>
|
|
|
- <select class="form-select form-select-sm w-100 me-5" name="operationResult" >
|
|
|
- <option value="">全部结果</option>
|
|
|
- <option value="1">成功</option>
|
|
|
- <option value="0">失败</option>
|
|
|
- </select>
|
|
|
- <input type="text" class="form-control form-control-sm w-200px me-5" placeholder="请输入关键字" name="date" id="date"/>
|
|
|
- </div>
|
|
|
- <div class="btn-group ms-5">
|
|
|
- <button type="button" class="btn btn-primary btn-sm" onclick="IwbTableSearch(this)">查询</button>
|
|
|
- <button type="button" class="btn btn-danger btn-sm" onclick="IwbTableResetSearch(this)">重置</button>
|
|
|
+<div class="mx-10 my-5">
|
|
|
+ <div class="table-box table-responsive">
|
|
|
+ <div class="d-flex justify-content-between mb-5 mx-10">
|
|
|
+ <div>
|
|
|
</div>
|
|
|
- </form>
|
|
|
+ <form class="search-box d-flex">
|
|
|
+ <div class="d-flex">
|
|
|
+ <input type="text" class="form-control form-control-sm w-200px me-5" placeholder="请输入用户名" name="username" />
|
|
|
+ <select class="form-select form-select-sm w-100 me-5" name="operationType" >
|
|
|
+ <option value="">全部类型</option>
|
|
|
+ {% for op in operation_type_list %}
|
|
|
+ <option value="{{ op }}">{{ op }}</option>
|
|
|
+ {% endfor %}
|
|
|
+ </select>
|
|
|
+ <select class="form-select form-select-sm w-100 me-5" name="operationModule" >
|
|
|
+ <option value="">全部模块</option>
|
|
|
+ {% for op in operation_module_list %}
|
|
|
+ <option value="{{ op }}">{{ op }}</option>
|
|
|
+ {% endfor %}
|
|
|
+ </select>
|
|
|
+ <select class="form-select form-select-sm w-100 me-5" name="operationResult" >
|
|
|
+ <option value="">全部结果</option>
|
|
|
+ <option value="0">成功</option>
|
|
|
+ <option value="1">失败</option>
|
|
|
+ </select>
|
|
|
+ <input type="text" class="form-control form-control-sm w-200px me-5" placeholder="请输入关键字" name="date" id="date"/>
|
|
|
+ </div>
|
|
|
+ <div class="btn-group ms-5">
|
|
|
+ <button type="button" class="btn btn-primary btn-sm" onclick="IwbTableSearch(this)">查询</button>
|
|
|
+ <button type="button" class="btn btn-danger btn-sm" onclick="IwbTableResetSearch(this)">重置</button>
|
|
|
+ </div>
|
|
|
+ </form>
|
|
|
+ </div>
|
|
|
+ <table class="table table-striped table-bordered table-hover table-rounded" id="table">
|
|
|
+ </table>
|
|
|
+ <div class="pagination-row"></div>
|
|
|
</div>
|
|
|
- <table class="table table-striped table-bordered table-hover table-rounded" id="table">
|
|
|
- </table>
|
|
|
- <div class="pagination-row"></div>
|
|
|
</div>
|
|
|
|
|
|
+
|
|
|
<div class="modal fade" id="modal" tabindex="-1" aria-hidden="true">
|
|
|
<div class="modal-dialog modal-dialog-centered">
|
|
|
<div class="modal-content rounded">
|
|
@@ -178,7 +181,7 @@
|
|
|
data: 'operation_result',
|
|
|
width: '120px',
|
|
|
render: function (row) {
|
|
|
- if (row.operation_result === 1) {
|
|
|
+ if (row.operation_result === 0) {
|
|
|
return '<span class="badge badge-success">成功</span>';
|
|
|
} else {
|
|
|
return '<span class="badge badge-danger">失败</span>';
|