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

📄 modmeetingrequest.jsp

📁 一段很有意义的源码,看了就知道,不信试一试啊!
💻 JSP
字号:
<%@ page language="java" pageEncoding="GBK"%>

<%@ 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" %>
<%@ page import="java.util.List" %>
<%@ page import="com.wondersgroup.businessmodule.meetingmanage.web.form.PermissionListElement" %>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
  <head>
    <html:base />
    <title>modMeetingRequest.jsp</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">
	<link href="/YZOA/include/style.css" rel="stylesheet" type="text/css">
	<script language="javascript" src="/YZOA/include/calendar.js"></script>
  </head>
  <logic:present name="suc">
	<script>
		alert('<%=request.getAttribute("suc") %>');
		window.location.href="/YZOA/meetingRequestListAction.do";
	</script>
</logic:present>
  <body>
    <html:form action="/meetingRequestAction?action=update" onsubmit="return check();">
			<table width="96%" border="0" align="center" cellpadding="4"
				cellspacing="1">
				<tr>
					<td bgcolor="#FFFFFF">
						<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
							<tr>
								<td><a href="#">主页</a>&gt;&gt; 会议管理</td>
							</tr>
						</table>
						<table width="98%" border="0" align="center">
							<tr>
								<td height="34" class="big">
									<strong><img src="../../image/col.gif" width="7" height="18" align="absmiddle"></strong>
									<span class="high">会议申请</span>
								</td>
							</tr>
						</table>
						<table width="100%" border="1" bordercolordark="ffffff"
							bordercolorlight="cccccc" cellspacing="0" cellpadding="4">
							<tr>
								<td class="bg">会议编号&nbsp;<font size="1" color="red">*</font></td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:text property="code" styleClass="textfield2" size="50" readonly="true"/>
								</td>
							</tr>
							<tr><td class="bg">会议标题&nbsp;<font size="1" color="red">*</font></td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:text property="title" styleClass="textfield2" size="50"/>
								</td>
							</tr>
							<tr><td class="bg">开始时间&nbsp;<font size="1" color="red">*</font></td>
								<td bgcolor="f7f7f7" colspan="3">
									<!-- 开始时间:BEGIN_DT -->
									<html:text property="startDate" styleClass="textfield2" size="13" onclick="showCal()" readonly="true"/>
									<html:select property="startHour">
										<script>
							   				for(var i=0;i<=23;i++){
							   	 				if(i<10)i="0"+i;
							   	 				if(i == '<bean:write name="meetingRequestForm" property="startHour"/>')
							    					document.write("<option selected value="+i+">"+i+"</option>");
							    				else
							    					document.write("<option value="+i+">"+i+"</option>");
							   				}
										</script>
									</html:select>
									<html:select property="startMin">
										<script>
							   			for(var i=0;i<=59;i++){
							    			if(i<10)i="0"+i;
							    			if(i == '<bean:write name="meetingRequestForm" property="startMin"/>')
							    					document.write("<option selected value="+i+">"+i+"</option>");
							    				else
							    					document.write("<option value="+i+">"+i+"</option>");
							   			}
										</script>
									</html:select>
								</td>
							</tr>
							<tr>
								<td class="bg">
									结束时间&nbsp;
									<font size="1" color="red">*</font>
								</td>
								<td bgcolor="f7f7f7" colspan="3">
									<!-- 结束时间:END_DT -->
									<html:text property="endDate" styleClass="textfield2" size="13" onclick="showCal()" readonly="true"/>							<html:select property="endHour">
										<script>
							   			for(var i=0;i<=23;i++){
							    			if(i<10)i="0"+i;
							    			if(i == '<bean:write name="meetingRequestForm" property="endHour"/>')
							    					document.write("<option selected value="+i+">"+i+"</option>");
							    				else
							    					document.write("<option value="+i+">"+i+"</option>");
							    			document.write("<option>"+i+"</option>");
							  	 		}
										</script>
									</html:select>
									<html:select property="endMin">
										<script>
							   			for(var i=0;i<=59;i++){
							    			if(i<10)i="0"+i;
							    			if(i == '<bean:write name="meetingRequestForm" property="endMin"/>')
							    					document.write("<option selected value="+i+">"+i+"</option>");
							    				else
							    					document.write("<option value="+i+">"+i+"</option>");
							   			}
										</script>
									</html:select>
								</td>
							</tr>
							<tr>
								<td class="bg">会议地址</td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:select property="roomId">
										<html:option value="">---------</html:option>
										<html:options collection="options" name="BeanCollectionSelect" property="value" labelProperty="name" />
									</html:select>
							</tr>
							<tr><td class="bg">会议议题</td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:textarea property="context" cols="70" rows="3" styleClass="textfield2"></html:textarea>
								</td>
							</tr>
							<tr><td class="bg">费用预算</td>
								<td bgcolor="f7f7f7">
									<html:text property="money" styleClass="textfield2" size="20"/>
								</td>
								<td class="bg">会议人数&nbsp;<font size="1" color="red">*</font></td>
								<td bgcolor="f7f7f7">
									<html:text property="count" styleClass="textfield2" size="20"/>
								</td>
							</tr>
							<tr>
								<td class="bg">主持人</td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:text property="moderator" styleClass="textfield2" size="20"/>
									<html:hidden property="moderatorId"/>
									<a href="#" onClick="openTree()"><font color="#CC0000">选择主持人</font></a>
								</td>
							</tr>
							<tr><td class="bg">参加者</td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:text property="personName" styleClass="textfield2" size="60" value="liao,dd,dfh,hhhhh"/>
									<html:hidden property="personId" value="1,2,3"/>
									<a href="#" onClick="openTree()"><font color="#CC0000">选择参加者</font>
									</a>
								</td>
							</tr>
							<tr>
								<td class="bg">备注</td>
								<td bgcolor="f7f7f7" colspan="3">
									<html:textarea property="remark" cols="70" rows="3" styleClass="textfield2"></html:textarea>
								</td>
							</tr>
							<tr>
								<td width="20%" class="bg"><div align="left">审批情况</div></td>
								<td colspan="3" bgcolor="f7f7f7" align="left">
									<table width="100%" border="1" align="left" cellpadding="0" cellspacing="0">
									<tr>
										<td width="20%" align="center">姓名</td>
										<td width="40%" align="center">意见</td>
										<td width="20%" align="center">审批结果</td>
										<td width="20%" align="center">时间</td>
									</tr>
									<%List list = (List)request.getAttribute("perList"); 
									if(list !=null){
									PermissionListElement pe;
									for(int i=0;i<list.size();i++){
									pe = (PermissionListElement)list.get(i);
									%>
									<tr>
										<td><%=pe.getName() %></td>
										<td><%=pe.getComment() %></td>
										<td><%=pe.getResult() %></td>
										<td><%=pe.getOperateTime() %></td>
									</tr>
								<%} }%>
								</table>
								</td>
							</tr>
							<tr>
								<td class="bg">批准</td>
								<td bgcolor="f7f7f7" colspan="3">
									<input type="checkbox" name="leader" disable="true">&nbsp;经领导口头同意
									<html:text property="leader" styleClass="textfield2" size="20" readonly="true" />
									<html:hidden property="leaderId" value="2"/>
									<input type="button" name="button3" onClick="showDetail('/YZOA/tree/tree.html','新增',300,500);" disable="true" value="选择人员">
								</td>
							</tr>
							<tr>
								<td align="left" class="bg"><p>流程设置</p></td>
								<td colspan="3" bgcolor="f7f7f7"><p>
									<html:select property="status">
										<html:option value="0">申请</html:option>
										<html:option value="1">领导审批</html:option>
										<html:option value="3">结束</html:option>
									</html:select>
									</p>
									<p>
										<input name="leader2_name" type="text" size="20" readonly value="dd">
										<html:hidden property="leader2Id" value="1"/>
										<input type="button" name="button3"
											onClick="showDetail('../tree/tree.html','新增',300,500);"
											value="选择人员">
									</p>
								</td>
							</tr>
						</table>
						<table width="100%" border="0" cellspacing="0" cellpadding="4">
							<tr>
								<td align="center" colspan="3">
									<html:submit styleClass="btn">确定</html:submit>
									<input name="back" type="button" class="btn" onClick="history.back()" value="取消">
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</html:form>
	</body>
</html:html>

⌨️ 快捷键说明

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