<%@ page language="java" import="java.util.*" pageEncoding="gbk"%>

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<%@include file="../assets/header-all.jsp"%>
</head>
  <body class="easyui-layout">
            <div data-options="region:'west',title:'权限组列表'" style="width:220px;">
		         <div data-options="region:'north'">
		            <div class="easyui-panel" style="padding:5px;border:none;">
					        <a href="javascript:addRoleGroup(false);" class="easyui-linkbutton" data-options="iconCls:'icon-add'">增加</a>
					        <a href="javascript:modiftRight();" class="easyui-linkbutton" data-options="iconCls:'icon-edit'">修改</a>
					        <a href="javascript:deleteRight();" class="easyui-linkbutton" data-options="iconCls:'icon-info-delete'">删除</a>
					</div>
				</div>
				<div data-options="region:'center',fit:true" class="easyui-layout">
	                <table id="searchGrid"  style="overflow-y: auto;"></table>
				</div>
            </div>
            <div data-options="region:'center',title:'菜单权限'"  >
            	<div class="easyui-layout" data-options="fit:true,border:false">
				            <div data-options="region:'north',border:false" >
				            	<div class="easyui-panel" style="padding:5px;border:none;">
							        <a href="javascript:getAllCheckedNodes();" class="easyui-linkbutton" data-options="iconCls:'icon-save'">保存</a>&nbsp;
							        <a href="javascript:selectAllNode();" class="easyui-linkbutton" data-options="iconCls:'icon-selectAll'">全勾选</a>&nbsp;
							        <a href="javascript:disSelectAllNode();" class="easyui-linkbutton" data-options="iconCls:'icon-not-selectAll'">全不勾选</a>
							    </div>
				            </div>
				            <div data-options="region:'center'" style="overflow-y:auto;">
					               <ul id="rightTree"></ul>
				            </div>
			        </div>
            </div>
     <div id="rmenu" class="easyui-menu" style="width:120px;">
		    <div class="button-style" onclick='modiftRight();'>修改</div>
        	<div class="button-style" onclick='deleteRight();'>删除</div>
		</div>
	<script src='systemMenu.js'></script>
</body>
</html>