<%@ page language="C#" autoeventwireup="true" inherits="_edu_teacher_J1_ShoolTeacher, App_Web_j1_shoolteacher.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(){
        $("#insertPanel").dialog({
                autoOpen:false,
                width:600,
                height:620
        });
        
        $("#btnAdd").click(function(){
           var panel =  $("#insertPanel");
           panel.find(":text").val("");
           panel.find("select").val("");
           
           panel.find("#rblSex_0").attr("checked",true);
           panel.find("#rblState_0").attr("checked",true);
   
           $("#txtSchool").val($("#hfSchool").val());
           $("#hfEditID").val("");
           panel.dialog({ title: '录入教师基本信息' });
           panel.dialog("open");
        });
        
        if(isEdit){
          $("#insertPanel").dialog({ title: '编辑' });
          $("#insertPanel").dialog("open");
        }
        $("#chk_all").checkedAll("ViewData",0);
        $("#chk_Rev").checkedRev("ViewData",0);
        
        $("#ViewData").RowFocus();
        $("#txttb_Note").maxInput(255,"#noteCount");
        
        if(isLook){
            $("#LookPanel").dialog({
                title:"查看教师信息",
                width:600,
                height:500
                });
        }
        $("#btnQueryPanel").click(function(){
            $("#queryPanel").slideToggle();
        });
        
    });
  
    var isEdit = false;
    var isLook = false;
    function ShowEdit(){
        isEdit = true;
    }
    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>
            <asp:Label ID="labTitle" runat="server" CssClass="ui-dialog-title"></asp:Label>
        </div>
        
        <div id="queryPanel" class="panel"  style="width:99%;overflow:auto">
            <table>
                <tr>
                    <td style="width: 113px">
                        任教学校</td>
                    <td style="width: 123px">
                        教师姓名</td>
                    <td style="width: 102px">
                        性别</td>
                    <td style="width: 113px">
                        &nbsp;出生年月</td>
                    <td style="width: 97px">
                        身份证号码(模糊)</td>
                    <td style="width: 138px">
                        入职学历</td>
                    <td style="width: 188px">
                        入职毕业学校</td>
                </tr>
                <tr>
                    <td style="width: 113px">
                        &nbsp;<asp:Label ID="labShoolName" runat="server" ></asp:Label></td>
                    <td style="width: 123px">
                        <asp:DropDownList ID="ddlQueryTeacher" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                    <td style="width: 102px">
                        <asp:DropDownList ID="ddlQuerySex" runat="server">
                            <asp:ListItem value="">选择</asp:ListItem>
                            <asp:ListItem Value="0">女</asp:ListItem>
                            <asp:ListItem Value="1">男</asp:ListItem>
                        </asp:DropDownList></td>
                    <td style="width: 113px">
                        <asp:TextBox ID="txtQuerybirth" runat="server" Width="101px" onclick="WdatePicker()" ></asp:TextBox></td>
                    <td style="width: 97px">
                        <asp:TextBox ID="txtQueryidNumber" runat="server" Width="93px"></asp:TextBox></td>
                    <td style="width: 138px"><asp:DropDownList ID="ddlQueryStartDegree" runat="server" Width="92px">
                    </asp:DropDownList></td>
                    <td style="width: 188px">
                        <asp:TextBox ID="txtQueryStartDegreeSchool" runat="server" Width="152px"></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 113px">
                        最终学历</td>
                    <td style="width: 123px">
                        最终毕业学校</td>
                    <td style="width: 102px">
                        入职所学专业</td>
                    <td style="width: 113px">
                        入职所学专业(2)</td>
                    <td style="width: 97px">
                        最终所学专业</td>
                    <td style="width: 138px">
                        参加工作时间</td>
                    <td style="width: 188px">
                        录入日期</td>
                </tr>
                <tr>
                    <td style="width: 113px; height: 26px;"><asp:DropDownList ID="ddlQueryEndDegree" runat="server" Width="106px">
                    </asp:DropDownList></td>
                    <td style="width: 123px; height: 26px;">
                        <asp:TextBox ID="txtQueryEndGSchool" runat="server" Width="108px"></asp:TextBox></td>
                    <td style="width: 102px; height: 26px;"><asp:DropDownList ID="ddlQueryStartMajor1" runat="server" Width="98px">
                    </asp:DropDownList></td>
                    <td style="width: 113px; height: 26px;"><asp:DropDownList ID="ddlQueryStartMajor2" runat="server" Width="109px">
                    </asp:DropDownList></td>
                    <td style="width: 97px; height: 26px;"><asp:DropDownList ID="ddlQueryEndMajor" runat="server" Width="98px">
                    </asp:DropDownList></td>
                    <td style="width: 138px; height: 26px;">
                        <asp:DropDownList ID="ddlQueryWorkTimeExp" runat="server" Width="37px">
                            <asp:ListItem>=</asp:ListItem>
                            <asp:ListItem>&gt;</asp:ListItem>
                            <asp:ListItem>&lt;</asp:ListItem>
                        </asp:DropDownList>
                        <asp:TextBox ID="txtQueryWorkTime" runat="server" Width="86px"></asp:TextBox></td>
                    <td style="width: 188px; height: 26px;">
                        <asp:TextBox ID="txtQueryIDate" runat="server" Width="120px" onFocus="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',disabledDates:['%y-%M-%d {%H-1}\:..\:..','%y-%M-%d {%H+1}\:..\:..']})" ></asp:TextBox></td>
                </tr>
                <tr>
                    <td style="width: 113px">
                        教师状态</td>
                    <td style="width: 123px">
                        </td>
                    <td style="width: 102px">
                    </td>
                    <td style="width: 113px">
                        职称</td>
                    <td style="width: 97px">
                    </td>
                    <td style="width: 138px">
                    </td>
                    <td style="width: 188px">
                        </td>
                </tr>
                <tr>
                    <td colspan="3">
                        <asp:RadioButtonList ID="rblQueryState" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem value="" Selected="True">全部</asp:ListItem>
                            <asp:ListItem Value="0">在职</asp:ListItem>
                            <asp:ListItem Value="1">离职</asp:ListItem>
                            <asp:ListItem Value="2">退休</asp:ListItem>
                        </asp:RadioButtonList></td>
                    <td style="width: 113px">
                        <asp:DropDownList ID="ddlQueryTitle" runat="server">
                        </asp:DropDownList></td>
                    <td style="width: 97px">
                        <asp:Button ID="btnClear" runat="server" CssClass="btn" OnClick="btnClear_Click"
                            Text="取消查询" /></td>
                    <td style="width: 138px">
                    <asp:Button id="btnExcal"  runat="server" Text="导出EXCAL" CssClass="btn" ToolTip="查询信息导出EXCAL" OnClick="btnExcal_Click"></asp:Button></td>
                    <td style="width: 188px">
                        <asp:Button ID="btnQuery" runat="server" CssClass="search" Text="查询" OnClick="btnQuery_Click" />&nbsp;
                    </td>
                </tr>
            </table>
       </div>
        
        <div class="panel">
            &nbsp;<input id="btnAdd" class="addnew" type="button" value="添加" />
            <asp:Button ID="btnDelete" runat="server" CssClass="delete" OnClick="lbDelete_Click"
                OnClientClick="if(confirm('确认删除？')){return validSelect(); }else{return false;}"
                Text="删除" />
            <asp:Button ID="lbUpdate" runat="server" CssClass="modify" OnClick="lbUpdate_Click"
                Text="编辑" OnClientClick="return validSelect()" />
            <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" />&nbsp;

            <input id="btnQueryPanel" class="search" type="button" value="查询面板" />
            
            <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_idate" 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="insertPanel" style="display: none;">
            <table border="0" cellpadding="1" cellspacing="0"  >
                <tr>
                    <td style="width: 152px">
                        所在学校：</td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txtSchool" runat="server" Width="150px">
                        </asp:DropDownList></td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtSchool"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator></td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_name">
                            教师姓名：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_name" runat="server" MaxLength="10" Width="144px"></asp:TextBox>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_name" runat="server" ControlToValidate="txttb_name"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_sex">
                            性别：</label></td>
                    <td style="width: 276px">
                        <asp:RadioButtonList ID="rblSex" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="1" Selected="True">男</asp:ListItem>
                            <asp:ListItem Value="0">女</asp:ListItem>
                        </asp:RadioButtonList>
                        
                        
                    </td>
                    <td style="width: 117px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_birth">
                            出生年月：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_birth" runat="server" MaxLength="10"  Width="144px" onclick="WdatePicker()" ></asp:TextBox>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_birth" runat="server" ControlToValidate="txttb_birth"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_nation">
                            民族：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_nation" runat="server" Width="150px">
                            <asp:ListItem Value="">选择</asp:ListItem>
                            <asp:ListItem>汉族</asp:ListItem>
                            <asp:ListItem>蒙古族</asp:ListItem>
                            <asp:ListItem>回族</asp:ListItem>
                            <asp:ListItem>藏族</asp:ListItem>
                            <asp:ListItem>维吾尔族</asp:ListItem>
                            <asp:ListItem>苗族</asp:ListItem>
                            <asp:ListItem>彝族</asp:ListItem>
                            <asp:ListItem>壮族</asp:ListItem>
                            <asp:ListItem>布依族</asp:ListItem>
                            <asp:ListItem>朝鲜族</asp:ListItem>
                            <asp:ListItem>满族</asp:ListItem>
                            <asp:ListItem>侗族</asp:ListItem>
                            <asp:ListItem>瑶族</asp:ListItem>
                            <asp:ListItem>白族</asp:ListItem>
                            <asp:ListItem>土家族</asp:ListItem>
                            <asp:ListItem>哈尼族</asp:ListItem>
                            <asp:ListItem>哈萨克族</asp:ListItem>
                            <asp:ListItem>傣族</asp:ListItem>
                            <asp:ListItem>黎族</asp:ListItem>
                            <asp:ListItem>傈僳族</asp:ListItem>
                            <asp:ListItem>佤族</asp:ListItem>
                            <asp:ListItem>畲族</asp:ListItem>
                            <asp:ListItem>高山族</asp:ListItem>
                            <asp:ListItem>拉祜族</asp:ListItem>
                            <asp:ListItem>水族</asp:ListItem>
                            <asp:ListItem>东乡族</asp:ListItem>
                            <asp:ListItem>纳西族</asp:ListItem>
                            <asp:ListItem>景颇族</asp:ListItem>
                            <asp:ListItem>柯尔克孜族</asp:ListItem>
                            <asp:ListItem>土族</asp:ListItem>
                            <asp:ListItem>达斡尔族</asp:ListItem>
                            <asp:ListItem>仫佬族</asp:ListItem>
                            <asp:ListItem>羌族</asp:ListItem>
                            <asp:ListItem>布朗族</asp:ListItem>
                            <asp:ListItem>撒拉族</asp:ListItem>
                            <asp:ListItem>毛难族</asp:ListItem>
                            <asp:ListItem>仡佬族</asp:ListItem>
                            <asp:ListItem>锡伯族</asp:ListItem>
                            <asp:ListItem>阿昌族</asp:ListItem>
                            <asp:ListItem>普米族</asp:ListItem>
                            <asp:ListItem>塔吉克族</asp:ListItem>
                            <asp:ListItem>怒族</asp:ListItem>
                            <asp:ListItem>乌孜别克族</asp:ListItem>
                            <asp:ListItem>俄罗斯族</asp:ListItem>
                            <asp:ListItem>鄂温克族</asp:ListItem>
                            <asp:ListItem>崩龙族</asp:ListItem>
                            <asp:ListItem>保安族</asp:ListItem>
                            <asp:ListItem>裕固族</asp:ListItem>
                            <asp:ListItem>京族</asp:ListItem>
                            <asp:ListItem>塔塔尔族</asp:ListItem>
                            <asp:ListItem>独龙族</asp:ListItem>
                            <asp:ListItem>鄂伦春族</asp:ListItem>
                            <asp:ListItem>赫哲族</asp:ListItem>
                            <asp:ListItem>门巴族</asp:ListItem>
                            <asp:ListItem>珞巴族</asp:ListItem>
                            <asp:ListItem>基诺族</asp:ListItem>
                            <asp:ListItem>其他族</asp:ListItem>
                            <asp:ListItem>外国血统</asp:ListItem>
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_nation" runat="server" ControlToValidate="txttb_birth"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_idNumber">
                            身份证号码：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_idNumber" runat="server" MaxLength="50" Width="144px"></asp:TextBox>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_idNumber" runat="server" ControlToValidate="txttb_idNumber"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_entryDegree">
                            入职学历：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_entryDegree" runat="server" Width="150px">
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_entryDegree" runat="server" ControlToValidate="txttb_entryDegree"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_eg_school">
                            入职毕业学校：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_eg_school" runat="server" MaxLength="50" Width="144px"></asp:TextBox>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_eg_school" runat="server" ControlToValidate="txttb_eg_school"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_FinalDegree">
                            最终学历：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_FinalDegree" runat="server" Width="150px">
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_FinalDegree" runat="server" ControlToValidate="txttb_FinalDegree"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_fg_school">
                            最终毕业学校：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_fg_school" runat="server" MaxLength="50" Width="144px"></asp:TextBox>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_fg_school" runat="server" ControlToValidate="txttb_fg_school"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_e_major">
                            入职所学专业：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_e_major" runat="server" Width="150px">
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_e_major" runat="server" ControlToValidate="txttb_e_major"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_e_major2">
                            入职所学专业（2）：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_e_major2" runat="server" Width="150px">
                        </asp:DropDownList></td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_e_major2" runat="server" ControlToValidate="txttb_e_major2"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_f_major">
                            最终所学专业：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_f_major" runat="server" Width="150px">
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        <asp:RequiredFieldValidator ID="rfvtb_f_major" runat="server" ControlToValidate="txttb_f_major"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_workTime">
                            参加工作时间：</label></td>
                    <td style="width: 276px">
                        <asp:TextBox ID="txttb_workTime" runat="server" MaxLength="2" Width="144px"></asp:TextBox>年*</td>
                    <td style="width: 117px">
                        <asp:RegularExpressionValidator ID="revtb_workTime" runat="server" ControlToValidate="txttb_workTime"
                            ErrorMessage="无效(数字格式)" ValidationExpression="^\d*$$" ValidationGroup="insert"></asp:RegularExpressionValidator>
                        <asp:RequiredFieldValidator ID="rfvtb_workTime" runat="server" ControlToValidate="txttb_workTime"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_title">
                            职称：</label></td>
                    <td style="width: 276px">
                        <asp:DropDownList ID="txttb_title" runat="server" Width="150px">
                        </asp:DropDownList>*</td>
                    <td style="width: 117px">
                        &nbsp;<asp:RequiredFieldValidator ID="rfvtb_title" runat="server" ControlToValidate="txttb_title"
                            ErrorMessage="必填" ValidationGroup="insert"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px">
                        <label for="txttb_state">
                            状态：</label></td>
                    <td style="width: 276px">
                        <asp:RadioButtonList ID="rblState" runat="server" RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">在职</asp:ListItem>
                            <asp:ListItem Value="1">离职</asp:ListItem>
                            <asp:ListItem Value="2">退休</asp:ListItem>
                        </asp:RadioButtonList></td>
                    <td style="width: 117px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 152px; height: 70px">
                        备注：</td>
                    <td style="width: 276px; height: 70px">
                        <asp:TextBox ID="txttb_Note" runat="server" Height="62px" TextMode="MultiLine" Width="269px"></asp:TextBox></td>
                    <td style="width: 117px; height: 70px">
                        <span id="noteCount">0</span>/255  
                    </td>
                </tr>
                <tr>
                    <td align="center" colspan="3">
                        <asp:Button ID="btnSubmit" runat="server" Text="提交" ValidationGroup="insert" Width="117px" OnClick="btnSubmit_Click" /></td>
                </tr>
            </table>
            <asp:HiddenField ID="hfEditID" runat="server" />
        </div>
         <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-->
