WebRoot/admin/org/addOrg.jsp

(完整代码) 1KB

<%@ page language="java" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link rel="stylesheet" href="<%=path%>/css/oa.css" type="text/css"></link>
		<base target="_self">
		
		<script type="text/javascript">
		    function closeOpen()
		    {
		       window.returnValue=false;
		       window.close();
		    }
		    
		    function check()
		    {
		        var orgName=document.addOrg.orgName.value;
		        var orgDescription=document.addOrg.orgDescription.value; 
		        if(orgName=="")
		        {
		            alert("请输入部门名称");
		            return false;
		        }
		        if(orgDescription=="")
		        {
		            alert("请输入部门描述");
		            return false;
		        }
                return true;		        
		    }
		</script>
	</head>

	<body>
		<center>
			<form action="<%=path %>/addOrg.action" name="addOrg" method="post">
			   <input type="hidden" name="depId" value='<%=request.getParameter("depId") %>'>
			   <br><br>
			     部门名称:<input type="text" name="orgName" size="30"/><br><br>
                   部门描述:<input type="text" name="orgDescription" size="30"/><br><br>
                <input type="submit" value="确定" class="ButtonCss" onclick="return check();"/>
                <input type="reset" value="重填" class="ButtonCss"/>
                <input type="button" value="取消" class="ButtonCss" onclick="closeOpen()"/>
			</form>
		</center>
	</body>
</html>

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读 AI

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。