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

📄 jcy_ry_new.jsp

📁 本系统的使用可以将工作的部分流程使用计算机的办公自动化处理
💻 JSP
📖 第 1 页 / 共 3 页
字号:
	return "";
}
function rightTrim(text)
{
	for(var i = text.length -1;i >= 0;i--)
	  if(text.charAt(i) != " ")
		return text.substring(0,i + 1);
	return "";
}
function trim(text)
{
	return leftTrim(rightTrim(text));
}
</script>
<title>公务员信息(新增)</title>
<meta http-equiv="Content-Type" content="text/html; charset=GBK">
<link rel="stylesheet" href="../style.css" type="text/css">
<!--modify: yhy-->
	<link rel="stylesheet" href="../lib/main.css" type="text/css">	
	<script language="javascript" src="../lib/check.js"></script>
	<script language="JavaScript" src="../lib/date/GetDate.js"></script>
	<script language="JavaScript" src="../lib/util.js"></script>
<!-- modify end -->
<!--modify: yhy-->	
<SCRIPT LANGUAGE="JavaScript">
	function checkJsrqs(inval){
	    if(inval==""){
		  return true;
		}
	    var ret = check_date(inval,"D");
		if(ret==""){
		  ret = checkStartEndDate(inval,document.getElementById("ry_enddate").value);
		  if(ret == -1||ret == -2){
            	  alert("日期格式不对!");
	     	return false;
	      }
          if(ret == -3){
		   document.getElementById("ry_startdate").value="";
		   document.getElementById("ry_enddate").value="";

		    alert("开始日期不得大于结束日期!");
		    return false;
	      }
	      else{
		   return true;
		  }
		}
		else{
  		  ret="加入日期 起:"+ret;
		  alert(ret);
		  return false;
		}
        
          }

	function checkJsrqz(inval){
	    if(inval==""){
		  return true;
		}
	    var ret = check_date(inval,"D");
		if(ret==""){
		  ret = checkStartEndDate(document.getElementById("ry_startdate").value,inval);
		  if(ret == -1||ret == -2){
            	  alert("日期格式不对!");
	     	return false;
	      }
          if(ret == -3){
          		document.getElementById("ry_startdate").value="";
          		document.getElementById("ry_enddate").value="";
		    alert("开始日期不得大于结束日期!");
		    return false;
	      }
	      else{
		   return true;
		  }
		}
		else{
  		  ret="加入日期 止:"+ret;
		  alert(ret);
		  return false;
		}
	  }

function checkSj_only(inval){
	    if(inval==""){
		  return true;
		}
	    var ret = check_date(inval,"D");
		if(ret == "")
		  return true;
        else
	   {
		  ret="新增日期 起:"+ret;
		  alert(ret);
		  return false;
        }
	  }
	  
	  
//日期结束
</SCRIPT>
<!--modify end-->
</head>

<body bgcolor="#FFFFFF" text="#000000" leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td align="center"> <br>
      <table width="800" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="14" align="left" background="../images/caozuo01.gif">&nbsp;</td>
          <td background=".././images/caozuo02.gif" align="center" width="771"><b><font color="#FF6600" size="3">公务员信息(新增)</font></b>
		  </td>
          <td width="15"><img src=".././images/caozuo03.gif" width="15" height="84"></td>
        </tr>
      </table>
      <table width="800" border="0" cellspacing="0" cellpadding="0" bgcolor="#EEF9FF">
        <tr> 
          <td width="15" background=".././images/caozuo04.gif"><img src=".././images/caozuo04.gif" width="15" height="6"></td>
          <td align="center"> 
			<form name="form1" method="post" action="jcy_ry_submit.jsp" target="submitx" onSubmit="return(f_newCheck())">
            <table width="750" cellspacing="1" cellpadding="0" bgcolor="#000099">
              <tr> 
                <td> 
			  <table align=center bordercolordark=#ffffff bordercolorlight=#666699 
