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

📄 sys_levelmaintain_edit.jsp

📁 J2ee开发的 人事管理系统 使用oracle数据库 myeclips平台开发
💻 JSP
字号:
<%@ page language="java" import="java.util.*"  pageEncoding="gb2312"%>
<%@ page import="java.util.*"  %>
<%@ page import="com.galaxy.vo.*"  %>
<%@ page import="com.galaxy.dao.*"  %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
<style type="text/css">
<!--
.style1 {
	font-size: 24px;
	font-weight: bold;
}
-->
</style>
<link rel="stylesheet" type="text/css" href="../css/css.css"/>
</head>
<script>
	function updateob()
	{
		if(document.form1.levelname.value == ""||document.form1.tag.value == ""){
			alert("请输入完整资料!");
			}
		else {
			document.form1.submit();
		}
	}
function fanhui(){
	history.back();
}
</script>

<%
	String i = request.getParameter("liid");
	String cond = "and li_id = "+i;
	LevelInfoDAO levelinfodao = new LevelInfoDAO();
	LevelInfoVO levelinfovo = new LevelInfoVO();
	levelinfovo = (LevelInfoVO)levelinfodao.readObject(cond);
%>

<body>
<form name="form1" method="post" action="../SM_LevelInfoServlet?opflag=edit">
<div id="Layer1" style="position:absolute; left:3px; top:59px; width:800px; z-index:1; height: 197px;">
<h2 align="center">编辑级别</h2>
  <table class="toBeSetBgColor" width="100%"   border="1" cellpadding="0" cellspacing="0" >
    <tr height = "30" class="EvenRow">
      <td width="20%" align="center">级别名称:</td>
      <td width="30%" align="left"><input name="levelname" type="text" value="<%=levelinfovo.getLiName() %>" height="25px"></td>
      <td width="20%" align="center">是否可用:</td>
      <td width="30%" align="center">
      	  <select name="state" width="40">
		    <option value="1" <%if("可用".equals(levelinfovo.getLiState())){%>selected<%} %>>可用&nbsp;&nbsp;&nbsp;&nbsp;</option>
		    <option value="0" <%if("不可用".equals(levelinfovo.getLiState())){%>selected<%} %>>不可用&nbsp;&nbsp;&nbsp;&nbsp;</option>
		  </select>
      </td>
    </tr>
 </table>
 <table class="toBeSetBgColor" width="100%" border="1" cellpadding="0" cellspacing="0" >
    <tr height = "60" class="OddRow">
      <td width="20%" align="center">备&nbsp;&nbsp;&nbsp;&nbsp;注:</td>
      <td width="80%" align="left"><textarea name="tag" cols="50" rows="3"><%=levelinfovo.getLiTag() %></textarea>(若无备注请填写“无”)</td>
    </tr>

  </table>
  &nbsp;&nbsp;<br>
  <table width="100%" height="40"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="30%"></td>
        <input type="hidden" name="liid" value=<%=i%> >
        <td width="20%" align="center"><input type="button" name="Submit" value=" 确  定 " onClick="updateob()"></td>
        <td width="20%" align="center"><input type="button" name="Submit2" value=" 取  消 " onClick="fanhui()"></td>
        <td width="30%"></td>
      </tr>
    </table>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
</form>
</body>
</html>

⌨️ 快捷键说明

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