mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-05 19:41:44 +08:00
完善代码
This commit is contained in:
parent
3b497df7f0
commit
37168fab94
@ -99,14 +99,22 @@
|
||||
</script>
|
||||
|
||||
<script type="text/html" id="toolbar">
|
||||
|
||||
<!--{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>
|
||||
{{# } }}
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{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 layui-btn-disabled">重 置</a>
|
||||
{{# } }}
|
||||
<!--{/if}-->
|
||||
|
||||
{{# } }}
|
||||
<!--{/if}-->
|
||||
|
||||
<!--{if auth('remove')}-->
|
||||
<a class='layui-btn layui-btn-sm layui-btn-danger' data-confirm="确定要删除该任务吗?" data-action='{:url("remove")}' data-value="id#{{d.id}}">删 除</a>
|
||||
|
Loading…
x
Reference in New Issue
Block a user