33 lines
1.3 KiB
HTML
33 lines
1.3 KiB
HTML
{layout name="manager/layout" /}
|
|
|
|
<div class="layuimini-container location-index-page">
|
|
<div class="layuimini-main">
|
|
<div>
|
|
<table id="menu-table" class="layui-table" data-url="/manager/area" lay-filter="menu-table"></table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- 操作列 -->
|
|
<script type="text/html" id="menu-operate">
|
|
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs" data-href="/manager/menu/status.html" lay-event="status">关闭</a>
|
|
<a class="layui-btn layui-btn-danger layui-btn-xs" data-href="/manager/menu/status.html" lay-event="status">开启</a>
|
|
</script>
|
|
|
|
<!-- 编辑单元格提交url -->
|
|
<input type="hidden" id="row-modify" data-url="/manager/area/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>
|
|
|
|
<!-- toolbar -->
|
|
<script type="text/html" id="toolbar-tpl">
|
|
<a class="layui-btn layui-btn-primary layui-btn-sm" data-table-refresh><i class="fa fa-refresh"></i></a>
|
|
<a class="layui-btn layui-btn-warm layui-btn-sm" lay-event="expand">全部展开</a>
|
|
<a class="layui-btn layui-btn-info layui-btn-sm" lay-event="fold">全部折叠</a>
|
|
</script>
|
|
<script src="__MANAGER__/js/area.js?v={:mt_rand()}"></script> |