123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- {extend name='main'}
- {block name="button"}
- <!--{if auth("add")}-->
- <!--<button data-modal='{:url("add")}' data-title="添加用户" class='layui-btn layui-btn-sm layui-btn-primary'>添加用户</button>-->
- <!--{/if}-->
- <!--{if auth("remove")}-->
- <!--<button data-action='{:url("remove")}' data-rule="id#{key}" data-csrf="{:systoken('remove')}" data-confirm="确定要删除这些用户吗?" class='layui-btn layui-btn-sm layui-btn-primary'>删除用户</button>-->
- <!--{/if}-->
- {/block}
- {block name="content"}
- <div class="think-box-shadow">
- {include file='uuser/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'>
- <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
- </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>
- <!-- <th class='text-left nowrap'>状态</th>-->
- <th class='text-left nowrap'></th>
- </tr>
- </thead>
- {/notempty}
- <tbody>
- {foreach $list as $key=>$vo}
- <tr data-dbclick>
- <td class='list-table-check-td think-checkbox'>
- <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
- </td>
- <td class='text-left nowrap'> <img data-tips-image style="width:60px;height:60px" src="{$vo.avatar|default=''}" class="margin-right-5 text-top"></td>
- <td class='text-left nowrap'>{$vo.username|default='-'}</td>
- <td class='text-left nowrap'>{$vo.mobile|default=0}</td>
- <td class='text-left nowrap'>{$vo.level}</td>
- <td class='text-left nowrap'>{$vo.integral}</td>
- <td width="200" style="word-break:break-all;" >{$vo.content|raw}</td>
- <td class='text-left nowrap'>{$vo.create_time}</td>
- <!-- <td class='text-left nowrap'>{eq name='vo.is_deleted' value='2'}<span class="color-red">已禁用</span>{else}<span class="color-green">使用中</span>{/eq}</td>-->
- <td class='text-left nowrap'>
- {eq name='vo.levels' value='1'}
- <a class="layui-btn layui-btn-sm" data-title="修改积分" data-modal='{:url("edit")}?id={$vo.id}&type=2'>修改积分</a>
- {/eq}
- {eq name='vo.levels' value='2'}
- <a class="layui-btn layui-btn-sm" data-title="修改积分" data-modal='{:url("edit")}?id={$vo.id}&type=2'>修改积分</a>
- {/eq}
- {eq name='vo.levels' value='1'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userorder/index")}?id={$vo.id}'>服务订单</a>
- {/eq}
- {eq name='vo.levels' value='2'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userorder/index")}?id={$vo.id}'>服务订单</a>
- {/eq}
- <!-- {if auth("pass")}-->
- <!-- <a class="layui-btn layui-btn-normal layui-btn-sm" data-title="施工照片" data-modal='{:url("pass")}?id={$vo.id}'>施工照片</a>-->
- <!-- {/if}-->
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userimage/index")}?id={$vo.id}'>施工照片管理</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userapp/index")}?id={$vo.id}'>线上预约</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userfeedback/index")}?id={$vo.id}'>跟进反馈</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userweixiu/index")}?id={$vo.id}&type=1'>维修</a>
- {/eq}
- {eq name='vo.levels' value='0'}
- <a class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userweixiu/index")}?id={$vo.id}&type=2'>报备</a>
- {/eq}
- <!-- {eq name='vo.levels' value='0'}-->
- <!-- <a data-dbclick class="layui-btn layui-btn-normal layui-btn-sm" data-open='{:url("userorder/index")}?id={$vo.id}'>服务订单</a>-->
- <!-- {/eq}-->
- <!-- <a class="layui-btn layui-btn-normal layui-btn-sm" data-title="施工照片管理" data-modal='{:url("userimage/index")}?id={$vo.id}'>施工照片管理</a>-->
- <!-- {if auth("edit")}-->
- <!-- <a data-dbclick class="layui-btn layui-btn-sm" data-title="编辑用户" data-modal='{:url("edit")}?id={$vo.id}&type=1'>增加集分</a>-->
- <!-- {/if}-->
- <!-- {if $vo.is_deleted eq 1 and auth("forbid")}-->
- <!-- <a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('forbid')}" data-value="id#{$vo.id};is_delete#0" data-csrf="{:systoken('forbid')}">禁 用</a>-->
- <!-- {elseif $vo.is_deleted eq 0 and auth("resume")}-->
- <!-- <a class="layui-btn layui-btn-sm layui-btn-warm" data-action="{:url('resume')}" data-value="id#{$vo.id};is_delete#1" data-csrf="{:systoken('resume')}">启 用</a>-->
- <!-- {/if}-->
- <a data-dbclick class="layui-btn layui-btn-sm" data-title="修改信息" data-modal='{:url("edits")}?id={$vo.id}&type=2'>修改信息</a>
- <a data-dbclick class="layui-btn layui-btn-sm" data-title="备注" data-modal='{:url("beizhu")}?id={$vo.id}&type=2'>备注</a>
- {if auth("remove")}
- <a class="layui-btn layui-btn-sm 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}
|