63 lines
3.4 KiB
HTML
Executable File
63 lines
3.4 KiB
HTML
Executable File
{layout name="manager/layout" /}
|
|
|
|
<div class="layuimini-container location-index-page">
|
|
<div class="layuimini-main">
|
|
<fieldset class="table-search-fieldset" style="display: none">
|
|
<legend>搜索信息</legend>
|
|
<div style="margin: 10px 10px 10px 10px">
|
|
<form class="layui-form layui-form-pane" action="">
|
|
<div class="layui-form-item">
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">手机号</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="mobile" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">昵称</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="nickname" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
<div class="layui-inline">
|
|
<label class="layui-form-label">用户名</label>
|
|
<div class="layui-input-inline">
|
|
<input type="text" name="username" autocomplete="off" class="layui-input">
|
|
</div>
|
|
</div>
|
|
<div class="layui-inline">
|
|
<button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</fieldset>
|
|
<div>
|
|
<table id="table-container" class="layui-table" data-url="/manager/member" lay-filter="table-container"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 隐藏列 -->
|
|
<!-- 编辑单元格提交url -->
|
|
<input type="hidden" id="row-modify" data-url="/manager/member/modify">
|
|
|
|
<!-- 列-状态变更 -->
|
|
<script type="text/html" id="row-status">
|
|
<input type="checkbox" name="status" value="{{d.id}}" lay-skin="switch" lay-text="正常|禁用" lay-filter="changeStatus" {{ d.status == 1 ? 'checked' : '' }}>
|
|
</script>
|
|
|
|
<!-- 操作列 -->
|
|
<script type="text/html" id="row-operate">
|
|
<a class="layui-btn layui-btn-warm layui-btn-xs" data-href="/manager/member/password.html?id={{d.id}}" data-title="修改密码" lay-event="password">改密</a>
|
|
<a class="layui-btn layui-btn-primary layui-btn-xs" data-href="/manager/member/edit.html?id={{d.id}}" data-title="编辑管理员" lay-event="edit">编辑</a>
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs" data-href="/manager/member/del.html" lay-event="del">删除</a>
|
|
</script>
|
|
|
|
<!-- toolbar -->
|
|
<script type="text/html" id="toolbar-tpl">
|
|
<a class="layui-btn layui-btn-primary layui-btn-sm" data-table-refresh lay-event="refresh"><i class="fa fa-refresh"></i></a>
|
|
<a class="layui-btn layui-btn-normal layui-btn-sm" data-href="/manager/member/add.html" data-title="添加管理员" lay-event="add">添加</a>
|
|
<a class="layui-btn layui-btn-danger layui-btn-sm" data-href="/manager/member/del.html" lay-event="del">批量删除</a>
|
|
</script>
|
|
<script src="__MANAGER__/js/member.js?v={:mt_rand()}"></script> |