<%@ page language="C#" autoeventwireup="true" inherits="_edu_teacher_J1_TeacherInfoRecycleBin, App_Web_j1_teacherinforecyclebin.aspx.360d3660" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<!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>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    
    <script language="javascript" src="../../window/jquery/jquery.min.js" type="text/javascript"></script>
    <script language="javascript" src="../../window/jquery-ui/jquery-ui.min.js" type="text/javascript"></script>
    <script language="javascript" src="../../window/message/jquery.message.js" type="text/javascript"></script>
    <script language="javascript" src="../../window/checked/jquery.checked.js" type="text/javascript"></script>
    <script language="javascript" src="../../window/maxInput/jquery.maxInput.js" type="text/javascript"></script>
    <script language="javascript" src="../../window/My97DatePicker/WdatePicker.js" type="text/javascript"></script>

    <script language="javascript" src="../../window/TableRowFocus/jquery.RowFocus.js" type="text/javascript"></script>

    <link href="../../window/_css/jquery-ui.custom.css" rel="stylesheet" type="text/css" />
    <link href="../../window/_css/window.css" rel="stylesheet" type="text/css" />
    <link href="../../css/listpage.css" rel="stylesheet" type="text/css" />
    <title>学校教师列表</title>

    <script language="javascript" type="text/javascript">

    $(function(){
    
        
        $("#chk_all").checkedAll("ViewData",0);
        $("#chk_Rev").checkedRev("ViewData",0);
        
        $("#ViewData").RowFocus();
          if(isLook){
            $("#LookPanel").dialog({
                title:"查看教师信息",
                width:600,
                height:500
                });
        }
    });
    var isLook = false;
    function ShowLook(){
        isLook = true;
    }
    function validSelect(){
        var trs = $("#ViewData").find(":checked");

        if(trs.size()==0){
            message("请选择！",1);
            return false;
        }
        return true;
    }
    </script>

    <style type="text/css">
<!--
.center {
	text-align: center;
}

