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

📄 addassessstep1.jsp

📁 帮助文档打开后可以阅读资源
💻 JSP
字号:
<%@ page contentType="text/html;charset=gb2312" %>
<%@ include file="../incoming/Common.jsp"%>
<%@ include file="../Check.jsp"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Cache-Control" CONTENT="no-cache">
<title><%=title%></title>
<link rel="stylesheet" href="../css/style.css" type="text/css" media="screen">
<link rel="stylesheet" href="../css/calendar-win2k-1.css" type="text/css" media="screen">
<script type="text/javascript" src="../js/calendar.js"></script>
<script type="text/javascript" src="../js/calendar-en.js"></script>
<script type="text/javascript" src="../js/calendar-setup.js"></script>
<script Language="JavaScript">
function check_input(theForm)
{
  if (theForm.employeeid.value == "")
  {
    alert("请选择员工编号。");
    theForm.employeeid.focus();
    return (false);
  }  
  if (theForm.getdate.value == "")
  {
    alert("请选择取得日期。");
    theForm.getdate.focus();
    return (false);
  }
  if (theForm.startdate.value == "")
  {
    alert("请输入开始日期。");
    theForm.startdate.focus();
    return (false);
  }
  if (theForm.enddate.value == "")
  {
    alert("请输入结束日期。");
    theForm.enddate.focus();
    return (false);
  }  
  if (theForm.department.value == "")
  {
    alert("请输入聘用单位。");
    theForm.department.focus();
    return (false);
  }
}
</script>
</head>
<%@ include file="../incoming/Header.jsp"%>
<table width="780" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="120" valign="top" background="../images/in_left_bg.gif"><%@ include file="AssessLeft.jsp"%></td>
    <td width="660" align="top">
	<p align="center" class="title1">添加职称评定</p>
	 <form name="form1" method="post"  action="AddAssessStep2.jsp" onsubmit="return check_input(this)">
	<table width="640" height="414" border="1" align="center" cellpadding="3" cellspacing="0" bordercolor="#CCCCCC">
      <tr>
        <td height="33"><div align="right">员工编号:</div></td>
        <td><select name="employeeid" size="1" id="employeeid">
          <%
			Vector listemployee = Employee.ListAll();
			for(int i=0;i<listemployee.size();i++) 
			{
				Employee employee = (Employee)listemployee.elementAt(i);
				%>
          <option value="<%=employee.getEmployeeID()%>"><%=employee.getEmployeeID()%>-<%=employee.getUserName()%></option>
          <%
			}%>
        </select>
    *</td> 
      </tr>
      <tr>
        <td width="147" height="33"><div align="right">职称:</div></td>
        <td width="475"><select name="position" id="position">
          <option value="助理工程师" selected>助理工程师</option>
          <option value="工程师">工程师</option>
          <option value="高级工程师">高级工程师</option>
          <option value="助理会计师">助理会计师</option>
          <option value="会计师">会计师</option>
          <option value="注册会计师">注册会计师</option>
          <option value="助理经济师">助理经济师</option>
          <option value="经济师">经济师</option>
          <option value="高级经济师">高级经济师</option>
          <option value="其他">其他</option>
        </select>
          *</td>
        </tr>
      <tr>
        <td height="33"><div align="right"> 取得日期: </div></td>
        <td><input name="getdate" type="text"  class="data" id="getdate" value="<%=DataConvert.getStringDate()%>" size="10" maxlength="8" readonly="true">
            <input name="get" type="button" id="get" value="...">
    *</td>
      </tr>
      <tr>
        <td height="33"><div align="right"> 取得方式 : </div></td>
        <td><select name="gettype" id="gettype">
            <option value="评定" selected>评定</option>
            <option value="考试">考试</option>
          </select>
    *</td>
      </tr>
      <tr>
        <td height="33"><div align="right">聘用专业技术职务

 : </div></td>
        <td><select name="duty" id="duty">
          <option value="工人" selected>工人</option>
          <option value="职员">职员</option>
          <option value="领班">领班</option>
          <option value="主管">主管</option>
          <option value="副主任">副主任</option>
          <option value="主任">主任</option>
          <option value="副经理">副经理</option>
          <option value="经理">经理</option>
          <option value="总经理">总经理</option>
          <option value="其他">其他</option>
        </select>
    *</td>
      </tr>
      <tr>
        <td height="33"><div align="right"> 聘用起始日期 : </div></td>
        <td><input name="startdate" type="text"  class="data" id="startdate" value="<%=DataConvert.getStringDate()%>" size="10" maxlength="8" readonly="true">
            <input name="start" type="button" id="start" value="...">
    *</td>
      </tr>
      <tr>
        <td height="33"><div align="right">聘用结束日期

:</div></td>
        <td><input name="enddate" type="text"  class="data" id="enddate" value="<%=DataConvert.getStringDate()%>" size="10" maxlength="8" readonly="true">
            <input name="end" type="button" id="end" value="...">
            *      </td>
        </tr>
      <tr>
        <td height="33"><div align="right"> 聘用单位 : </div></td>
        <td><input name="department" type="text"  class="data" id="department" size="30" maxlength="30">
          *</td>
      </tr>
      <tr>
        <td height="33"><div align="right"> 职称英语 : </div></td>
        <td><select name="english" id="english">
            <option value="差">差</option>
            <option value="中">中</option>
            <option value="良" selected>良</option>
            <option value="优">优</option>
                  </select>
    *</td>
      </tr>
      <tr>
        <td height="33"><div align="right"> 职称计算机 : </div></td>
        <td>          
		<select name="computer" id="computer">
            <option value="差">差</option>
            <option value="中">中</option>
            <option value="良" selected>良</option>
            <option value="优">优</option>
          </select>
		*</td>
      </tr>
      <tr>
        <td height="33"><div align="right">备注:</div></td>
        <td><textarea name="remark" cols="60" rows="4" id="remark"></textarea></td>
      </tr>
      <tr>
        <td height="49" colspan="2"><div align="center">
          <input type="Submit" name="Submit" value="添加">
          <input type="reset" name="Submit2" value="取消">
        </div></td>
      </tr>
    </table>	
	</form>    
    </td>
  </tr>
</table>
<%@ include file="../incoming/Footer.jsp"%>
<script language="JavaScript" type="text/JavaScript">
	Calendar.setup(
	{
      inputField  : "getdate",         // ID of the input field
      ifFormat    : "%Y-%m-%d",    // the date format
      button      : "get"       // ID of the button
    }
	);	
	Calendar.setup(
	{
      inputField  : "startdate",         // ID of the input field
      ifFormat    : "%Y-%m-%d",    // the date format
      button      : "start"       // ID of the button
    }
	);	
	Calendar.setup(
	{
      inputField  : "enddate",         // ID of the input field
      ifFormat    : "%Y-%m-%d",    // the date format
      button      : "end"       // ID of the button
    }
	);		
</script>
</body>
</html>

⌨️ 快捷键说明

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