支持时间查询(操作日志,登录日志,调度日志)

This commit is contained in:
RuoYi
2018-07-13 22:54:49 +08:00
parent c7780960fb
commit 0414c25f9a
46 changed files with 1445 additions and 12 deletions

View File

@ -12,17 +12,23 @@
<div class="select-list gd">
<ul>
<li>
任务名称:<input type="text" name="jobName"/>
<label>任务名称:</label><input type="text" name="jobName"/>
</li>
<li>
方法名称:<input type="text" name="methodName"/>
<label>方法名称:</label><input type="text" name="methodName"/>
</li>
<li>
执行状态:<select name="status" th:with="type=${@dictService.selectDictData('sys_common_status')}">
<label>执行状态:</label><select name="status" th:with="type=${@dictService.selectDictData('sys_common_status')}">
<option value="">所有</option>
<option th:each="e : ${type}" th:text="${e['dictLabel']}" th:value="${e['dictValue']}"></option>
</select>
</li>
<li class="time">
<label>操作时间: </label>
<input type="text" class="layui-input" id="startTime" placeholder="开始时间" name="reqParams[beginTime]"/>
<span>-</span>
<input type="text" class="layui-input" id="endTime" placeholder="结束时间" name="reqParams[endTime]"/>
</li>
<li>
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search($('form').attr('id'))"><i class="fa fa-search"></i>&nbsp;搜索</a>
<a class="btn btn-success btn-rounded btn-sm" onclick="$.table.exportExcel($('form').attr('id'))"><i class="fa fa-download"></i>&nbsp;下载</a>
@ -113,6 +119,12 @@
};
$.table.init(options);
});
layui.use('laydate', function() {
var laydate = layui.laydate;
laydate.render({ elem: '#startTime', theme: 'molv' });
laydate.render({ elem: '#endTime', theme: 'molv' });
});
</script>
</body>
</html>