-->
</style>
</head>
<body>
    <form id="form2" runat="server">
    
       <div class=" ui-widget-header " style="padding: .4em 1em; margin:2px">
            <span class="ui-dialog-title" >教师基本信息|回收站</span>
   
        </div>

        <div class="panel">
            <asp:Button ID="btnBack" runat="server" CssClass="addnew" OnClick="btnBack_Click"
                Text="还原" OnClientClick="return validSelect()" />&nbsp;
            <asp:Button ID="btnDelete" runat="server" CssClass="delete" OnClick="lbDelete_Click"
                OnClientClick="if(confirm('确认删除？')){return validSelect(); }else{return false;}" Text="删除" />&nbsp;
                
            <asp:Button ID="btnLook" runat="server" Text="查看" CssClass="btn" OnClick="btnLook_Click" OnClientClick="return validSelect()"/>&nbsp;
            <asp:Button ID="lbrs" runat="server" CssClass="btn" Text="刷新" OnClick="btnRefresh_Click" />

            <input id="chk_all" name="chk_all" type="checkbox"  />全选 <a id="chk_Rev"
                href="javascript:void(0)">反 选</a>
        </div>
        <asp:GridView ID="ViewData" runat="server" AutoGenerateColumns="False" BackColor="White"
            CssClass="gv" Width="100%">
            <RowStyle CssClass="gvRow" />
            <HeaderStyle CssClass="gvHeader" />
            <AlternatingRowStyle CssClass="gvAlternatingRow" />
            <EmptyDataRowStyle CssClass="gvEmpty" />
            <Columns>
  
                <asp:TemplateField HeaderText="选择">
                    <ItemTemplate>
                        <input id="cbselect" runat="server" type="checkbox" value='<%#Eval("tb_id") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                
                <asp:BoundField DataField="sl_name" HeaderText="所在学校" />
                <asp:BoundField DataField="tb_name" HeaderText="教师姓名" />
                <asp:TemplateField HeaderText="性别">
                    <ItemTemplate>
                        <asp:Label ID="labSex" runat="server" Text='<%# Convert.ToBoolean(Eval("tb_sex"))?"男":"女" %>'></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:BoundField DataField="tb_birth" HeaderText="出生年月" DataFormatString="{0:yyyy-MM-dd}" />
                <asp:BoundField DataField="tb_nation" HeaderText="民族" />
                <asp:BoundField DataField="tb_idNumber" HeaderText="身份证号码" />
                <asp:BoundField DataField="de_name" HeaderText="入职学历" />
                <asp:BoundField DataField="tb_eg_school" HeaderText="入职毕业学校" />
                <asp:BoundField DataField="final_deName" HeaderText="最终学历" />
                <asp:BoundField DataField="tb_fg_school" HeaderText="最终毕业学校" />
                <asp:BoundField DataField="mr_name" HeaderText="入职所学专业" />
                <asp:BoundField DataField="mr_name2" HeaderText="入职所学专业(2)" />
                <asp:BoundField DataField="fmr_name" HeaderText="最终所学专业" />
                <asp:BoundField DataField="tb_workTime" HeaderText="参加工作时间" />
                <asp:BoundField DataField="te_name" HeaderText="职称" />
                <asp:TemplateField HeaderText="状态">
                    <ItemTemplate>
                        <asp:Label ID="labState" runat="server"><%# 
                                                                (RecordDataService.TeacherStateType)Enum.Parse(typeof(RecordDataService.TeacherStateType), Eval("tb_state").ToString()) == RecordDataService.TeacherStateType.OnTheJob ? "在职" : (RecordDataService.TeacherStateType)Enum.Parse(typeof(RecordDataService.TeacherStateType), Eval("tb_state").ToString()) == RecordDataService.TeacherStateType.LeaveOffice ? "离职" : (RecordDataService.TeacherStateType)Enum.Parse(typeof(RecordDataService.TeacherStateType), Eval("tb_state").ToString()) == RecordDataService.TeacherStateType.Retirement ? "退休" : "未设置"
                                                                %></asp:Label>
                    </ItemTemplate>
                </asp:TemplateField>
              <asp:BoundField DataField="tb_rdate" HeaderText="删除日期" />
                
            </Columns>
            <EmptyDataTemplate>
                没有任何数据！
            </EmptyDataTemplate>
        </asp:GridView>
        <br />
        <webdiyer:AspNetPager ID="PagerButtom" runat="server" AlwaysShow="True" CssClass="paginator"
            CustomInfoHTML="当前第%CurrentPageIndex%/%PageCount%页 共%RecordCount%条记录 每页%PageSize%条 "
            CustomInfoSectionWidth="" FirstPageText="首页" HorizontalAlign="Right" LastPageText="尾页"
            LayoutType="Table" MoreButtonsClass="" NextPageText="下一页" NumericButtonCount="5"
            OnPageChanged="Pager_PageChanged" PageIndexBoxClass="cpb"  PrevPageText="上一页"
            ShowCustomInfoSection="Right" ShowPageIndexBox="Always" SubmitButtonText="转到">
        </webdiyer:AspNetPager>
         <div id="LookPanel" style="display: none;">
            <table border="0" cellpadding="1" cellspacing="0"  >
                <tr>
                    <td style="width: 152px">
                        所在学校：</td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_school' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_name">
                            教师姓名：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_name' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_sex">
                            性别：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_sex' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_birth">
                            出生年月：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_birth' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_nation">
                            民族：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_nation' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_idNumber">
                            身份证号码：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_idNumber' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px; height: 18px;">
                        <label for="txttb_entryDegree">
                            入职学历：</label></td>
                    <td style="width: 276px; height: 18px;">
                        <asp:Label ID='Labtb_entryDegree' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_eg_school">
                            入职毕业学校：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_eg_school' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_FinalDegree">
                            最终学历：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_FinalDegree' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_fg_school">
                            最终毕业学校：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_fg_school' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_e_major">
                            入职所学专业：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_e_major' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_e_major2">
                            入职所学专业（2）：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_e_major2' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_f_major">
                            最终所学专业：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_f_major' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_workTime">
                            参加工作时间：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_workTime' runat="server" EnableViewState="False" ></asp:Label>
                        年*</td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_title">
                            职称：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_title' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_state">
                            状态：</label></td>
                    <td style="width: 276px">
                        <asp:Label ID='Labtb_state' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
                <tr>
                    <td style="width: 152px; height: 70px">
                        备注：</td>
                    <td style="width: 276px; height: 70px">
                        <asp:Label ID='Labtb_note' runat="server" EnableViewState="False" ></asp:Label></td>
                </tr>
            </table>
        </div>
        <asp:HiddenField ID="hfSchool" runat="server" />
    </form>
</body>
</html>
<!--powered by 25175-->
