| | |
| | | }}
|
| | | <span class="layui-badge febs-bg-{{isTop.color}}">{{ isTop.title }}</span>
|
| | | </script>
|
| | | <!-- 表格操作栏 start -->
|
| | | <!-- 表格操作栏
|
| | | <a lay-event="edit" shiro:hasPermission="user:update">编辑
|
| | | <i class="layui-icon febs-edit-area febs-blue"></i>
|
| | | </a>start -->
|
| | | <script type="text/html" id="user-option">
|
| | | <span shiro:lacksPermission="user:view,user:update,user:delete">
|
| | | <span class="layui-badge-dot febs-bg-orange"></span> 无权限
|
| | | </span>
|
| | | <a lay-event="edit" shiro:hasPermission="user:update">编辑
|
| | | <i class="layui-icon febs-edit-area febs-blue"></i>
|
| | | </a>
|
| | | <a lay-event="delete" shiro:hasPermission="user:update">删除
|
| | | <i class="layui-icon febs-edit-area febs-blue"></i>
|
| | | </a>
|
| | |
| | |
|
| | | if (layEvent === 'edit') {
|
| | | febs.modal.open('轮播图设置', 'modules/systemSetting/platformBannerUpdate/' + data.id, {
|
| | | area: $(window).width() <= 1000 ? '100%' : '50%',
|
| | | btn: ['提交', '取消'],
|
| | | yes: function (index, layero) {
|
| | | $('#user-update').find('#submit').trigger('click');
|
| | |
| | | // 刷新按钮
|
| | | $add.on('click', function () {
|
| | | febs.modal.open('轮播图新增', 'modules/systemSetting/platformBannerAdd/', {
|
| | | area: $(window).width() <= 1000 ? '100%' : '50%',
|
| | | btn: ['提交', '取消'],
|
| | | yes: function (index, layero) {
|
| | | $('#user-add').find('#submit').trigger('click');
|