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

📄 agtmngedumod.jsp

📁 培训考试系统代码
💻 JSP
字号:
<%@ page contentType="text/html;charset=gbk"%> 

<%@ include file="/agt/public/jsp/top.jsp" %>

<title>修改教育经历</title>
<script src="/public/scripts/cal.js"></script>

<form name="AgtmngStaffForm" method="post" action="/AgtmngStaffAction.do">
                    <table width="539" height="15" border="0" cellpadding="0" cellspacing="0">
                      <tr> 
                        <td height="35" class="12"><input name="staffno" type=hidden value=<%= request.getParameter("staffno")%>> 
                          <input name="operatorflag" type=hidden > <input type="hidden" name="eduid" value=<%= request.getParameter("eduid")%>>
        &nbsp;&nbsp; <a href="/AgtmngStaffAction.do?operatorflag=AGTMNG_QUERY_BASE_NEXTMOD&staffno=<%=request.getParameter("staffno")%>" class="lnk-cs3">[基本档案]</a>&nbsp;&nbsp;&nbsp;<a href="/AgtmngStaffAction.do?operatorflag=AGTMNG_QUERY_EDULIST&staffno=<%=request.getParameter("staffno")%>" class="lnk-cs3"> 
        [教育经历列表]</a>&nbsp;&nbsp;&nbsp;<a href="/AgtmngStaffAction.do?operatorflag=AGTMNG_QUERY_WORKLIST&staffno=<%=request.getParameter("staffno")%>" class="lnk-cs3">[工作经历列表]</a> </td>
                      </tr>
                    </table>
                    <table width="539" border="0" cellpadding="3" cellspacing="1" class="table-cs1">

    <tr> 

      <td width="100" height="25" align="center" class="td-cs1">起始时间*</td>

      <td width="200" class="td-cs2"> 

        <input name="edustartdate" class="input1" onClick="javascript:calDate(this);"  onKeyPress="javascript:calDate(this);" value="<%= request.getAttribute("edustartdate")%>" size="-1"

       readonly font>

        </td>

      <td width="100" align="center" class="td-cs1">学 校*</td>

      <td width="200" class="td-cs2"> 

        <input name="eduschool" class="input1" value="<%= request.getAttribute("eduschool")%>" size="-1" maxlength=25 font>

        </td>

    </tr>

    <tr> 

      <td height="25" align="center" class="td-cs1">结束时间*</td>

      <td class="td-cs2">
<input name="eduenddate" class="input1" onClick="javascript:calDate(this);"  onKeyPress="javascript:calDate(this);" value=<%= request.getAttribute("eduenddate")%> size="-1"  readonly></td>

      <td align="center" class="td-cs1"> 学 历</td>

      <td class="td-cs2">

<input name="eduduty" class="input1" value="<%=request.getAttribute("eduduty")%>" size="-1" maxlength=5 font></td>

    </tr>

    <tr> 

      <td height="25" align="center" class="td-cs1">所获荣誉</td>

      <td colspan="3" class="td-cs2">

<textarea name="eduhonor" cols="55" rows="4" class="remark"><%=request.getAttribute("eduhonor")%></textarea></td>

    </tr>

    <tr> 

      <td height="25" align="center" class="td-cs1">所受处分</td>

      <td colspan="3" class="td-cs2">

<textarea name="edupunish" cols="55" rows="4" class="remark"><%=request.getAttribute("edupunish")%></textarea></td>

    </tr>

    <tr> 

      <td height="25" align="center" class="td-cs1">备  注</td>

      <td colspan="3" class="td-cs2">

<textarea name="edudetail" cols="55" rows="4" class="remark"><%=request.getAttribute("edudetail")%></textarea></td>

    </tr>

  </table>

  <table width="539" height="30" border="0" cellpadding="0" cellspacing="0">

    <tr>

      <td height="35" align="center">

<table width="55%" height="25" border="0" cellpadding="0" cellspacing="0">

          <tr> 

            <td width="28%">
			<input name="save" type="image" onclick="doSubmit('AGTMNG_MOD_EDU');return false;" src="/agt/public/images/save.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'">
            </td>

            <td width="65%"><input name="reset" type="image" onclick="AgtmngStaffForm.reset();return false;" src="/agt/public/images/reset.gif" width="82" height="22" border="0" onmouseover="this.src='/agt/public/images/'+ this.name + '_2.gif';" onmouseout="this.src='/agt/public/images/'+ this.name + '.gif'"></td>

          </tr>

        </table>

      </td>

    </tr>

  </table>

  </form>

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

function CheckAvailable(){





	if (document.AgtmngStaffForm.edustartdate.value == ""){

      alert("请输入开始时间");

	  document.AgtmngStaffForm.edustartdate.focus();

      return false;

	 }

	 else if (document.AgtmngStaffForm.eduenddate.value == ""){

      alert("请输入结束时间");

	  document.AgtmngStaffForm.eduenddate.focus();

      return false;

	 }

	 else if (document.AgtmngStaffForm.eduenddate.value < document.AgtmngStaffForm.edustartdate.value){

      alert("结束时间必须大于开始时间");

	  document.AgtmngStaffForm.eduenddate.focus();

      return false;

	 }

	  else if (document.AgtmngStaffForm.eduschool.value == ""){

      alert("请输入学校");

	  document.AgtmngStaffForm.eduschool.focus();

      return false;

	 }

	 else if ((document.AgtmngStaffForm.eduhonor.value != "")&&

	         (document.AgtmngStaffForm.eduhonor.value.length > 50)){

      alert("荣誉内容应不多于50个字符,您的输入超长,请删减");
      
	  document.AgtmngStaffForm.eduhonor.focus();

	  return false;

	 }

	 else if ((document.AgtmngStaffForm.edupunish.value != "")&&

	         (document.AgtmngStaffForm.edupunish.value.length > 50)){

      alert("处分内容应不多于50个字符,您的输入超长,请删减");

	  document.AgtmngStaffForm.edupunish.focus();

	  return false;

	 }

	 else if ((document.AgtmngStaffForm.edudetail.value != "")&&

	         (document.AgtmngStaffForm.edudetail.value.length > 50)){

      alert("备注内容应不多于50个字符,您的输入超长,请删减");

	  document.AgtmngStaffForm.edudetail.focus();

	  return false;

	 }

      else

     {

        return true;

     }

}



function doSubmit(ope){

    if (CheckAvailable()) 

    {

	  document.AgtmngStaffForm.operatorflag.value = ope;

	  document.AgtmngStaffForm.submit();

	  return true;

	}

	else return false ;

}

</script>

<%@ include file="/agt/public/jsp/bot.jsp" %>  

⌨️ 快捷键说明

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