📄 meetlist.jsp
字号:
<%@ page language="java" import="java.util.*" 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"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html:html lang="true">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gbk" />
<title>会议列表</title>
<script src="${pageContext.request.contextPath}/Jsp_file/meet/Calendar.js"></script>
<link href="${pageContext.request.contextPath}/Css_file/oa.css" rel="stylesheet" type="text/css" />
<script>
function refresh(){
var url = "${pageContext.request.contextPath}/meet?task=shuaxin";
window.location.href= url;
}
function cancle(id){
window.location='${pageContext.request.contextPath}/meet.do?task=delete&id='+id;
}
</script>
</head>
<body>
<div class="t">
<html:form action="/meet" styleId="form1">
<input type="hidden" name="task" value="query">
<table width=100% border=1 class="tr3 f_one">
<tr>
<td>
会议编号:
</td>
<td>
<html:text property="mid" value="" />
</td>
<td>
会议议题:
</td>
<td>
<html:text property="mtitle" />
</td>
<td>
会议状态
</td>
<td>
<html:select property="mstatus">
<html:option value="-1">===请选择===</html:option>
<html:option value="0">未开始</html:option>
<html:option value="1">开会中</html:option>
<html:option value="2">已完成</html:option>
</html:select>
</td>
<tr>
<td colspan="2">
会议时间:
</td>
<td colspan="2">
<input type="text" name="mstarttime" readOnly onClick="setDayHM(this);">
至
<input type="text" name="mendtime" readOnly onClick="setDayHM(this);">
</td>
<td>
开会地点
</td>
<td>
<html:select property="rmid">
<html:option value="0">===请选择===</html:option>
<logic:present name="addrlist" scope="request">
<logic:iterate id="plan" name="addrlist" scope="request">
<html:option value="${plan.rmid}">${plan.rname}</html:option>
</logic:iterate>
</logic:present>
</html:select>
</td>
</tr>
<tr>
<td colspan="6" align="center">
<input type="submit" class="btn" value=" 查询 ">
<input type="submit" class="btn" value=" 刷新 " onclick="refresh();">
</td>
</tr>
</table>
</html:form>
</div>
<br>
<div class="t">
<TABLE width=100% cellspacing="0" cellpadding="0" border="1" class="tr3 f_one">
<tr class="tr3 f_one">
<th class="h">
会议编号
</th>
<th class="h">
会议名称
</th>
<th class="h">
会议状态
</th>
<th class="h">
会议开始时间
</th>
<th class="h">
会议结束时间
</th>
<th class="h">
操作[
<html:link action="/meet?task=addlist">添加</html:link>
]
</th>
</tr>
<logic:present name="meetpage" property="list" scope="request">
<logic:empty name="meetpage" property="list" scope="request">
<tr>
<th colspan=6 align="center" class="tr3 f_one">
<SPAN style="color: red">暂时无相关信息...</SPAN>
</th>
</tr>
</logic:empty>
</logic:present>
<logic:present name="meetpage" scope="request">
<logic:present name="meetpage" scope="request" property="list">
<logic:notEmpty name="meetpage" property="list" scope="request">
<logic:iterate id="meet" name="meetpage" property="list" scope="request">
<tr class="tr3 f_one">
<th>
${meet.mid}
</th>
<th>
${meet.mtitle}
</th>
<th>
<logic:equal name="meet" property="mstatus" value="0">未开始</logic:equal>
<logic:equal name="meet" property="mstatus" value="1">开会中</logic:equal>
<logic:equal name="meet" property="mstatus" value="2">已完成</logic:equal>
<logic:equal name="meet" property="mstatus" value="3">已取消</logic:equal>
</th>
<th>
${meet.mstarttime}
</th>
<th>
${meet.mendtime}
</th>
<th>
<html:link action="/meet?task=look&mid=${meet.mid}">详细信息</html:link>
<logic:equal name="meet" property="mstatus" value="0">
<html:link action="/meet?task=init&mid=${meet.mid}">修改</html:link>
<html:link href="javascript:cancle('${meet.mid}');">取消</html:link>
</logic:equal>
</th>
</tr>
</logic:iterate>
</logic:notEmpty>
</logic:present>
</logic:present>
</TABLE>
</div>
<form name="form1" action="/meet?task=delete&mid=${meet.mid}" method="post">
<div id="addform"></div>
</form>
</body>
</html:html>
<table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#0099CC">
<tr bgcolor="#ADD8CF">
<td align="center" bgcolor="#DBEEEA">
<bean:write name="meetpage" property="pageBar" filter="false" />
</td>
</tr>
</table>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -