更新链接

This commit is contained in:
邹景立 2017-02-17 10:37:53 +08:00
parent c8c70f0787
commit fec617714b

View File

@ -43,22 +43,22 @@
<td class='text-center'> <td class='text-center'>
{if auth("$classuri/edit")} {if auth("$classuri/edit")}
<span class="text-explode">|</span> <span class="text-explode">|</span>
<a data-modal='{"$classuri/form"|url}?id={$vo.id}' href="javascript:void(0)">编辑</a> <a data-modal='{:url("$classuri/form")}?id={$vo.id}' href="javascript:void(0)">编辑</a>
{/if} {/if}
{if $vo.status eq 1 and auth("$classuri/forbid")} {if $vo.status eq 1 and auth("$classuri/forbid")}
<span class="text-explode">|</span> <span class="text-explode">|</span>
<a data-update="{$vo.ids}" data-field='status' data-value='0' <a data-update="{$vo.ids}" data-field='status' data-value='0'
data-action='{"$classuri/forbid"|url}' href="javascript:void(0)">禁用 data-action='{:url("$classuri/forbid")}' href="javascript:void(0)">禁用
</a> </a>
{elseif auth("$classuri/resume")} {elseif auth("$classuri/resume")}
<span class="text-explode">|</span> <span class="text-explode">|</span>
<a data-update="{$vo.ids}" data-field='status' data-value='1' <a data-update="{$vo.ids}" data-field='status' data-value='1'
data-action='{"$classuri/resume"|url}' href="javascript:void(0)">启用 data-action='{:url("$classuri/resume")}' href="javascript:void(0)">启用
</a> </a>
{/if} {/if}
{if auth("$classuri/del")} {if auth("$classuri/del")}
<span class="text-explode">|</span> <span class="text-explode">|</span>
<a data-update="{$vo.ids}" data-field='delete' data-action="{'system/menu/del'|url}" <a data-update="{$vo.ids}" data-field='delete' data-action="{:url('system/menu/del')}"
href="javascript:void(0)">删除 href="javascript:void(0)">删除
</a> </a>
{/if} {/if}