modifyperson.jsp

来自「java jsp教程」· JSP 代码 · 共 408 行 · 第 1/2 页

JSP
408
字号
    <td align="center">
        <table width="95%" border="1" align="center" cellpadding="1" cellspacing="0" bordercolorlight="#003366" bordercolordark="#DFDFFF">
			<tr>
				<td bgcolor="#A6D0F2" align="center" height="23">修改人员----详细信息</td>
			</tr>
			<tr>
			  <td>
				  <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center" bordercolordark="#DFDFFF" bordercolorlight="#003366" bgcolor="#B3C4DB">
				  	 <tr>
                  <td height="22" colspan="4" align="left" bgcolor="#A6D0F2">帐号信息</td>
                </tr>
                <tr bgcolor="EEF4FF" >
                  <td>登录口令</td>
                  <td width="215"><input type="password" name="Password" class="txt1" maxlength="254"></td>
                  <td width="76">重复口令</td>
                  <td width="184"><input type="password" name="rePassword" class="txt1" maxlength="254"></td>
                </tr>
                <tr bgcolor="EEF4FF">
                  <td>排序号</td>
                  <td><input type="text" class="txt1" name="Sequenceno" maxlength="10" value="<%=curper.getSequenceno()%>"> </td>
                  <td>&nbsp;</td>
                  <td>&nbsp;</td>
                </tr>
                <tr>
                  <td height="22" colspan="4" align="left" bgcolor="#A6D0F2">基本信息</td>
                </tr>
                <tr bgcolor="EEF4FF">
                  <td width="95">中文姓名</td>
                  <td width="215">
                    <input type="text" class="txt1" name="CnName" maxlength="254" value="<%if(curper.getFullName()!=null)out.print(curper.getFullName());%>"> *
				  </td>
                  <td width="76">职务</td>
                  <td width="184"><input name="ryxx003" type="text" class="txt1" value="<%if(personinfo.getPost()!=null)out.print(personinfo.getPost());%>" readonly >
                    <input name="ryxx003Code" type="hidden" class="txt1" value="<%if(personinfo.getPostcode()!=null)out.print(personinfo.getPostcode());%>" readonly >
                    <img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('ryxx003div')"> * </td>
                </tr>
                <tr bgcolor="EEF4FF">
                  <td>是否审计人员</td>
                  <td>
				  	<select name="isaudit" style="width:130">
				  	                  <%
                  	String isauditer=personinfo.getIsauditor();
                  	if(isauditer==null)
                  		isauditer="";
                  %>
  <option value="1" <%if(isauditer.equals("1")){%>selected<%}%>>是</option>
  <option value="0" <%if(isauditer.equals("0")){%>selected<%}%>>否</option>
</select>
* </td>
                  <td>职称</td>
                  <td><input name="ryxx002" type="text" class="txt1" value="<%if(personinfo.getTechPost()!=null)out.print(personinfo.getTechPost());%>" readonly >
                    <input name="ryxx002Code" type="hidden" class="txt1" value="<%if(personinfo.getTechPostcode()!=null)out.print(personinfo.getTechPostcode());%>" readonly >
                    <img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('ryxx002div')"> * </td>
                </tr>
                <tr bgcolor="EEF4FF">
                  <td>性别</td>
                  <%
                  	Integer isex=curper.getSex();
                  	String sex="";
                  	if(isex!=null) 
                  		sex=isex.toString();
                  %>
                  <td><select name="Sex" class="slect1" style="width:130">
                    <option value="1" <%if(sex.equals("1")){%>selected<%}%>>男</option>
                    <option value="2" <%if(sex.equals("2")){%>selected<%}%>>女</option>
                                                                        </select>
* </td>
                  <td>专业结构</td>
                  <td><input name="ryxx004" type="text" class="txt1" value="<%if(personinfo.getMetier()!=null)out.print(personinfo.getMetier());%>" readonly >
                    <input name="ryxx004Code" type="hidden" class="txt1" value="<%if(personinfo.getMetiercode()!=null)out.print(personinfo.getMetiercode());%>" readonly >
                    <img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('ryxx004div')"> *</td>
                </tr>
                <tr bgcolor="EEF4FF">
                  <td>政治面貌</td>
                                    <%
                  	String polit=curper.getPcode();
                  	if(polit==null)
                  		polit="";
                  %>
                  <td><select name="PoliticalStat" class="slect1" style="width:130">
                    <option value="-1" <%if(polit.equals("")){%>selected<%}%>>--------------------</option>
                    <option value = "0" <%if(polit.equals("0")){%>selected<%}%>>中共党员</option>
                    <option value = "1" <%if(polit.equals("1")){%>selected<%}%>>共青团员</option>
                    <option value = "2" <%if(polit.equals("2")){%>selected<%}%>>群众</option>
                    <option value = "3" <%if(polit.equals("3")){%>selected<%}%>>预备党员</option>
                    <option value = "4" <%if(polit.equals("4")){%>selected<%}%>>民建会员</option>
                    <option value = "5" <%if(polit.equals("5")){%>selected<%}%>>民进会员</option>
                  </select>
