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

<!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>
<div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                                                ControlToValidate="tbNum" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum" runat="server" 
                    Width="44px" MaxLength="4">20</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery" runat="server" onclick="btnQuery_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="Inquires" /></div>
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        
       
        <div style ="margin-bottom :6px; margin-top :6px">
        <div style =" text-align :right ; padding-bottom :10px">
            <asp:LinkButton ID="lbtjiben" runat="server" onclick="lbtjiben_Click">信息审核</asp:LinkButton>
            &nbsp;&nbsp;
            <asp:LinkButton ID="lbtkaohe" runat="server" onclick="lbtkaohe_Click" 
                >考核审核</asp:LinkButton>
                    &nbsp;&nbsp;            
            <asp:LinkButton ID="linkjianli" runat="server" onclick="lbtjianli_Click" 
                >简历审核</asp:LinkButton>
        </div>
         <div>
           <table  border ="0" cellpadding="1px" cellspacing ="1px"  >
          <tr>
          <td> 年度：<asp:DropDownList ID="ddlAssessyears" runat="server">
              </asp:DropDownList>
              </td>
          <td> 部门：<asp:DropDownList ID="ddlDepartment" runat="server">
             </asp:DropDownList></td>
          <td>职工号、身份证号或姓名：<asp:TextBox ID="tbStaff" runat="server"></asp:TextBox></td>
          <td><asp:Button ID="btQuery1" runat="server" onclick="btnQuery_Click" Text="提交查询" ValidationGroup="Inquires" />
             &nbsp;&nbsp;
            <asp:Label ID="lbRowscountview" runat="server" ForeColor="Red"></asp:Label>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator4" runat="server" 
            ControlToValidate="tbStaff" Display="Dynamic" ErrorMessage="输入的人员编号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="Inquires" ForeColor="Red"></asp:RegularExpressionValidator></td>
          </tr>
         </table>
                 </div>
  
      
         <div id ="divstaff"  runat ="server" visible ="false" >
            人员编号: <asp:Label ID="lbStaffnumber" runat="server" ></asp:Label>
            姓名：<asp:Label ID="lbStaffName" runat="server" ></asp:Label>
            部门：<asp:Label ID="lbDepartment" runat="server" ></asp:Label>,
            将 <asp:Label ID="lbProject" runat="server"></asp:Label>       年度考核修改为 :<asp:Label ID="lbprojectcontent" runat="server" ></asp:Label>。
             <asp:Label ID="lbId" runat="server" Visible="False" ></asp:Label>
             &nbsp;<asp:Button ID="btChecked"
                 runat="server" Text="审核通过" onclick="btChecked_Click" />
             &nbsp;审核未通过原因：
             <asp:TextBox ID="tbNotChecked" runat="server" Width="300px"></asp:TextBox>
             &nbsp;<asp:Button ID="btNotChecked" runat="server" Text="审核未通过" 
                 onclick="btNotChecked_Click" /></div>
        <table style ="width :100%;" border ="0" cellpadding="1" cellspacing="1" runat ="server" id ="table1"   >
           
        <tr><td class="tabletd_left"><div style ="margin-bottom :6px; margin-top :6px">
        <asp:GridView ID="GridView1" runat="server" BorderWidth="1px" Width="100%" CssClass="gv" 
                cellspacing="1" AutoGenerateColumns="False" 
                onrowdeleting="GridView1_RowDeleting" 
                onselectedindexchanging="GridView1_SelectedIndexChanging" 
                onrowcreated="GridView1_RowCreated">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
<Columns>
                           <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox2" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox2_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox1" runat="server" /></ItemTemplate>               
               </asp:TemplateField>
               <asp:CommandField HeaderText="审核" SelectText="审核" ShowSelectButton="True" />
                <asp:BoundField DataField="staffnumber" HeaderText="人员编号" ReadOnly="True" />
                <asp:BoundField DataField="staffname" HeaderText="姓名" ReadOnly="True" />
                <asp:BoundField DataField="department" HeaderText="部门" ReadOnly="True" />
                 <asp:BoundField DataField="years" HeaderText="年度" ReadOnly="True" />
                <asp:BoundField DataField="assess" HeaderText="等第" ReadOnly="True" />

                <asp:BoundField DataField="edittime" HeaderText="提交时间" ReadOnly="True" />
                <asp:BoundField DataField="checked" HeaderText="审核状态" ReadOnly="True" />
                <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView></div>
           
                                            </td></tr>
        
        </table>


             </div>
                      
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">

                  </td>
                  <td  id ="allowpage" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
<asp:Panel ID="plOutput" runat="server" Visible ="false" >
          <table border ="0" cellpadding="1px" cellspacing ="1px"  style =" width :100%">
        <tr><td  class =" td_leftnoborder  "> 
            <asp:Button ID="btChecded" runat="server" Text="批量审核通过" 
                onclick="btChecded_Click" /></td><td class =" td_rightnoborder  ">
            <asp:Button ID="btDel" runat="server" Text="批量删除" onclick="btDel_Click" /></td></tr>
            
            </table>  
            
              </asp:Panel>

          
          </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>
