|
@@ -20,10 +20,13 @@
|
|
|
<th class='list-table-check-td think-checkbox'>
|
|
|
<label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
|
|
|
</th>
|
|
|
+ <th class='list-table-sort-td'>
|
|
|
+ <button type="button" data-reload class="layui-btn layui-btn-xs">刷 新</button>
|
|
|
+ </th>
|
|
|
<th class='text-left nowrap'>权限名称</th>
|
|
|
<th class='text-left nowrap'>权限描述</th>
|
|
|
<th class='text-left nowrap'>创建时间</th>
|
|
|
- <th class="text-center nowrap">使用状态</th>
|
|
|
+ <th class="text-left nowrap">使用状态</th>
|
|
|
<th></th>
|
|
|
</tr>
|
|
|
</thead>
|
|
@@ -34,11 +37,14 @@
|
|
|
<td class='list-table-check-td think-checkbox'>
|
|
|
<label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
|
|
|
</td>
|
|
|
+ <td class='list-table-sort-td'>
|
|
|
+ <label><input data-action-blur="{:request()->url()}" data-value="id#{$vo.id};action#sort;sort#{value}" data-loading="false" value="{$vo.sort}" class="list-sort-input"></label>
|
|
|
+ </td>
|
|
|
<td class='text-left'>{$vo.title|default='-'}</td>
|
|
|
<td class='text-left'>{$vo.desc|default="没有写描述哦!"}</td>
|
|
|
<td class="text-left nowrap">{$vo.create_at|format_datetime}</td>
|
|
|
<td class='text-left nowrap'>{eq name='vo.status' value='0'}<span class="color-red">已禁用</span>{else}<span class="color-green">已激活</span>{/eq}</td>
|
|
|
- <td class='text-center nowrap'>
|
|
|
+ <td class='text-left nowrap'>
|
|
|
<!--{if auth("edit")}-->
|
|
|
<a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑权限" data-modal='{:url("edit")}?id={$vo.id}'>编 辑</a>
|
|
|
<!--{/if}-->
|