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

📄 departmentmng.aspx

📁 人事管理系统源码 主要功能有: 员工管理:员工信息管理 员工调动管理 部门管理:部门信息管理 部门人员管理 用户管理:用户管理 修改密码
💻 ASPX
字号:
<%@ Page Language="c#" Inherits="PMS.DesktopModules.DepartmentInfo.DepartmentMng"
    CodeFile="DepartmentMng.aspx.cs" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<html>
<head>
    <title>DepartmentMng</title>
    <meta content="Microsoft Visual Studio .NET 7.1" 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="/PMS/CSS/cssformainpage.css" type="text/css" rel="stylesheet">
    <link href="/PMS/CSS/BaseCss.css" type="text/css" rel="stylesheet">
</head>
<body>
    <form id="Form1" method="post" runat="server">
        <div id="page_container">
            <!--Header -->
            <div id="header">
                <!--#include virtual="/PMS/Inc/header.inc"-->
            </div>
            <!-- Navigation starts -->
            <div id="navi" style="width: 157px">
                <div id="navi_top" align="center">
                    <font>菜 单</font></div>
                <div class="divider_double" style="width: 160px; height: 3px">
                    <font face="宋体"></font>
                </div>
                <div class="navi_cnt">
                    <br />
                    <asp:TreeView ID="TreeView1" runat="server" Height="370px" ImageSet="BulletedList3"
                        LineImagesFolder="~/TreeLineImages" ShowExpandCollapse="False" Width="160px"
                        Font-Size="XX-Large">
                        <ParentNodeStyle Font-Bold="False" />
                        <SelectedNodeStyle Font-Underline="True" ForeColor="#5555DD" HorizontalPadding="0px"
                            VerticalPadding="0px" />
                        <Nodes>
                            <asp:TreeNode Text="员工管理" Value="员工管理">
                                <asp:TreeNode Text="员工信息管理" Value="员工信息管理" NavigateUrl="~/DesktopModules/EmployeeInfo/employeemng.aspx">
                                </asp:TreeNode>
                                <asp:TreeNode Text="员工调动管理" Value="员工调动管理" NavigateUrl="~/DesktopModules/TransferMng/transfermng.aspx">
                                </asp:TreeNode>
                            </asp:TreeNode>
                            <asp:TreeNode Text="部门管理" Value="部门管理">
                                <asp:TreeNode Text="部门信息管理" Value="部门信息管理" NavigateUrl="~/DesktopModules/DepartmentInfo/departmentmng.aspx">
                                </asp:TreeNode>
                                <asp:TreeNode Text="部门人员管理" Value="部门人员管理" NavigateUrl="~/DesktopModules/EmployeeOfDepartment/employeeofdepartment.aspx">
                                </asp:TreeNode>
                            </asp:TreeNode>
                            <asp:TreeNode Text="用户管理" Value="用户管理">
                                <asp:TreeNode Text="用户管理" Value="用户管理" NavigateUrl="~/Admins/usermng.aspx"></asp:TreeNode>
                                <asp:TreeNode Text="修改密码" Value="修改密码" NavigateUrl="~/Admins/pwdchg.aspx"></asp:TreeNode>
                            </asp:TreeNode>
                            <asp:TreeNode Text="退出登录" Value="退出登录" NavigateUrl="~/Admins/logout.aspx"></asp:TreeNode>
                        </Nodes>
                        <NodeStyle Font-Names="Verdana" Font-Size="8pt" ForeColor="Black" HorizontalPadding="5px"
                            NodeSpacing="0px" VerticalPadding="0px" />
                    </asp:TreeView>
                </div>
                <div id="navi_bottom" style="width: 160px; height: 12px">
                    <font face="宋体"></font>
                </div>
                <font face="宋体"></font>
            </div>
            <!--Navigation end-->
            <!-- center -->
            <div id="center_work">
                <div class="content_work">
                    <div class="item_odd_work">
                        <table style="border-collapse: collapse" bordercolor="#111111" height="1" cellspacing="0"
                            cellpadding="0" width="100%" border="0">
                            <tr height="30">
                                <td width="30" bgcolor="#c0d9e6" class="GbText" align="center" style="width: 30px">
                                    <font color="#006699" size="3">
                                        <img src="/PMS/Images/ffwd.GIF" width="16" height="16"></font></td>
                                <td bgcolor="#c0d9e6" class="GbText">
                                    <b>部门管理</b></td>
                            </tr>
                        </table>
                        <table cellspacing="0" cellpadding="0" width="100%" border="0">
                            <tr height="20">
                                <td id="bar4" style="background-position: left top; background-attachment: fixed;
                                    background-repeat: no-repeat; height: 25px" align="center" width="90" background="../../images/maillistbutton1.gif">
                                    &nbsp;<asp:Button ID="AddDepart" runat="server" CssClass="buttoncss" Text="添加新的部门"
                                        Width="150px" OnClick="AddDepartment_Click"></asp:Button></td>
                                <td style="height: 25px" align="right">
                                    <font face="宋体">&nbsp;&nbsp;&nbsp;</font></td>
                            </tr>
                        </table>
                        <table class="GbText" cellspacing="0" cellpadding="0" width="100%" border="0">
                            <tr>
                                <td valign="top" colspan="3" style="height: 298px">
                                    <br />
                                    <asp:GridView ID="DepartList" runat="server" Width="100%" CellPadding="4" ForeColor="#333333"
                                        GridLines="None" AutoGenerateColumns="False" OnPageIndexChanging="DepartList_PageIndexChanging"
                                        OnRowDeleting="DepartList_RowDeleting" OnRowEditing="DepartList_RowEditing" AllowPaging="True"
                                        Font-Size="Larger">
                                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" HorizontalAlign="Left" />
                                        <RowStyle BackColor="#EFF3FB" />
                                        <EditRowStyle BackColor="#2461BF" />
                                        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
                                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                                        <AlternatingRowStyle BackColor="White" />
                                        <Columns>
                                            <asp:BoundField DataField="DepartID" HeaderText="部门编号">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="DepartName" HeaderText="部门名称">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="DepartDes" HeaderText="部门描述">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="ParentName" HeaderText="上级部门名称">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:BoundField DataField="Remark" HeaderText="备注">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:BoundField>
                                            <asp:CommandField HeaderText="编辑" ShowEditButton="True">
                                                <ItemStyle HorizontalAlign="Center" />
                                            </asp:CommandField>
                                            <asp:TemplateField HeaderText="删除" ShowHeader="False">
                                                <ItemStyle HorizontalAlign="Center" />
                                                <ItemTemplate>
                                                    <asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False" CommandName="Delete"
                                                        OnClientClick="return confirm('你确定要删除此项吗?');" Text="删除"></asp:LinkButton>
                                                </ItemTemplate>
                                            </asp:TemplateField>
                                        </Columns>
                                    </asp:GridView>
                                </td>
                            </tr>
                        </table>
                        <br>
                        <br>
                    </div>
                </div>
                <div class="item_odd_work" style="border-right: medium none; border-top: medium none;
                    font-size: 1px; border-left: medium none; line-height: 1px; border-bottom: medium none">
                </div>
            </div>
            <div class="content_end_work">
                <font></font>
            </div>
            <font face="宋体"></font>
        </div>
        <!--center end-->
        <div id="footer">
            <!--#include virtual="/PMS/Inc/footer.inc"-->
        </div>
    </form>
</body>
</html>

⌨️ 快捷键说明

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