diff --git a/src/main/resources/templates/admin/permission/list.html b/src/main/resources/templates/admin/permission/list.html index e259ab0611b0b845a0e2e9b8e28fb05d72d81c7a..11bc8af564b768835deddd3a8c338697f4c33459 100644 --- a/src/main/resources/templates/admin/permission/list.html +++ b/src/main/resources/templates/admin/permission/list.html @@ -1,264 +1,317 @@ - - - - -
-
-
-
- -
- -
- - -
-
-
-
-
-
-
-
-
+ + + + +
+
+
+
+
- + - - - - - - - + - - - - let MODULE_PATH = rootPath+"/PermissionController/"; + - window.render = function () { - treetable.render({ - treeColIndex: 1, - treeSpid: 0, - treeIdName: 'id', - treePidName: 'parentId', - skin: 'line', - method: 'post', - treeDefaultClose: true, - toolbar: '#power-toolbar', - elem: '#power-table', - url: MODULE_PATH+'list', - page: false, - cols: [ - [ - {type: 'checkbox'}, - {field: 'name', minWidth: 200, title: '权限名称'}, - {field: 'icon', title: '图标', templet: '#icon'}, - {field: 'type', title: '权限类型', templet: '#power-type'}, - {field: 'visible', title: '是否可用', templet: '#power-enable'}, - {field: 'orderNum', title: '排序'}, - {title: '操作', templet: '#power-bar', width: 150, align: 'center'} - ] - ] - }); - } + - render(); + + + - }) - \ No newline at end of file