[更新]修改任务搜索条件

This commit is contained in:
Anyon 2019-08-21 15:20:49 +08:00
parent 4bc8726015
commit 33e345e056
2 changed files with 7 additions and 1 deletions

View File

@ -52,7 +52,7 @@ class Queue extends Controller
}
$this->title = '系统任务管理';
$this->iswin = PATH_SEPARATOR === ';';
$query = $this->_query($this->table)->dateBetween('create_at,end_at');
$query = $this->_query($this->table)->dateBetween('create_at,start_at,end_at');
$query->like('title,preload')->equal('status')->order('id desc')->page();
}

View File

@ -44,6 +44,12 @@
<input data-date-range name="create_at" value="{$Think.get.create_at|default=''}" 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="start_at" value="{$Think.get.start_at|default=''}" placeholder="请选择开始时间" class="layui-input">
</div>
</div>
<div class="layui-form-item layui-inline">
<label class="layui-form-label">跟进时间</label>
<div class="layui-input-inline">