⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 assign_rights.jsp

📁 crm系统 有源码 及相关文档sql2005 数据库 客户反馈模块
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %>
<%@ taglib uri="/WEB-INF/jb-common.tld" prefix="jb" %>
<script src="validate.js" ></script>
<script src="icommon.js" ></script>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <title>角色管理 - 分配权限</title>
	<link rel="stylesheet" type="text/css" href="styles.css" >
	<script>
		function save(){

			doSubmit('doAssignRights');
		}
	</script>
  </head>
  
  <body class="main">
  <html:form action="role">
  
  	<html:hidden property="o" value="doAssignRights" />
  	<div class="page_title">角色管理 > 分配权限</div>
  	<div class="button_bar">
  		<button class="common_button" onclick="javascript:history.go(-1);">返回</button>
		<button class="common_button" onclick="javascript:save();">保存</button>
	</div>
  	<html:hidden property="item.roleId" />
		<table class="query_form_table" border="0" cellPadding="3" cellSpacing="0">
			<tr>
				<th class="input_title" width="10%">角色名</th>
				<td class="input_content" width="20%">
					${roleForm.item.roleName }&nbsp;
				</td>
				<th class="input_title" width="10%">角色描述</th>
				<td class="input_content" width="20%">
					${roleForm.item.roleDesc }&nbsp;
				</td>
				<th class="input_title" width="10%">状态</th>
				<td class="input_content" width="20%">
					${roleForm.item.roleFlagString }&nbsp;
				</td>				
			</tr>
			<tr>
				<th class="input_title" valign="top" >权限</th>
				<td class="input_content" colspan="5" valign="top">
					<%-- 显示所有权限 --%>
		<logic:iterate id="right" name="ALL_RIGHTS_LIST" type="org.jb.y272.team0.entity.SysRight">
			<div>
				<% 
					for(int i=0; i< right.getRightCode().length();++i){
						out.print("&nbsp;&nbsp;&nbsp;");
					}
				%>
				${right.rightText } 
				<input name="selectedRights" type="checkbox" ${right.isSelected } value="${right.rightCode }" />
			</div>
		</logic:iterate>
		
					
					
				</td>				
			</tr>
		</table>
	</html:form>	
  </body>
</html:html>

⌨️ 快捷键说明

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