mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
修改任务查询
This commit is contained in:
parent
c80d2f44b1
commit
8cff72e230
@ -52,8 +52,9 @@ class Queue extends Controller
|
||||
}
|
||||
$this->title = '系统任务管理';
|
||||
$this->iswin = PATH_SEPARATOR === ';';
|
||||
$query = $this->_query($this->table)->dateBetween('create_at,start_at,end_at');
|
||||
$query->like('title,preload')->equal('status')->order('id desc')->page();
|
||||
$query = $this->_query($this->table)->dateBetween('create_at');
|
||||
$query->timeBetween('enter_time,outer_time')->like('title,command');
|
||||
$query->equal('status')->order('id desc')->page();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -52,13 +52,13 @@
|
||||
<div class="layui-form-item layui-inline">
|
||||
<label class="layui-form-label">开始时间</label>
|
||||
<div class="layui-input-inline">
|
||||
<input data-date-range name="start_at" value="{:input('get.start_at')}" placeholder="请选择开始时间" class="layui-input">
|
||||
<input data-date-range name="enter_time" value="{:input('get.enter_time')}" placeholder="请选择开始时间" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item layui-inline">
|
||||
<label class="layui-form-label">结束时间</label>
|
||||
<div class="layui-input-inline">
|
||||
<input data-date-range name="end_at" value="{:input('get.end_at')}" placeholder="请选择结束时间" class="layui-input">
|
||||
<input data-date-range name="outer_time" value="{:input('get.outer_time')}" placeholder="请选择结束时间" class="layui-input">
|
||||
</div>
|
||||
</div>
|
||||
<div class="layui-form-item layui-inline">
|
||||
|
Loading…
x
Reference in New Issue
Block a user