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

📄 addconference.jsp

📁 一个oa系统
💻 JSP
字号:
<%@ page language="java" pageEncoding="gbk"%>
<%@include file="../islogin.jsp" %>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
	<html:base />

	<title>添加会议记录</title>

	<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">
	<style type="text/css">
<!--
body,td,th {
	font-size: 12px;
}
body {
	margin-left: 6px;
	margin-top: 5px;
	margin-right: 0px;
	margin-bottom: 0px;
}
a:link {
	color: #000000;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #000000;
}
a:hover {
	text-decoration: underline;
	color: #333333;
}
a:active {
	text-decoration: none;
	color: #333333;
}
-->
</style>
	<link href="../../oa/css/css.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
<!--
.STYLE1 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE6 {font-size: 14px;
	font-weight: bold;
	color: #FFFFFF;
}
-->
</style>
<script language="JavaScript" src="../js/calendar2.js"> 
</script> 
<script type="text/javascript">
	function Check()
	{
		var t = document.forms[0].topic.value;
		var c = document.forms[0].condate.value;
		var n = document.forms[0].content.value;		
		var p = document.forms[0].compere.value;	
		var d = /^((\d{2}(([02468][048])|([13579][26]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|([1-2][0-9])))))|(\d{2}(([02468][1235679])|([13579][01345789]))[\-\/\s]?((((0?[13578])|(1[02]))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(3[01])))|(((0?[469])|(11))[\-\/\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\-\/\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\s(((0?[0-9])|([1-2][0-3]))\:([0-5]?[0-9])((\s)|(\:([0-5]?[0-9])))))?$/;	
		if(t=="")
		{
			alert("请填写会议主题");
			return false;
		}
		if(c=="")
		{
		 	alert("请填写会议时间");
		 	return false;
		}
		if(!c.match(d))
		{
		 	alert("会议时间不符合要求");
		 	return false;
		}
		if(n=="")
		{
			alert("请填写会议内容");
			return false;
		}
		if(p=="")
		{
			alert("请填写会议主持人");
			return false;
		}
		return true;
	}
</script>
</head>

<body>
	<table width="700" border="0" cellpadding="0" cellspacing="1"
		bgcolor="#3868f8">
		<tr>
			<td width="699" height="25" bgcolor="#FFFFFF">
				<table width="700" height="25" border="0" cellpadding="0"
					cellspacing="0">
					<tr>
						<td width="697" height="25" bgcolor="#A4B5E3">
							<span class="STYLE6">&nbsp;&nbsp;&nbsp;添加会议记录</span>
						</td>
					</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td height="20" bgcolor="#FFFFFF" valign="top"
				style="padding-top:4px; padding-bottom:3px; padding-left:4px; padding-right:4px;">
				<html:form action="/addConference" onsubmit="return Check()">
					<table width="100%" border="1" cellpadding="0" cellspacing="0"
						bordercolor="#ECE9D8" bgcolor="#3868f8">

						<tr>
							<td width="72" height="22" bgcolor="#FFFFFF">
								会议主题
							</td>
							<td width="284" height="22" bgcolor="#FFFFFF"
								style="padding-left:4px;">
								<html:text property="topic"></html:text>
							</td>
							<td width="70" bgcolor="#FFFFFF">
								<div align="center">
									会议时间
								</div>
							</td>
							<td width="154" bgcolor="#FFFFFF">
								<html:text property="condate" onfocus="setday(this)"></html:text>
							</td>
						</tr>
						<tr>
							<td valign="top" bgcolor="#FFFFFF" style="padding-top:8px;">
								<div align="center">
									<p>
										&nbsp;
									</p>
									<p>
										&nbsp;
									</p>
									<p>
										会议内容
									</p>
									<p>
										&nbsp;
									</p>
								</div>
							</td>
							<td height="22" colspan="3" bgcolor="#FFFFFF"
								style="padding-top:4px; padding-bottom:3px; padding-left:4px; padding-right:4px;">
								<html:textarea property="content" cols="70" rows="10"></html:textarea>
							</td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" width="80">
								<div align="center">
									备注
								</div>
							</td>
							<td width="484" colspan="3" height="22" bgcolor="#FFFFFF"
								style="padding-left:4px;">
								<html:text property="remark"></html:text>
							</td>
						</tr>
						<tr>
							<td bgcolor="#FFFFFF" style="padding-left:4px;">
								<div align="center">
									主持人
								</div>
							</td>
							<td height="22" bgcolor="#FFFFFF" style="padding-left:4px;">
								<html:text property="compere"></html:text>
							</td>
							<td height="22" bgcolor="#FFFFFF">
								&nbsp;参加范围
							</td>
							<td height="22" bgcolor="#FFFFFF" style="padding-left:4px;">
								<html:select property="actor">
									<html:option value="所有人">所有部门</html:option>
									<html:options collection="alldept" property="department" />
								</html:select>
							</td>
						</tr>
						<tr>
							<td height="30" colspan="4" bgcolor="#FFFFFF">
								&nbsp;
								<html:submit value="保存"></html:submit>
							</td>
						</tr>
					</table>
				</html:form>
			</td>
		</tr>
	</table>
</body>
</html:html>

⌨️ 快捷键说明

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