RolesFuncUsers.aspx
上传用户:autodoor
上传日期:2022-08-04
资源大小:9973k
文件大小:6k
源码类别:

.net编程

开发平台:

Others

  1. <%@ Page language="c#" Codebehind="RolesFuncUsers.aspx.cs" AutoEventWireup="false" Inherits="qminoa.Webs.sysSecurity.RolesFuncUsers" %>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
  3. <HTML>
  4.   <HEAD>
  5. <title>RolesFuncUsers</title>
  6. <meta content="Microsoft Visual Studio 7.0" name=GENERATOR>
  7. <meta content=C# name=CODE_LANGUAGE>
  8. <meta content=JavaScript name=vs_defaultClientScript>
  9. <meta content=http://schemas.microsoft.com/intellisense/ie5 name=vs_targetSchema><LINK href="../lynn.css" type=text/css rel=stylesheet >
  10.   </HEAD>
  11. <body>
  12. <form id=RolesFuncUsers method=post runat="server">
  13. <table style="WIDTH: 575px; HEIGHT: 601px" cellSpacing=0 cellPadding=0 
  14. align=center border=1>
  15.   <tr>
  16.     <td 
  17.     style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #403020; LINE-HEIGHT: 20px" 
  18.     align=middle bgColor=#cccccc colSpan=2>修改角色基本信息</td></tr>
  19.   <TR>
  20.     <TD align=middle>角色名称</TD>
  21.     <TD style="HEIGHT: 46px"><asp:textbox id=txbRoleName runat="server"></asp:textbox></TD>
  22.   <TR>
  23.     <TD align=middle>角色描述</TD>
  24.     <td><asp:textbox id=txbRoleDes runat="server"></asp:textbox></td></TR>
  25.   <tr>
  26.     <td align=middle colSpan=2><asp:linkbutton id=UpdateRole runat="server" CssClass="td" Font-Size="12"><img src="../img/button/save.gif" border="0" align="absmiddle">更新角色信息</asp:linkbutton></td></tr>
  27.   <tr>
  28.     <td 
  29.     style="FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #403020; LINE-HEIGHT: 20px" 
  30.     align=middle bgColor=#cccccc colSpan=2 
  31.     >将此角色添加到新的模块信息中</td></tr>
  32.   <TR>
  33.     <TD style="WIDTH: 246px" vAlign=top><asp:dropdownlist id=RoleFuncDrop runat="server" DataValueField="FuncID" DataTextField="FuncName" Width="94px"></asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp; 
  34. <asp:linkbutton id=AddFunc runat="server">添加<img src="../img/button/fmforword2.gif" border="0" align="absmiddle"></asp:linkbutton>
  35.       <P></P></TD>
  36.     <TD vAlign=center align=middle><asp:datalist id=RoleFuncList runat="server" DataKeyField="FuncID">
  37. <ItemTemplate>
  38. <asp:ImageButton ImageUrl="../img/edit.gif" CommandName="edit" AlternateText="Edit this item" runat="server" ID="Imagebutton1" />
  39. &nbsp;
  40. <asp:ImageButton ImageUrl="../img/delete.gif" CommandName="delete" AlternateText="Delete this item" runat="server" ID="Imagebutton2" />
  41. &nbsp;
  42. <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "FuncName") %>' cssclass="Normal" runat="server" ID="Label2" />
  43. <asp:Label ID="LastSelectIndex" Runat="server" Visible="false" Text='<%#DataBinder.Eval(Container.DataItem, "RightFlag") %>'>
  44. </asp:Label>
  45. &nbsp;
  46. <asp:CheckBoxList id="FcheckRightSet" RepeatDirection="Horizontal" runat="server" AutoPostBack=True SelectedIndex='<%#DataBinder.Eval(Container.DataItem, "RightFlag") %>'>
  47. <asp:ListItem Value="0">浏览</asp:ListItem>
  48. <asp:ListItem Value="1">查询</asp:ListItem>
  49. <asp:ListItem Value="2">添加</asp:ListItem>
  50. <asp:ListItem Value="3">修改</asp:ListItem>
  51. <asp:ListItem Value="4">删除</asp:ListItem>
  52. </asp:CheckBoxList>
  53. </ItemTemplate>
  54. </asp:datalist></TD></TR>
  55.   <tr>
  56.     <td style="HEIGHT: 35px" align=middle colSpan=2><asp:linkbutton id=FuncRightOK runat="server" Font-Size="12"><img src="../img/button/save.gif" border="0" align="absmiddle">保存模块权限信息</asp:linkbutton></td></tr>
  57.   <tr>
  58.     <td 
  59.     style="FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #403020; LINE-HEIGHT: 20px" 
  60.     align=middle bgColor=#cccccc colSpan=2 
  61.   >为此角色添加新的用户信息</td></tr>
  62.   <TR>
  63.     <TD style="WIDTH: 246px; HEIGHT: 293px" vAlign=top>
  64.       <table style="WIDTH: 239px; HEIGHT: 237px">
  65.         <tr>
  66.           <td style="WIDTH: 163px">单位名称<asp:dropdownlist id=RoleUnitDrop runat="server" DataValueField="BranchID" DataTextField="BranchName" Width="91px" AutoPostBack="True"></asp:dropdownlist></td></tr>
  67.         <tr>
  68.           <td style="WIDTH: 163px">部门名称<asp:dropdownlist id=RoleBranchDrop runat="server" DataValueField="DepID" DataTextField="DepName" Width="91px" AutoPostBack="True"></asp:dropdownlist></td></tr>
  69.         <tr>
  70.           <td style="WIDTH: 163px"><asp:listbox id=RoleUserListbox runat="server" DataValueField="EmpID" DataTextField="EmpName" Width="142px" Height="156px"></asp:listbox></td>
  71.           <td>
  72.             <P><FONT face=宋体>&nbsp; 
  73.             </FONT><asp:linkbutton id=AddRoleBtn runat="server" Text="Add User">添加<img src="../img/button/fmforword2.gif" border="0" align="absmiddle"></asp:linkbutton></P>
  74.             <P><asp:linkbutton id=AddAllRoleBtn runat="server" Text="Add All User">全部添加<img src="../img/button/fmforword2.gif" border="0" align="absmiddle"><img src="../img/button/fmforword2.gif" border="0" align="absmiddle"></asp:linkbutton></P></td></tr></table></TD>
  75.     <TD style="HEIGHT: 293px" vAlign=center align=middle><asp:datalist id=RoleUserList runat="server" Width="196px" DataKeyField="EmpID" Height="145px">
  76. <ItemTemplate>
  77. <asp:ImageButton ImageUrl="../img/edit.gif" CommandName="edit" AlternateText="Edit this item" runat="server" ID="Imagebutton3" />
  78. &nbsp;
  79. <asp:ImageButton ImageUrl="../img/delete.gif" CommandName="delete" AlternateText="Delete this item" runat="server" ID="Imagebutton4" />
  80. &nbsp;
  81. <asp:Label Text='<%# DataBinder.Eval(Container.DataItem, "EmpName") %>' cssclass="Normal" runat="server" ID="Label3"/>
  82. </ItemTemplate>
  83. </asp:datalist></TD></TR>
  84.   <tr>
  85.     <td style="HEIGHT: 40px" align=middle colSpan=2><asp:linkbutton id=LinkOK runat="server" Font-Size="12"><img src="../img/button/save.gif" border="0" align="absmiddle">确定</asp:linkbutton>&nbsp; 
  86.       &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <asp:linkbutton id=linkCanncel runat="server" Font-Size="12"><img src="../img/button/fmforword.gif" border="0" align="absmiddle">退出</asp:linkbutton></td></tr></table></form>
  87. </body>
  88. </HTML>