<div class ="biaotiright ">
                                            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                                                ControlToValidate="tbNum2" Display="Dynamic" ErrorMessage="行数不能为空。" 
                                                ValidationGroup="num2" ForeColor="Red"></asp:RequiredFieldValidator>
                                            <asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" 
                                                ControlToValidate="tbNum2" Display="Dynamic" ErrorMessage="请输入大于0的整数。" 
                                                ValidationExpression="^\+?[1-9][0-9]*$" ToolTip="RowNum" 
                                                ValidationGroup="num2" ForeColor="Red"></asp:RegularExpressionValidator>
                                            每页显示行数：<asp:TextBox ID="tbNum2" runat="server" 
                    Width="44px" MaxLength="4">20</asp:TextBox>
                &nbsp;
                <asp:Button ID="btnQuery2" runat="server" onclick="btnQuery2_Click" Text="确定" ToolTip="RowNum" 
                                                ValidationGroup="num2" /></div>
                                        </td>
          </tr>
        </table>
        </td>
      </tr>
      <tr>
        <td>
        
       
        <div style ="margin-bottom :6px; margin-top :6px">
        
         <div>
          <table  border ="0" cellpadding="1px" cellspacing ="1px"  >
          <tr>


          <td> 部门：<asp:DropDownList ID="ddlDepartment2" runat="server">
             </asp:DropDownList></td>
          <td>职工号、身份证号或姓名：<asp:TextBox ID="tbStaff2" runat="server" ValidationGroup="checked"></asp:TextBox></td>
          <td>
  
        
        <asp:RadioButtonList ID="rbl1" runat="server" 
                    RepeatDirection="Horizontal" ValidationGroup="checked">
            <asp:ListItem Selected="True" >审核通过</asp:ListItem>
            <asp:ListItem   >审核未通过</asp:ListItem>
            </asp:RadioButtonList>
                </td>
          <td>&nbsp;&nbsp; 
              <asp:Button ID="btQuery2" runat="server" onclick="btnQuery2_Click" 
                  Text="提交查询" ValidationGroup="num2" />
             &nbsp;&nbsp;
            <asp:Label ID="lbRowscountview2" runat="server" ForeColor="Red"></asp:Label>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" 
            ControlToValidate="tbStaff2" Display="Dynamic" ErrorMessage="输入的人员编号或姓名不对！" 
            ValidationExpression="^[^%&gt;&lt;'&amp;*=!&quot;?]{0,25}$" 
                 ValidationGroup="num2" ForeColor="Red"></asp:RegularExpressionValidator></td>
          </tr>
         </table> 
                 </div>
  
      
         
        <table style ="width :100%;" border ="0" cellpadding="1" cellspacing="1" runat ="server" id ="table3"   >
           
        <tr><td class="tabletd_left"><div style ="margin-bottom :6px; margin-top :6px">
        <asp:GridView ID="GridView2" runat="server" BorderWidth="1px" Width="100%" CssClass="gv" 
                cellspacing="1" AutoGenerateColumns="False" 
                onrowcreated="GridView2_RowCreated" onrowdeleting="GridView2_RowDeleting">
            <RowStyle HorizontalAlign="Center" VerticalAlign="Middle" BorderWidth="1px" 
                CssClass="gvrow" />
                <Columns>
                        <asp:TemplateField> 
               <HeaderTemplate>  <asp:CheckBox ID="CheckBox4" Text ="全选" runat="server" AutoPostBack="True" 
                OnCheckedChanged="CheckBox4_CheckedChanged"  />    </HeaderTemplate>        
               <ItemTemplate><asp:CheckBox ID="CheckBox3" runat="server" /></ItemTemplate>               
               </asp:TemplateField>
                <asp:BoundField DataField="staffnumber" HeaderText="人员编号" ReadOnly="True" />
                <asp:BoundField DataField="staffname" HeaderText="姓名" ReadOnly="True" />
                <asp:BoundField DataField="department" HeaderText="部门" ReadOnly="True" />
                 <asp:BoundField DataField="years" HeaderText="年度" ReadOnly="True" />
                <asp:BoundField DataField="assess" HeaderText="等第" ReadOnly="True" />

                <asp:BoundField DataField="edittime" HeaderText="提交时间" ReadOnly="True" />
                <asp:BoundField DataField="checked" HeaderText="审核状态" ReadOnly="True" />
                <asp:BoundField DataField="manager" HeaderText="审核人" ReadOnly="True" />
                <asp:BoundField DataField="managetime" HeaderText="审核时间" ReadOnly="True" />
                <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
                        <asp:CommandField HeaderText="删除" ShowDeleteButton="True" />
                </Columns>
            <HeaderStyle BorderWidth="1px" CssClass="gvhead" />
        </asp:GridView></div>
           
                                            </td></tr>
        
        </table>


             </div>
                      
        </td>
      </tr>
      <tr><td  >
          <table cellpadding="0" cellspacing="0" style ="width :100%">
              <tr>
                  <td style =" padding-left :5px; text-align :left  ">

                  </td>
                  <td  id ="Td1" runat ="server" style ="text-align :right ;  padding-right  :5px">
                      &nbsp;</td>
              </tr>
          </table>
<asp:Panel ID="plOutput2" runat="server" Visible ="false" >
          <table border ="0" cellpadding="1px" cellspacing ="1px"  style =" width :100%">
        <tr><td class =" td_rightnoborder  ">
            <asp:Button ID="btDel2" runat="server" Text="批量删除" onclick="btDel2_Click" /></td></tr>
            
            </table> 
            
              </asp:Panel>

          
          </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>
