📄 funtiongroup_list.jsp
字号:
<%@page contentType="text/html; charset=GBK"%>
<%@taglib uri="/WEB-INF/struts-html.tld" prefix="html"%>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic"%>
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="/WEB-INF/tops.tld" prefix="tops"%>
<html:html>
<head>
<html:base/>
<LINK REL="stylesheet" TYPE="text/css" href="<%=request.getContextPath()%>/_normal/css/style.css">
<script language="javascript" src="<%=request.getContextPath()%>/_normal/script/common.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
function addNew() {
window.location = '<%=request.getContextPath()%>/actTopsSystemFuncitonGroup.do?method=add&moduleId='+document.all.moduleId.value;
}
function del() {
var isSelected = false;
if (document.all.del_checkbox_id.checked) {
isSelected = true;
}
else {
for (var i = 0; i < document.all.del_checkbox_id.length; i++) {
if (document.all.del_checkbox_id[i].checked == true) {
isSelected = true;
break;
}
}
}
if (isSelected) {
if (!confirm("确定删除所选记录?")) {
return false;
}
document.forms[0].action ='<%=request.getContextPath()%>/actTopsSystemFuncitonGroup.do?method=delete';
document.forms[0].submit();
}
else {
alert("请至少选择一条!");
return false;
}
}
function deleteFunction(id){
window.location="<%=request.getContextPath()%>/actTopsSystemFunction.do?method=delete&id="+id+"&moduleId="+document.all.moduleId.value;
}
function refresh(){
window.location="<%=request.getContextPath()%>/actTopsSystemFunction.do?method=reInitPrbit&moduleId="+document.all.moduleId.value;
}
</script>
</head>
<title>系统模块管理</title>
<body>
<form action="" method="post">
<input type="hidden" name="moduleId" value="<bean:write name="moduleId" scope="request"/>"/>
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="70%" nowrap class="location">您的位置:系统模块管理</td>
<td nowrap class="location"> </td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="7%" id="addNew" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onClick="addNew()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_add.gif" alt="新增">
新增模块组
</td>
<td width="1%" align="center" valign="middle" nowrap class="toolbar">|</td>
<td width="7%" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onclick="del()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_delete.gif" alt="删除">
删除
</td>
<td width="1%" align="center" valign="middle" nowrap class="toolbar">|</td>
<td width="7%" align="center" valign="middle" nowrap class="toolbar" onMouseOver="OMO()" onMouseOut="OMOU()" onclick="refresh()">
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/page_refresh.gif" alt="刷新权限位">
刷新权限位
</td>
<td width="82%" align="center" valign="middle" nowrap class="toolbar"> </td>
</tr>
</table>
<table cellpadding="0" cellspacing="1" border="0" width="100%" id="PowerTable">
<tr align="center">
<td height="20" width="5%" nowrap class="title">
<input type="checkbox" style="cursor:hand;border:0" onclick="selectAll(this)" title="全选"/>
</td>
<td width="5%" nowrap class="title">序号</td>
<td width="10%" nowrap class="title">模块组编号</td>
<td width="20%" nowrap class="title">模块组名称</td>
<td width="40%" nowrap class="title">说明</td>
<td width="10%" nowrap class="title">新模块</td>
<td width="10%" nowrap class="title">明细</td>
</tr>
<logic:notEmpty name="objlist">
<logic:iterate id="obj" name="objlist" indexId="index">
<tr align="center">
<td height="20">
<input type="checkbox" name="del_checkbox_id" value="<bean:write name="obj" property="id"/>" style="border:0">
</td>
<td><bean:write name="obj" property="fgSeq"/> </td>
<td align="center">
<bean:write name="obj" property="fgCode"/>
</td>
<td>
<tops:link action="actTopsSystemFuncitonGroup" captionbeanproperty="page-obj-fgName" method="modify" argname1="id" argbeanproperty1="page-obj-id" caption="dd"/>
</td>
<td>
<bean:write name="obj" property="remark"/>
</td>
<td>
<html:link action="/actTopsSystemFunction.do?method=add" paramId="moduleGroupId" paramName="obj" paramProperty="id">新模块</html:link>
</td>
<td>
<img src="<%=request.getContextPath()%>/_normal/toolbar_pic/unwrap.gif" alt="展开详细列表" onClick="showDetail(this,'<%=request.getContextPath()%>')" style="cursor:hand">
</td>
</tr>
<tr align="center" style="display:none">
<td colspan="9">
<table cellpadding="0" cellspacing="1" border="0" width="95%">
<tr align="center">
<td height="20" class="subTitle" width="5%">序号</td>
<td height="20" class="subTitle" width="10%">模块编号</td>
<td height="20" class="subTitle" width="10%">模块名称</td>
<td height="20" class="subTitle" width="15%">显示图片</td>
<td height="20" class="subTitle" width="5%">权限位</td>
<td height="20" class="subTitle" width="50%">子权限</td>
<td height="20" class="subTitle" width="10%">操作</td>
</tr>
<logic:notEmpty name="obj" property="funcList">
<logic:iterate id="subObj" name="obj" property="funcList">
<tr align="center">
<td height="20"><bean:write name="subObj" property="funcSeq"/></td>
<td><bean:write name="subObj" property="funcCode"/></td>
<td><tops:link action="actTopsSystemFunction" captionbeanproperty="page-subObj-funcName" method="modify" argname1="id" argbeanproperty1="page-subObj-id" caption="dd"/></td>
<td><bean:write name="subObj" property="funcImage"/></td>
<td><bean:write name="subObj" property="funcPrbit"/></td>
<td>
<logic:notEmpty name="subObj" property="subFunctionList">
<logic:iterate id="subFuncObj" name="subObj" property="subFunctionList">
<html:link action="actTopsSystemFunction.do?method=modify" paramId="id" paramName="subFuncObj" paramProperty="id">
<bean:write name="subFuncObj" property="funcName"/>
</html:link>
<a onclick="deleteFunction('<bean:write name="subFuncObj" property="id"/>')" style="cursor:hand" title="删除模块">(删除)</a> |
</logic:iterate>
</logic:notEmpty>
<tops:link action="actTopsSystemFunction" method="addSubFunc" argname1="fatherUUID" argbeanproperty1="page-subObj-id" caption="新子权限"/>
</td>
<td><a onclick="deleteFunction('<bean:write name="subObj" property="id"/>')" style="cursor:hand" title="删除模块">删除</a></td>
</tr>
</logic:iterate>
</logic:notEmpty>
<logic:empty name="obj" property="funcList">
<tr>
<td height="20" align="center" colspan="7">没有模块</td>
</tr>
</logic:empty>
</table>
</td>
</tr>
</logic:iterate>
</logic:notEmpty>
<logic:empty name="objlist">
<tr>
<td colspan="9" height="20" align="center">没有数据</td>
</tr>
</logic:empty>
</table>
</form>
</body>
</html:html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -