coupon-admin/view/manager/config/comment_rule.html

33 lines
1.5 KiB
HTML

{layout name="manager/layout" /}
<div class="layui-row">
<div id="echarts-records">
<div class="layuimini-container location-index-page">
<div class="layuimini-main">
<div>
<table id="table-container" class="layui-table" data-url="/manager/config/comment-rule" lay-filter="table-container"></table>
</div>
</div>
</div>
</div>
</div>
<!-- 编辑单元格提交url -->
<input type="hidden" id="row-modify" data-url="/manager/config/modify-comment-rule">
<!---状态 -->
<script type="text/html" id="row-status">
<input type="checkbox" name="state" value="{{d.id}}" lay-skin="switch" lay-text="启用|冻结" lay-filter="changeStatus" {{ d.state == 1 ? 'checked' : '' }}>
</script>
<!-- 操作列 -->
<script type="text/html" id="row-operate">
<a class="layui-btn layui-btn-primary layui-btn-xs" data-href="/manager/config/del-comment-rule.html?id={{d.id}}" 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-primary layui-btn-sm" data-href="/manager/config/add-comment-rule.html" data-width="60%" data-height="80%" data-title="添加评论规则" lay-event="addCommentRule">添加评论规则</a>
</script>
<script src="__MANAGER__/js/comment_rule.js?v={:mt_rand()}"></script>