rolemenulist.jsp

来自「管理公司合同」· JSP 代码 · 共 68 行

JSP
68
字号
<%@ page contentType = "text/html;charset=GBK"%>
<%@ taglib uri="/WEB-INF/tag.tld" prefix="tag" %>
<%@ taglib uri="/WEB-INF/displaytag-11.tld" prefix="display" %>
<%@ page import="cn.com.juneng.system.common.BaseForm" %>
<%@ page import="cn.com.juneng.system.common.COMMON" %>
<%@ page import="java.util.List" %>
<link href="<%=request.getContextPath()%>/css/commonPage.css" rel="stylesheet" type="text/css">
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/COMMON.js'></script>
<script type='text/javascript' language='JavaScript' src='<%=request.getContextPath()%>/js/calendar.js'></script>
<title>授权菜单列表</title>
<%
	BaseForm bForm = (BaseForm)request.getAttribute("BaseForm");
	List allList = (List)request.getAttribute("AllList");
	String menuIds = COMMON.getPropValueFromList(allList,"menuId","");
	if(menuIds==null){
		menuIds = "";
	}
%>
<form name=form1 action="<tag:attr source="ActionUrl" />" method="post" >
<input type="hidden" name="showQuery" value="<%=bForm.isShowQuery() %>">
<input type="hidden" name="menuId">
<input type="hidden" name="menuIds">
<input type="hidden" name="roleId" value="<tag:attr source="VO" attr="roleId" />">
<input type="hidden" name="roleName" value="<tag:attr source="VO" attr="roleName" />">
<table >
	<tr>
	<td class="tHeading"><div align='center'><b>角色[<tag:attr source="VO" attr="roleName" />].菜单列表</b></div></td>
	</tr>
	<tr><td >
	<fieldset >
		<legend ><span onclick='query()'><img id="qImg" src="<%=request.getContextPath() %>/images/common/<%=bForm.isShowQuery()?"jian.gif":"jia.gif" %>">查询</span></legend>  
		<table id="qTable" title="输入条件值进行查询;双击清除查询条件" ondblclick="clearQuery()" border='0' class="list_condition_table" style="display:<%=bForm.isShowQuery()?"block":"none" %>">
			<tr>
			<td class="list_condition_td_title" width='10%'>菜单名称</td>
			<td class="list_condition_td_input" width='40%'><input type="text" name="$Q_resrcName" value="<tag:attr source="qMap" attr="$Q_resrcName" />"></td>
			</tr>
		</table>
	</fieldset>
	</td></tr>
	<TBODY>
	<tr><td>
	<tag:turnPageTag pageMethod="menuList"/>
	</td></tr>
	</TBODY>
</table>

<display:table class="its" name="List"  id="VO" export="false" attribute="<%=COMMON.TABLE_STYLE%>">
	<display:column title="选择" attribute="style='cursor:hand' title='点击全选' onclick=\"selectAll('Ids')\"">
		<input type=checkbox name=Ids value='<tag:attr source="VO" attr="menuId" />'>
	</display:column>
	<display:column title="菜单名称" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('resrcName')\"">
		<a  href="#" onclick="view('menuId','<tag:attr source="VO" attr="menuId" />')">
			<tag:attr source="VO" attr="resrcName" />
		</a>
	</display:column>
	<display:column title="对应链接" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('resrcLink')\"" property="resrcLink"/>
	<display:column title="显示图标" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('resrcIcon')\"" property="resrcIcon"/>
	<display:column title="菜单备注" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('resrcMemo')\"" property="resrcMemo"/>
	<display:column title="快速访问码" attribute="style='cursor:hand' title='点击排序' onclick=\"orderBy('tcode')\"" property="tcode"/>
</display:table>
<br>
<input type="button"  value="新增" onclick="addMenu()">
<input type="button"  value="删除" onclick="selectAndExecute('delete') ">
</form>



⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?