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

📄 meetingpromulgate.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>meetingPromulgate.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">
  </head>
<script language="javascript">
//结束审核
function endRequest(){
	document.meetingRequestForm.submit();
}
//拒绝请求
function rejectRequest(){
	document.meetingRequestForm.action="/YZOA/meetingPromulgateAction.do?action=reject";
	document.meetingRequestForm.submit();
}
//会议室使用状况
function showRoomDetail(){
	var width=480;
	var height=356;
	var left = (screen.width-width)/2;
	var top = (screen.height-height)/2;
 popupWin = window.open("/YZOA/meetingStatsRequestListAction.do", "a", "scrollbars=yes,width="+width+",height="+height+",left="+left+",top="+top)
	
}
</script>
  <body>
    <html:form action="/meetingPromulgateAction?action=operate">
    <html:hidden property="perId"/>
    <html:hidden property="perStatus"/>
    <html:hidden property="code"/>
		<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">
							<table width="100%"><tr><td width="50%">
							<strong><img src="../../image/col.gif" width="7"
										height="18" align="absmiddle">
								</strong>
								<span class="high">结束审核</span>
							</td>
							<td align="right">
							<input type="button" name="look" value="会议室占用查询" onclick="showRoomDetail();">
							</td></tr></table>
							</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">
								<bean:write name="meetingRequestForm" property="code" />
							</td>
						</tr>
						<tr>
							<td class="bg">会议标题&nbsp;<font size="1" color="red">*</font></td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="title" />
							</td>
						</tr>
						<tr>
							<td class="bg">开始时间&nbsp;<font size="1" color="red">*</font></td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="startTime" />
							</td>
						</tr>
						<tr>
							<td class="bg">结束时间&nbsp;<font size="1" color="red">*</font></td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="endTime" />
							</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>
							</td>
						</tr>
						<tr>
							<td class="bg">会议议题</td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="context" />
							</td>
						</tr>
						<tr>
							<td class="bg">费用预算</td>
							<td bgcolor="f7f7f7">
								<bean:write name="meetingRequestForm" property="money" />
							</td>
							<td class="bg">会议人数&nbsp;<font size="1" color="red">*</font></td>
							<td bgcolor="f7f7f7">
								<bean:write name="meetingRequestForm" property="count" />
							</td>
						</tr>
						<tr>
							<td class="bg">主持人</td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="moderator" />
							</td>
						</tr>
						<tr>
							<td class="bg">参加者</td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="personName" />
							</td>
						</tr>
						<tr>
							<td class="bg">备注</td>
							<td bgcolor="f7f7f7" colspan="3">
								<bean:write name="meetingRequestForm" property="remark" />
							</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">
								<bean:write name="meetingRequestForm" property="servicPerName" />
								<bean:write name="meetingRequestForm" property="servicPerId" />
							</td>
						</tr>
					</table>
					<table width="100%" border="1" bordercolordark="ffffff" bordercolorlight="cccccc" cellspacing="0" cellpadding="4">
					<tr>
            <td width="20%" class="bg">审核意见&nbsp;<font size="1" color="red">*</font></td>
            <td bgcolor="f7f7f7">
            <html:textarea property="perComment" cols="50" rows="3" ></html:textarea>
            </td>
          </tr>
          <tr> 
      		<td width="20%" class="bg">是否提醒&nbsp;<font size="1" color="red">*</font></td>
          <td bgcolor="f7f7f7">
         		<input name="Submit1" type="button" value="提醒"  	onClick="alert('提醒');">
      		</td>
    			</tr>
    			<tr> 
      		<td colspan="4" align="center" bgcolor="f7f7f7"> 
         		<input name="Submit1" type="button" value="通过"  	onClick="endRequest();"> 
         		<input name="Submit2" type="button" value="不通过" 	onClick="rejectRequest();">
         		<input name="Submit4" type="button" value="取消"		onClick="alert('c');" > 
      		</td>
    			</tr>
        </table>
				</td>
			</tr>
		</table>
	</html:form>
  </body>
</html:html>

⌨️ 快捷键说明

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