diff --git a/app/admin/view/auth/index.html b/app/admin/view/auth/index.html index 132100362..4f886c05b 100644 --- a/app/admin/view/auth/index.html +++ b/app/admin/view/auth/index.html @@ -2,7 +2,7 @@ {block name="button"} - + @@ -26,17 +26,17 @@ sort: {field: 'sort desc,id', type: 'desc'}, cols: [[ {checkbox: true, fixed: true}, - {field: 'sort', title: '排序权重', align: 'center', width: 100, sort: true, templet: '#SortInputTpl'}, + {field: 'sort', title: '排序权重', align: 'center', width: 100, sort: true, templet: '#SortInputRoleDataTpl'}, {field: 'title', title: '权限名称', align: 'center', minWidth: 140}, {field: 'desc', title: '权限描述', align: 'center', minWidth: 110, templet: '
{{d.desc||"-"}}
'}, - {field: 'status', title: '权限状态', align: 'center', minWidth: 110, templet: '#StatusSwitchTpl'}, + {field: 'status', title: '权限状态', align: 'center', minWidth: 110, templet: '#StatusSwitchRoleDataTpl'}, {field: 'create_at', title: '创建时间', align: 'center', minWidth: 170, sort: true}, - {toolbar: '#toolbar', title: '操作面板', align: 'center', minWidth: 210, fixed: 'right'}, + {toolbar: '#ToolbarRoleDataTpl', title: '操作面板', align: 'center', minWidth: 210, fixed: 'right'}, ]] }); // 数据状态切换操作 - layui.form.on('switch(StatusSwitch)', function (obj) { + layui.form.on('switch(StatusSwitchRoleData)', function (obj) { $.form.load("{:url('state')}", {id: obj.value, status: obj.elem.checked > 0 ? 1 : 0}, 'post', function (ret) { if (ret.code < 1) $.msg.error(ret.info, 3, function () { $('#RoleData').trigger('reload'); // 操作异常时重载数据 @@ -49,21 +49,21 @@ - - - - + \ No newline at end of file diff --git a/app/admin/view/base/form.html b/app/admin/view/base/form.html index 0cad9d5d3..de8c3fd60 100644 --- a/app/admin/view/base/form.html +++ b/app/admin/view/base/form.html @@ -15,7 +15,6 @@ {/if}{/foreach} {/block} diff --git a/app/admin/view/queue/index_search.html b/app/admin/view/queue/index_search.html index 73ef080cf..7927f6211 100644 --- a/app/admin/view/queue/index_search.html +++ b/app/admin/view/queue/index_search.html @@ -57,14 +57,14 @@ -
+
-
+