<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="login_system.aspx.cs" Inherits="Web.wx.admin.login_system" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>OA标题页</title>
<link href="../../css/admincss/skin.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="../../css/popcalendar.js"></script>
</head>
<body>
    <form id="form1" runat="server" >
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
        <td   class ="top_bg_left "></td>
    <td  class ="top_bg_center " >
    <table style ="width :100%; height :31"  border="0" cellpadding="0" cellspacing="0" class="left_topbg" id="table2">
      <tr>
      
<!--这里写页标题 -->
        <td style ="height :31px"><div class="titlebt">系统设置</div></td>
      </tr>
    </table>
    </td> 
    <td class ="top_bg_right "></td>
  </tr>
  <tr>
    <td style ="background :url(../../css/admincss/images/mail_leftbg.gif); vertical-align :middle " >&nbsp;</td>
    <td style ="background-color :#F7F8F9; vertical-align :top " >

   <!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                设备管理级别设置</div> </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        <div>
                      <asp:Label ID="lbMessageManager" runat="server" ForeColor="Red"></asp:Label>
                    </div>
<div>
<asp:GridView ID="GridView1" runat="server" Width="100%" CssClass="gv" 
            cellspacing="1" BorderWidth="1px" 
                AutoGenerateColumns="False" 
                onrowdeleting="GridView1_RowDeleting" >
            <RowStyle  CssClass="gvrow" BorderWidth="1px" />
                <Columns>
                    <asp:BoundField DataField="staffid" HeaderText="人员编号" ReadOnly="True" />
                    <asp:BoundField DataField="staff" HeaderText="员工姓名" ReadOnly="True" />
                    <asp:BoundField DataField="staffcategory" HeaderText="管理级别" ReadOnly="True" />
                    <asp:CommandField HeaderText="删除" ShowDeleteButton="True" DeleteText ="删除" />
                </Columns>
            <HeaderStyle  CssClass="gvhead"  />
        </asp:GridView>
         人员编号：                <asp:TextBox ID="tbStaff" runat="server" Width ="160px"></asp:TextBox> 
                  <asp:Button ID="btsearchStaff" runat="server" Text="查询" onclick="btsearchStaff_Click" />

                 &nbsp;&nbsp;管理级别：
                                     <asp:DropDownList ID="ddlStaffcategory" runat="server">
                        <asp:ListItem>维修人员</asp:ListItem>
                    </asp:DropDownList>
                    <asp:Button ID="btCheckergrade" runat="server" Text="添加" 
                        onclick="btCheckergrade_Click" />
                        <div id = "divstaff" runat ="server" visible ="false" >
   
                                          人员编号：  <asp:Label ID="lbStaffid" runat="server"></asp:Label>
                                      &nbsp;&nbsp;&nbsp;
                                      姓名：     <asp:Label ID="lbStaff" runat="server"></asp:Label>
                                            </div> 
                    </div>
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

<!--  一组内容模块开始   --> 
    <table class ="tablezong"   border="0"  cellpadding="0" cellspacing="0">
      <tr>
        <td style ="height :40px" >
        <table class="tablebiaoti"  border="0" cellpadding="0" cellspacing="0" >
          <tr>
            <td><div class ="biaotileft ">  
                默认好评天数设置</div> </td>
          </tr>
        </table>
        </td>
      </tr>
    <tr>
        <td style ="height :35px">
            默认好评天数：<asp:TextBox ID="tbDaysgood" runat="server" 
                    Width="44px" MaxLength="4">10</asp:TextBox>
                                            。超过此天数未评，系统自动给予好评。<asp:RegularExpressionValidator 
                ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbDaysgood" 
                Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbDaysgood" 
                Display="Dynamic" ErrorMessage="不能为空。" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
      </tr>
      <tr>
        <td style ="height :35px">
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <asp:Button ID="btnEdit" runat="server" onclick="btnEdit_Click" Text="修改" 
                                                ValidationGroup="Inquires" />
        </td>
      </tr>
    </table>
<!-- 一组内容模块结束 -->

    </td>
    <td  style =" background-image:url(../../css/admincss/images/mail_rightbg.gif )" >
    </td>
  </tr>
  <tr>
<td  class ="buttom_bg_left "></td>
  <td   class ="buttom_bg_center " ></td>
    <td  class ="buttom_bg_right " ></td>
  </tr>
</table>
    </div>
    </form>
</body>
</html>
