meetlist.jsp
上传用户:lm2018
上传日期:2015-12-12
资源大小:30449k
文件大小:5k
源码类别:

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" import="java.util.*" pageEncoding="gbk"%>
  2. <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
  3. <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
  4. <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
  5. <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles"%>
  6. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  7. <html:html lang="true">
  8. <head>
  9. <meta http-equiv="Content-Type" content="text/html; charset=gbk" />
  10. <title>会议列表</title>
  11. <script src="${pageContext.request.contextPath}/Jsp_file/meet/Calendar.js"></script>
  12. <link href="${pageContext.request.contextPath}/Css_file/oa.css" rel="stylesheet" type="text/css" />
  13. <script>
  14. function refresh(){
  15. var url = "${pageContext.request.contextPath}/meet?task=shuaxin";
  16. window.location.href= url;
  17. }
  18. function cancle(id){
  19. window.location='${pageContext.request.contextPath}/meet.do?task=delete&id='+id;
  20. }
  21. </script>
  22. </head>
  23. <body>
  24. <div class="t">
  25. <html:form action="/meet" styleId="form1">
  26. <input type="hidden" name="task" value="query">
  27. <table width=100% border=1 class="tr3 f_one">
  28. <tr>
  29. <td>
  30. 会议编号:
  31. </td>
  32. <td>
  33. <html:text property="mid" value="" />
  34. </td>
  35. <td>
  36. 会议议题:
  37. </td>
  38. <td>
  39. <html:text property="mtitle" />
  40. </td>
  41. <td>
  42. 会议状态
  43. </td>
  44. <td>
  45. <html:select property="mstatus">
  46. <html:option value="-1">===请选择===</html:option>
  47. <html:option value="0">未开始</html:option>
  48. <html:option value="1">开会中</html:option>
  49. <html:option value="2">已完成</html:option>
  50. </html:select>
  51. </td>
  52. <tr>
  53. <td colspan="2">
  54. 会议时间:
  55. </td>
  56. <td colspan="2">
  57. <input type="text" name="mstarttime" readOnly onClick="setDayHM(this);">
  58. &nbsp;&nbsp;&nbsp;至 &nbsp;&nbsp;&nbsp;
  59. <input type="text" name="mendtime" readOnly onClick="setDayHM(this);">
  60. </td>
  61. <td>
  62. 开会地点
  63. </td>
  64. <td>
  65. <html:select property="rmid">
  66. <html:option value="0">===请选择===</html:option>
  67. <logic:present name="addrlist" scope="request">
  68. <logic:iterate id="plan" name="addrlist" scope="request">
  69. <html:option value="${plan.rmid}">${plan.rname}</html:option>
  70. </logic:iterate>
  71. </logic:present>
  72. </html:select>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td colspan="6" align="center">
  77. <input type="submit" class="btn" value=" 查询 ">
  78. <input type="submit" class="btn" value=" 刷新 " onclick="refresh();">
  79. </td>
  80. </tr>
  81. </table>
  82. </html:form>
  83. </div>
  84. <br>
  85. <div class="t">
  86. <TABLE width=100% cellspacing="0" cellpadding="0" border="1" class="tr3 f_one">
  87. <tr class="tr3 f_one">
  88. <th class="h">
  89. 会议编号
  90. </th>
  91. <th class="h">
  92. 会议名称
  93. </th>
  94. <th class="h">
  95. 会议状态
  96. </th>
  97. <th class="h">
  98. 会议开始时间
  99. </th>
  100. <th class="h">
  101. 会议结束时间
  102. </th>
  103. <th class="h">
  104. 操作[
  105. <html:link action="/meet?task=addlist">添加</html:link>
  106. ]
  107. </th>
  108. </tr>
  109. <logic:present name="meetpage" property="list" scope="request">
  110. <logic:empty name="meetpage" property="list" scope="request">
  111. <tr>
  112. <th colspan=6 align="center" class="tr3 f_one">
  113. <SPAN style="color: red">暂时无相关信息...</SPAN>
  114. </th>
  115. </tr>
  116. </logic:empty>
  117. </logic:present>
  118. <logic:present name="meetpage" scope="request">
  119. <logic:present name="meetpage" scope="request" property="list">
  120. <logic:notEmpty name="meetpage" property="list" scope="request">
  121. <logic:iterate id="meet" name="meetpage" property="list" scope="request">
  122. <tr class="tr3 f_one">
  123. <th>
  124. ${meet.mid}
  125. </th>
  126. <th>
  127. ${meet.mtitle}
  128. </th>
  129. <th>
  130. <logic:equal name="meet" property="mstatus" value="0">未开始</logic:equal>
  131. <logic:equal name="meet" property="mstatus" value="1">开会中</logic:equal>
  132. <logic:equal name="meet" property="mstatus" value="2">已完成</logic:equal>
  133. <logic:equal name="meet" property="mstatus" value="3">已取消</logic:equal>
  134. </th>
  135. <th>
  136. ${meet.mstarttime}
  137. </th>
  138. <th>
  139. ${meet.mendtime}
  140. </th>
  141. <th>
  142. <html:link action="/meet?task=look&mid=${meet.mid}">详细信息</html:link>
  143. <logic:equal name="meet" property="mstatus" value="0">
  144. <html:link action="/meet?task=init&mid=${meet.mid}">修改</html:link>
  145. <html:link href="javascript:cancle('${meet.mid}');">取消</html:link>
  146. </logic:equal>
  147. </th>
  148. </tr>
  149. </logic:iterate>
  150. </logic:notEmpty>
  151. </logic:present>
  152. </logic:present>
  153. </TABLE>
  154. </div>
  155. <form name="form1" action="/meet?task=delete&mid=${meet.mid}" method="post">
  156. <div id="addform"></div>
  157. </form>
  158. </body>
  159. </html:html>
  160. <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#0099CC">
  161. <tr bgcolor="#ADD8CF">
  162. <td align="center" bgcolor="#DBEEEA">
  163. <bean:write name="meetpage" property="pageBar" filter="false" />
  164. </td>
  165. </tr>
  166. </table>