<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
<head>
|
<title>qxInRole.html</title>
|
|
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3"/>
|
<meta http-equiv="description" content="this is my page"/>
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
[@static_file /]
|
<style type="text/css">
|
body{ font-size:12px; }
|
.content { margin:10px auto; display:block;}
|
.firstmenu { width:98%; border:0px; border-bottom-style:dotted; border-bottom-width:thin; }
|
.secondmenu {width:98%; margin:10px 20px; border:0px; border-bottom-style:dotted; border-bottom-width:thin;}
|
.thirdmenu { width:98%; margin:10px 40px; border:0px; border-bottom-style:dotted; border-bottom-width:thin; }
|
.fourmenu { width:98%; margin:10px 60px; border:0px; border-bottom-style:dotted; border-bottom-width:thin; }
|
</style>
|
<script type="text/javascript">
|
|
function _onFormSubmit(){
|
if(!confirm('确定要重新分配权限吗?')) return false;
|
document.getElementById("myform").target = window.top.openDialog(1,30,30,'操作提示:');
|
document.getElementById("btnOK").click();
|
}
|
function closeWin(){
|
window.top.closeDialog(0);
|
}
|
|
$(document).ready(function(){
|
|
//点击一级功能菜单
|
$("input[name='selectAll']").bind({
|
click : function(){
|
if(this.checked){
|
$($(this).parents("div[id='menu']").find(":checkbox")).each(function(){
|
this.checked = true;
|
});
|
} else {
|
$($(this).parents("div[id='menu']").find(":checkbox")).each(function(){
|
this.checked = false;
|
});
|
}
|
}
|
});
|
});
|
</script>
|
</head>
|
|
<body>
|
<form action="user_in_jsListSubmit.html" method="post" id="myform">
|
<input type="hidden" value="${RequestParameters.id}" name="roleid" />
|
[#list data.BMLIST as yjgn]
|
<div class="content">
|
<div class="firstmenu" id="menu"><span style="margin:0px 20px 0px 0px;"><input type="checkbox" name="selectAll" />${yjgn.JGMC}</span>
|
[#list yjgn.USERLIST as d]
|
<input type="checkbox" name="userid" value="${d.ID}" [#if d.CHECKED??]checked="checked"[/#if] />${d.ZSXM}
|
[/#list]
|
</div>
|
[#list yjgn.BMLIST as ejgn]
|
<div class="secondmenu" id="menu"><span style="margin:0px 20px 0px 0px;"><input type="checkbox" name="selectAll" />${ejgn.JGMC}</span>
|
[#list ejgn.USERLIST as d]
|
<input type="checkbox" name="userid" value="${d.ID}" [#if d.CHECKED??]checked="checked"[/#if] />${d.ZSXM}
|
[/#list]
|
</div>
|
[#list ejgn.BMLIST as sjgn]
|
<div class="thirdmenu" id="menu"><span style="margin:0px 20px 0px 0px;"><input type="checkbox" name="selectAll" />${sjgn.JGMC}</span>
|
[#list sjgn.USERLIST as d]
|
<input type="checkbox" name="userid" value="${d.ID}" [#if d.CHECKED??]checked="checked"[/#if] />${d.ZSXM}
|
[/#list]
|
</div>
|
[#list sjgn.BMLIST as sijgn]
|
<div class="fourmenu" id="menu"><span style="margin:0px 20px 0px 0px;"><input type="checkbox" name="selectAll" />${sijgn.JGMC}</span>
|
[#list sijgn.USERLIST as d]
|
<input type="checkbox" name="userid" value="${d.ID}" [#if d.CHECKED??]checked="checked"[/#if] />${d.ZSXM}
|
[/#list]
|
</div>
|
[/#list]
|
[/#list]
|
[/#list]
|
</div>
|
[/#list]
|
<input type="submit" id="btnOK" value="提交" style="display:none;" />
|
</form>
|
</body>
|
</html>
|