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

📄 rolefuncusers.aspx

📁 OA管理程序代码,希望大家喜欢,一起共同拥有
💻 ASPX
字号:
<%@ Page language="c#" Codebehind="rolefuncusers.aspx.cs" AutoEventWireup="false" Inherits="web.sysSecurity.rolefuncusers" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
    <HEAD>
        <title>RolesFuncUsers</title>
        <meta content="Microsoft Visual Studio 7.0" name="GENERATOR">
        <meta content="C#" name="CODE_LANGUAGE">
        <meta content="JavaScript" name="vs_defaultClientScript">
        <meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
        <LINK href="../lynn.css" type="text/css" rel="stylesheet">
    </HEAD>
    <body>
        <form id="RolesFuncUsers" method="post" runat="server">
            <table style="WIDTH: 575px; HEIGHT: 601px" cellSpacing="0" cellPadding="0" align="center"
                border="1">
                <tr>
                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 16px; COLOR: #403020; LINE-HEIGHT: 20px" align="center"
                        bgColor="#cccccc" colSpan="2">修改角色基本信息</td>
                </tr>
                <TR>
                    <TD align="center">角色名称</TD>
                    <TD style="HEIGHT: 46px"><asp:textbox id="txbRoleName" runat="server"></asp:textbox></TD>
                <TR>
                    <TD align="center">角色描述</TD>
                    <td><asp:textbox id="txbRoleDes" runat="server"></asp:textbox></td>
                </TR>
                <tr>
                    <td align="center" colSpan="2"><asp:linkbutton id="UpdateRole" runat="server" Font-Size="12" CssClass="td"><img src="../img/button/save.gif" border="0" align="absmiddle">更新角色信息</asp:linkbutton></td>
                </tr>
                <tr>
                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #403020; LINE-HEIGHT: 20px" align="center"
                        bgColor="#cccccc" colSpan="2">将此角色添加到新的模块信息中</td>
                </tr>
                <TR>
                    <TD style="WIDTH: 246px" vAlign="top"><asp:dropdownlist id="RoleFuncDrop" runat="server" Width="94px" DataTextField="FuncName" DataValueField="FuncID"></asp:dropdownlist>&nbsp;&nbsp;&nbsp;&nbsp;
                        <asp:linkbutton id="AddFunc" runat="server">添加<img src="../img/button/fmforword2.gif" border="0" align="absmiddle"></asp:linkbutton>
                        <P><FONT face="宋体"></FONT></P>
                    </TD>
                    <TD vAlign="middle" align="center"><asp:datalist id="RoleFuncList" runat="server" DataKeyField="FuncID">
                            <ItemTemplate>
                                <asp:ImageButton id="Imagebutton1" runat="server" AlternateText="Edit this item" CommandName="edit"
                                    ImageUrl="../img/edit.gif"></asp:ImageButton>&nbsp;
                                <asp:ImageButton id="Imagebutton2" runat="server" AlternateText="Delete this item" CommandName="delete"
                                    ImageUrl="../img/delete.gif"></asp:ImageButton>&nbsp;
                                <asp:Label id=Label2 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "FuncName") %>' cssclass="Normal">
                                </asp:Label>
                                <asp:Label id=LastSelectIndex Text='<%#DataBinder.Eval(Container.DataItem, "RightFlag") %>' Visible="false" Runat="server">
                                </asp:Label>&nbsp;
                                <asp:CheckBoxList id=FcheckRightSet runat="server" AutoPostBack="True" SelectedIndex='<%#DataBinder.Eval(Container.DataItem, "RightFlag") %>' RepeatDirection="Horizontal">
                                    <asp:ListItem Value="0">浏览</asp:ListItem>
                                    <asp:ListItem Value="1">查询</asp:ListItem>
                                    <asp:ListItem Value="2">添加</asp:ListItem>
                                    <asp:ListItem Value="3">修改</asp:ListItem>
                                    <asp:ListItem Value="4">删除</asp:ListItem>
                                </asp:CheckBoxList>
                            </ItemTemplate>
                        </asp:datalist></TD>
                </TR>
                <tr>
                    <td style="HEIGHT: 35px" align="center" 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>
                <tr>
                    <td style="FONT-WEIGHT: bold; FONT-SIZE: 18px; COLOR: #403020; LINE-HEIGHT: 20px" align="center"
                        bgColor="#cccccc" colSpan="2">为此角色添加新的用户信息</td>
                </tr>
                <TR>
                    <TD style="WIDTH: 246px; HEIGHT: 293px" vAlign="top">
                        <table style="WIDTH: 239px; HEIGHT: 237px">
                            <tr>
                                <td style="WIDTH: 163px; HEIGHT: 14px">单位名称<asp:dropdownlist id="RoleUnitDrop" runat="server" Width="91px" DataTextField="BranchName" DataValueField="BranchID"
                                        AutoPostBack="True"></asp:dropdownlist></td>
                            </tr>
                            <tr>
                                <td style="WIDTH: 163px; HEIGHT: 2px">部门名称<asp:dropdownlist id="RoleBranchDrop" runat="server" Width="91px" DataTextField="DepName" DataValueField="DepID"
                                        AutoPostBack="True"></asp:dropdownlist></td>
                            </tr>
                            <tr>
                                <td style="WIDTH: 163px"><asp:listbox id="RoleUserListbox" runat="server" Width="142px" DataTextField="EmpName" DataValueField="EmpID"
                                        Height="156px"></asp:listbox></td>
                                <td>
                                    <P><FONT face="宋体">&nbsp; </FONT>
                                        <asp:linkbutton id="AddRoleBtn" runat="server" Text="Add User">添加<img src="../img/button/fmforword2.gif" border="0" align="absmiddle"></asp:linkbutton></P>
                                    <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>
                    <TD style="HEIGHT: 293px" vAlign="middle" align="center"><asp:datalist id="RoleUserList" runat="server" Width="196px" DataKeyField="EmpID" Height="145px">
                            <ItemTemplate>
                                <asp:ImageButton id="Imagebutton3" runat="server" AlternateText="Edit this item" CommandName="edit"
                                    ImageUrl="../img/edit.gif"></asp:ImageButton>&nbsp;
                                <asp:ImageButton id="Imagebutton4" runat="server" AlternateText="Delete this item" CommandName="delete"
                                    ImageUrl="../img/delete.gif"></asp:ImageButton>&nbsp;
                                <asp:Label id=Label3 runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "EmpName") %>' cssclass="Normal">
                                </asp:Label>
                            </ItemTemplate>
                        </asp:datalist></TD>
                </TR>
                <tr>
                    <td style="HEIGHT: 40px" align="center" colSpan="2"><asp:linkbutton id="LinkOK" runat="server" Font-Size="12"><img src="../img/button/save.gif" border="0" align="absmiddle">确定</asp:linkbutton>&nbsp; 
                        &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>
    </body>
</HTML>

⌨️ 快捷键说明

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