123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- {extend name='admin@main'}
- {block name="button"}
- {if auth("add")}
- <button class='layui-btn layui-btn-sm layui-btn-primary' data-modal='{:url("add")}'>添 加</button>
- {/if}
- {if auth("remove")}
- <button class="layui-btn layui-btn-sm layui-btn-primary" data-confirm="确定要删除吗?" data-action="{:url('remove')}" data-rule="id#{key}" data-csrf="{:systoken('remove')}">删 除</button>
- {/if}
- {/block}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='approve_maintain_user/index_search'}
- <table class="layui-table margin-top-10" lay-skin="line">
- {notempty name='list'}
- <thead>
- <tr>
- <th class='list-table-check-td think-checkbox'>
- <input data-auto-none data-check-target='.list-check-box' type='checkbox'>
- </th>
- <th class='text-left nowrap'>类型</th>
- <th class='text-left nowrap'>姓名</th>
- <th class='text-left nowrap'>手机号码</th>
- <th class='text-left nowrap'>生日</th>
- <th class='text-left nowrap'>评价数量</th>
- <th class='text-left nowrap'>综合评分</th>
- <th class="text-left nowrap">操作</th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr>
- <td class='list-table-check-td think-checkbox'>
- <input class="list-check-box" value='{$vo.id}' type='checkbox'>
- </td>
- <td class='text-left nowrap'>{$get_type_title_list[$vo.type]}</td>
- <td class='text-left nowrap'>{$vo.name|default=''}</td>
- <td class='text-left nowrap'>{$vo.mobile|default='--'}</td>
- <td class='text-left nowrap'>{$vo.birthday|default='--'}</td>
- <td class='text-left nowrap color-red'><strong>{$vo.comment_count|default='--'}</strong></td>
- <td class='text-left nowrap color-red'><strong>{$vo.log_score|default='--'}</strong></td>
- <td class='text-left nowrap'>
- <a class="layui-btn layui-btn-xs layui-bg-blue"
- data-open="{:url('approve_maintain_user_log/index')}?user_id={$vo.id}">评价记录</a>
- {if auth("edit")}
- <a class="layui-btn layui-btn-xs" data-modal="{:url('edit')}?id={$vo.id}">编 辑</a>
- {/if}
- {if auth("remove")}
- <a class="layui-btn layui-btn-xs layui-btn-danger" data-confirm="确定要删除该维修人员吗?" data-action="{:url('remove')}" data-value="id#{$vo.id}" data-csrf="{:systoken('remove')}">删 除</a>
- {/if}
- </td>
- </tr>
- {/foreach}
- </tbody>
- </table>
- {empty name='list'}<span class="notdata">没 有 记 录 哦!</span>{else}{$pagehtml|raw|default=''}{/empty}
- </div>
- {/block}
|