cellpadding=0 cellspacing=1 width=100% bgcolor="#000099">
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">姓名<font color="#FF0000">*</font></font></b></td>
                        <td width="90"><b><font color="#105781"> 
                          <input name="username" type="text" maxlength="20" style="width:80px">
                          </font></b></td>
                        <td width="75" align="center"><b><font color="#105781">身份证号<font color="#FF0000">*</font></font></b></td>
                        <td width="138"> <input name="sfzh" type="text" size="19" maxlength="18">
                        </td>
                        <td width="100" align="center"><b><font color="#105781">性别<font color="#FF0000">* 
                          </font></font></b></td>
                        <td width="143" align="center"> <%=std.popRadioWithSelect("select dm, mc from dm_mx where dmm = '0004'", "01", "xb", 2)%> </td>
                        <td width="75" height="102" rowspan="3" align="center">照片</td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">用户名<font color="#FF0000">*</font></font></b></td>
                        <td colspan="3"><input name="usercode" type="text" maxlength="20" style="width:80px">
                        </td>
                        <td align="center"><b><font color="#105781">民族<font color="#FF0000">* 
                          </font></font></b></td>
                        <td><select name="mz" style="width:80px">
						<option selected value="">-请选择-</option>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '0006' ","00")%> </select>
                        </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">出生日期<font color="#FF0000">*</font></font></b></td>
                        <td colspan="3"><input type=text name=year size=5 value=19 maxlength=4> 
                          <b><font color="#105781">年</font></b> <select name=month>
                            <option value=01 selected>01</option>
                            <option value=02>02</option>
                            <option value=03>03</option>
                            <option value=04>04</option>
                            <option value=05>05</option>
                            <option value=06>06</option>
                            <option value=07>07</option>
                            <option value=08>08</option>
                            <option value=09>09</option>
                            <option value=10>10</option>
                            <option value=11>11</option>
                            <option value=12>12</option>
                          </select> <b><font color="#105781">月</font></b> <input type=text name=day size=2 maxlength=2>
                          <b><font color="#105781">日</font></b> </td>
                        <td align="center"><b><font color="#105781">政治面目<font color="#FF0000">* 
                          </font></font></b></td>
                        <td><select name="zzmm" style="width:80px">
						<option selected value="">-请选择-</option>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '5004' ","00")%> </select>
                        </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">文化程度<font color="#FF0000">*</font></font></b></td>
                        <td width="88"> 
                          <select name="whcd" style="width:90px">
						  <option selected value="">-请选择-</option>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '5005' ","00")%> </select>
                        </td>
                        <td align="center"><b><font color="#105781">所学专业<font color="#FF0000">*</font></font></b></td>
                        <td> <input name="sxzy" type="text" size="18" maxlength="100" style="width:80px">
                        </td>
                        <td width="111" align="center"><b><font color="#105781">是否街乡公务员<font color="#FF0000">*</font></font></b></td>
                        <td colspan="2"><b><b><font color="#105781"> 
                          <select name="sfjx" style="width:80px">
						  <option selected value="">-请选择-</option>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '5007' ","00")%> 
                          </select>
                          </font></b></b> </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">所属区县<font color="#FF0000">*</font></font></b></td>
                        <td colspan="3"> <b><b><b><font color="#105781"> 
                          <%if (curruserszqx.equals("001")){%>
                          <select id="qx" name="qx" onchange="javascript:changeitem(document.form1);"  style="width:90px">
                            <OPTION selected value="">-请选择-</OPTION>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '0001' ","00")%> 
                          </select>
                          <%} else {
						sun.jdbc.rowset.CachedRowSet crsqx = new sun.jdbc.rowset.CachedRowSet();
						crsqx = std.getResultBySelect("select dm, mc from dm_mx where dmm = '0001' and dm = '"+curruserszqx+"'");
						crsqx.next();
						String qxdm = crsqx.getString(1);
						String qxmc = crsqx.getString(2);
					%>
                          <select id="qx" name="qx" onchange="javascript:changeitem(document.form1);" style="width:90px">
                            <OPTION selected value="<%=qxdm%>"><%=qxmc%></OPTION>
                          </select>
                          <%}%>
                          </font></b></b></b></td>
                        <td align="center"><b><font color="#105781">胸牌号码</font></b></td>
                        <td colspan="2"><b><font color="#105781"> 
                          <input name="xphm" type="text" maxlength="9" style="width:80px">
                          </font></b> </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">所属街道</font></b></td>
                        <td colspan="3"><b><b><b><font color="#105781"> 
                          <%if (curruserszqx.equals("001")){%>
                          <select id="jd" name="jd">
                            <OPTION selected value="">请选择</OPTION>
                          </select>
                          <%} else {%>
                          <select name="jd">
                            <OPTION selected value="">请选择</OPTION>
                            <%=std.popListWithSelect("select dm, mc from dm_mx where dmm = '0002' and dm like '"+curruserszqx+"%'","00")%> 
                          </select>
                          <%}%>
                          </font></b></b></b> </td>
                        <td align="center"><b><font color="#105781">公务证件号码</font></b></td>
                        <td colspan="2"><b><font color="#105781"> 
                          <input name="zjhm" type="text" maxlength="9" style="width:80px">
                          </font></b> </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">工作单位<font color="#FF0000">*</font></font></b></td>
                        <td colspan="3"> <select id="dwdm" name="dwdm" onchange="javascript:changeitem2(document.form1)" style="width:170px">
                            <OPTION selected value="">-请选择-</OPTION>
                          </select>
                        </td>
                        <td align="center"><b><font color="#105781">发证机关<font color="#FF0000">*</font></font></b></td>
                        <td colspan="2"> <input name="fzjg" type="text" value="北京市劳动和社会保障局" size="24" maxlength="40">
                        </td>
                      </tr>
                      <tr bgcolor="#EEF9FF"> 
                        <td width="95" height="30" align="center"><b><font color="#105781">所属组别</font></b></td>
                        <td colspan="3"><b><b><b><font color="#105781"> 
                          <select id="zbdm" name="zbdm" maxlength="20" style="width:170px">
                            <OPTION selected value="">-请选择-</OPTION>
                          </select>

⌨️ 快捷键说明

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