mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
完善代码
This commit is contained in:
parent
3b497df7f0
commit
37168fab94
@ -100,11 +100,19 @@
|
||||
|
||||
<script type="text/html" id="toolbar">
|
||||
|
||||
<!--{if auth('exec')}-->
|
||||
{{# if(d.status===1){ }}
|
||||
<a class="layui-btn layui-btn-sm" data-width="450px" data-modal='{:url("exec")}?code={{d.code}}'">重 置</a>
|
||||
{{# }else{ }}
|
||||
|
||||
<!--{if auth('redo')}-->
|
||||
{{# if(d.status===4||d.status===3){ }}
|
||||
<a class="layui-btn layui-btn-sm" data-confirm="确定要重置该任务吗?" data-queue="{:url('redo')}?code={{d.code}}">重 置</a>
|
||||
{{# }else{ }}
|
||||
<a class="layui-btn layui-btn-sm" data-width="450px" data-modal='{:url("exec")}?code={{d.code}}'">重 置</a>
|
||||
<a class="layui-btn layui-btn-sm layui-btn-disabled">重 置</a>
|
||||
{{# } }}
|
||||
<!--{/if}-->
|
||||
|
||||
{{# } }}
|
||||
<!--{/if}-->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user