修改模板文件

This commit is contained in:
Anyon 2020-12-24 14:33:59 +08:00
parent 0e41a67984
commit ae8ecf0c34
2 changed files with 4 additions and 3 deletions

View File

@ -17,8 +17,8 @@
<label class="layui-form-label">操作行为</label>
<div class="layui-input-inline">
<select name="action" class="layui-select">
<option value="">--全部--</option>
{foreach $actions as $action}{if $action eq input('action')}
<option value=''>-- 全部日志 --</option>
{foreach $actions as $action}{if $action eq input('get.action')}
<option selected value="{$action}">{$action}</option>
{else}
<option value="{$action}">{$action}</option>

View File

@ -36,7 +36,8 @@
<label class="layui-form-label">任务状态</label>
<label class="layui-input-inline">
<select name="status" class="layui-select">
{foreach [''=>'-- 全部状态 --','1'=>'等待处理','2'=>'正在处理','3'=>'处理完成','4'=>'处理失败'] as $k=>$v}
<option value=''>-- 全部任务 --</option>
{foreach ['1'=>'等待处理','2'=>'正在处理','3'=>'处理完成','4'=>'处理失败'] as $k=>$v}
{if input('get.status') eq $k}
<option selected value="{$k}">{$v}</option>
{else}