@layout("/common/_container.html",{plugins:["ztree"],js:["/assets/modular/system/notice/notice.js"]}){
|
|
<div class="layui-body-header">
|
<span class="layui-body-header-title">通知管理</span>
|
</div>
|
|
<div class="layui-fluid">
|
<div class="layui-row layui-col-space15">
|
<div class="layui-col-lg12">
|
<div class="layui-card">
|
<div class="layui-card-body">
|
<div class="layui-form toolbar">
|
<div class="layui-form-item">
|
<div class="layui-inline">
|
<input id="condition" class="layui-input" type="text" placeholder="通知名称"/>
|
</div>
|
<div class="layui-inline">
|
<button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon"></i>搜索</button>
|
@if(shiro.hasPermission("/notice/add")){
|
<button id="btnAdd" class="layui-btn icon-btn"><i class="layui-icon"></i>添加</button>
|
@}
|
</div>
|
</div>
|
</div>
|
<table class="layui-table" id="noticeTable" lay-filter="noticeTable"></table>
|
</div>
|
</div>
|
</div>
|
</div>
|
</div>
|
|
<script type="text/html" id="tableBar">
|
@if(shiro.hasPermission("/notice/update")){
|
<a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="edit">修改</a>
|
@}
|
@if(shiro.hasPermission("/notice/delete")){
|
<a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="delete">删除</a>
|
@}
|
</script>
|
|
<script type="text/html" id="statusTpl">
|
<input type="checkbox" lay-filter="status" value="{{d.userId}}" lay-skin="switch" lay-text="正常|冻结" {{d.status=='ENABLE'?'checked':''}} />
|
</script>
|
@}
|