meetroomlist.jsp
资源名称:(J2EE)oa.rar [点击查看]
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:4k
源码类别:
Jsp/Servlet
开发平台:
Java
- <%@ 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"%>
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
- <html:html lang="true">
- <head>
- <html:base />
- <title>会议室列表</title>
- <link href="${pageContext.request.contextPath}/Css_file/oa.css" rel="stylesheet" type="text/css" />
- </head>
- <body>
- <div class="t">
- <html:form action="/meetroom" styleId="form1">
- <input type="hidden" name="task" value="query">
- <table width=100% border=1 cellspacing=0 cellpadding=0 class="tr3 f_one">
- <tr>
- <td>
- 会议室编号:
- </td>
- <td>
- <html:text property="rmid" value="" />
- </td>
- <td>
- 会议室名称:
- </td>
- <td>
- <html:text property="rname" />
- </td>
- <td>
- 会议室状态:
- </td>
- <td>
- <html:select property="rstate">
- <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="6" align="center">
- <input type="submit" class="btn" value=" 查询 ">
- <input name="reset" type="reset" class="btn" value=" 重置 " />
- </td>
- </tr>
- </table>
- </html:form>
- </div>
- <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="/meetroom?task=addlist">添加</html:link>
- ]
- </th>
- </tr>
- <logic:present name="meetroomtpage" property="list" scope="request">
- <logic:empty name="meetroomtpage" 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="meetroomtpage" scope="request">
- <logic:present name="meetroomtpage" scope="request" property="list">
- <logic:notEmpty name="meetroomtpage" property="list" scope="request">
- <logic:iterate id="meetroom" name="meetroomtpage" property="list" scope="request">
- <tr class="tr3 f_one">
- <Td class="tr3 f_one">
- ${meetroom.rmid}
- </Td>
- <Td>
- ${meetroom.rname}
- </Td>
- <Td>
- ${meetroom.raddress}
- </Td>
- <Td>
- ${meetroom.rnumber} 人
- </Td>
- <th>
- <logic:equal name="meetroom" property="rstate" value="0">未使用</logic:equal>
- <logic:equal name="meetroom" property="rstate" value="1">使用中</logic:equal>
- <logic:equal name="meetroom" property="rstate" value="2">不可使用(维护中)</logic:equal>
- </th>
- <Th>
- <logic:equal name="meetroom" property="rstate" value="0">
- <html:link action="/meetroom?task=init&rmid=${meetroom.rmid}">修改</html:link>
- </logic:equal>
- <logic:equal name="meetroom" property="rstate" value="2">
- <html:link action="/meetroom?task=life&rmid=${meetroom.rmid}">激活</html:link>
- </logic:equal>
- <logic:equal name="meetroom" property="rstate" value="0">
- <html:link action="/meetroom?task=support&rmid=${meetroom.rmid}">冻结</html:link>
- </logic:equal>
- </Th>
- </tr>
- </logic:iterate>
- </logic:notEmpty>
- </logic:present>
- </logic:present>
- </TABLE>
- </div>
- </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="meetroomtpage" property="pageBar" filter="false" />
- </td>
- </tr>
- </table>