* </td>
                  <td>学历</td>
                  <td><input name="ryxx001" type="text" class="txt1" value="<%if(personinfo.getStudyExp()!=null)out.print(personinfo.getStudyExp());%>" readonly >
                    <input name="ryxx001Code" type="hidden" class="txt1" value="<%if(personinfo.getStudyExpcode()!=null)out.print(personinfo.getStudyExpcode());%>" readonly >
                    <img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('ryxx001div')"> * </td>
                </tr>
                <tr bgcolor="EEF4FF">
                <td>是否专职</td>
                  <td>
                    <select name="fulltime" class="slect1" style="width:130">
                    <%
                    		String fulltime=personinfo.getIsfulltime();
                  		if(fulltime==null)
	                  		fulltime="1";
                  	%>
	                    <option value = "0" <%if(fulltime.equals("0"))out.print("selected");%>>兼职</option>
	                    <option value = "1" <%if(fulltime.equals("1"))out.print("selected");%>>专职</option>
                    </select>
                    *
                  </td>
                  <td>资格情况</td>
                  <td><input name="ryxx006" type="text" class="txt1" value="<%if(personinfo.getCompetency()!=null)out.print(personinfo.getCompetency());%>" readonly >
                    <input name="ryxx006Code" type="hidden" class="txt1" value="<%if(personinfo.getCompetencycode()!=null)out.print(personinfo.getCompetencycode());%>" readonly >
                    <img src="<%=root%>/images/fuction.gif" width="20" height="15" style="cursor:hand;" onClick="showDiv('ryxx006div')"> * 
                  </td>
                </tr>
                <tr bgcolor="EEF4FF">
                <td>出生日期</td>
                  <td><input name="birthday" type="text" class="txt1" value="<%if(personinfo.getBirthday()!=null)out.print(personinfo.getBirthday().toString().substring(0,10));%>" >
							* </td>
                  <td>办公电话</td>
                  <td><input type="text" class="txt1" name="OfficeTel" value="<%if(curper.getOfficetel()!=null)out.print(curper.getOfficetel());%>" maxlength="64">
                  </td>
                  </tr>
              </table>
			  </td>
		  </tr>
	    </table>
	  </td>
    </tr>
	  <tr>
		<td valign="top" align="center" colspan="5">
		  <img style="cursor:hand" src="/resourceone/images/conform.gif" onclick="javascript:Modify();" border="0">
		  <img style="cursor:hand"  src="/resourceone/images/cancel.gif" border="0"  onclick="window.history.back()">
		</td>
	  </tr>
</table>
<div id="ryxx004div" style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'"  onMouseOut="this.style.display='none'">
	  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
	    <tr bgcolor="#EEFFF7">
    	  <td height="150" valign="top">
			
			<script>
				var tree = new WebFXLoadTree("专业结构", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=ryxx004&codeField=ryxx004Code&nameField=ryxx004&divId=ryxx004div");
				document.write(tree);
			</script>
			</td>
		 </tr>
	 </table>
</div>
<div id="ryxx001div" style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'"  onMouseOut="this.style.display='none'">
	  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
	    <tr bgcolor="#EEFFF7">
    	  <td height="150" valign="top">
			
			<script>
				var tree = new WebFXLoadTree("学历", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=ryxx001&codeField=ryxx001Code&nameField=ryxx001&divId=ryxx001div");
				document.write(tree);
			</script>
			</td>
		 </tr>
	 </table>
</div>
<div id="ryxx002div" style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'"  onMouseOut="this.style.display='none'">
	  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
	    <tr bgcolor="#EEFFF7">
    	  <td height="150" valign="top">
			
			<script>
				var tree = new WebFXLoadTree("职称", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=ryxx002&codeField=ryxx002Code&nameField=ryxx002&divId=ryxx002div");
				document.write(tree);
			</script>
			</td>
		 </tr>
	 </table>
</div>
<div id="ryxx006div" style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'"  onMouseOut="this.style.display='none'">
	  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
	    <tr bgcolor="#EEFFF7">
    	  <td height="150" valign="top">
			
			<script>
				var tree = new WebFXLoadTree("资格情况", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=ryxx006&codeField=ryxx006Code&nameField=ryxx006&divId=ryxx006div");
				document.write(tree);
			</script>
			</td>
		 </tr>
	 </table>
</div>
<div id="ryxx003div" style="position:absolute;display:none; left:250px; top:177px; width:180px; z-index:901; height: 150px;" onmouseover="this.style.display='block'"  onMouseOut="this.style.display='none'">
	  <table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#000000">
	    <tr bgcolor="#EEFFF7">
    	  <td height="150" valign="top">
			
			<script>
				var tree = new WebFXLoadTree("职务", "<%=request.getContextPath()%>/servlet/TcodeXmlTreeServlet?code=ryxx003&codeField=ryxx003Code&nameField=ryxx003&divId=ryxx003div");
				document.write(tree);
			</script>
			</td>
		 </tr>
	 </table>
</div>
</form>
</body>
</html>

⌨️ 快捷键说明

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