?? jcy_ry_new.jsp
字號:
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>公務(wù)員信息(新增)</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("開始日期不得大于結(jié)束日期!");
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("開始日期不得大于結(jié)束日期!");
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;
}
}
//日期結(jié)束
</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"> </td>
<td background=".././images/caozuo02.gif" align="center" width="771"><b><font color="#FF6600" size="3">公務(wù)員信息(新增)</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">所學(xué)專業(yè)<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">是否街鄉(xiāng)公務(wù)員<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">所屬區(qū)縣<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">公務(wù)證件號碼</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">發(fā)證機關(guān)<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>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -