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

Jsp/Servlet

开发平台:

Java

  1. <%@ page language="java" 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. <html:base />
  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. </head>
  14. <script>
  15. function notpass(){
  16. var obj = document.getElementById("addform");
  17.    obj.innerHTML="";
  18.    obj.innerHTML="<div class='t'>";
  19.    obj.innerHTML+="<table width=100% cellspacing=0 cellpadding=0 align=center class='tr3 f_one'>";
  20.    obj.innerHTML+="<tr class='tr3 f_one'>";
  21.    obj.innerHTML+="<th>会议纪要主题:";
  22.    obj.innerHTML+="</th>";
  23.    obj.innerHTML+="<th><input type='text' name='minfoname' size='100' value=''><span id='infoname'/>";
  24.    obj.innerHTML+="</th>";
  25.    obj.innerHTML+="</tr>";
  26.    obj.innerHTML+="<br>";
  27.    obj.innerHTML+="<tr class='tr3 f_two'>";
  28.    obj.innerHTML+="<th>会议纪要内容:";
  29.    obj.innerHTML+="</th>";
  30.    obj.innerHTML+="<th><input type='text' name='minfocontent' size='100' value=''>";
  31.    obj.innerHTML+="</th>";
  32.    obj.innerHTML+="</tr>";
  33.    obj.innerHTML+="<tr align=center>";
  34.    obj.innerHTML+="<th><input type='button' name='server' value='提交' onclick='check();' >";
  35.    obj.innerHTML+="</th>";
  36.    obj.innerHTML+="<th><input type='button' name='cancle' value='取消' onclick='history.back();'>";
  37.    obj.innerHTML+="</th>";  
  38.    obj.innerHTML+="</tr>";
  39.    obj.innerHTML+="</table>";
  40.    obj.innerHTML+="</div>";
  41. }
  42. function check(){
  43. var minfoname=form1.minfoname.value;
  44. if(minfoname==""){
  45. document.getElementById("infoname").innerHTML="<font color="red">会议主题不能为空</font>";
  46. form1.minfoname.focus();
  47. return; 
  48. }
  49. form1.submit();
  50. }
  51. </script>
  52. <body>
  53. <div class="t">
  54. <TABLE width=100% cellspacing="0" cellpadding="0" border="1" class="tr3 f_one">
  55. <input type="hidden" name="task" value="query">
  56. <tr class="tr3 f_one">
  57. <th class="h">
  58. 会议纪要编号
  59. </th>
  60. <th class="h">
  61. 会议主题
  62. </th>
  63. <th class="h">
  64. 会议状态
  65. </th>
  66. <th class="h">
  67. 会议实际开始时间
  68. </th>
  69. <th class="h">
  70. 会议实际结束时间
  71. </th>
  72. <th class="h">
  73. 操作
  74. </th>
  75. </tr>
  76. <logic:present name="meetinfopage" property="list" scope="request">
  77. <logic:empty name="meetinfopage" property="list" scope="request">
  78. <tr>
  79. <th colspan=6 align="center" class="tr3 f_one">
  80. <SPAN style="color: red">暂时无相关信息...</SPAN>
  81. </th>
  82. </tr>
  83. </logic:empty>
  84. </logic:present>
  85. <logic:present name="meetinfopage" scope="request">
  86. <logic:present name="meetinfopage" scope="request" property="list">
  87. <logic:notEmpty name="meetinfopage" property="list" scope="request">
  88. <logic:iterate id="info" name="meetinfopage" property="list" scope="request">
  89. <tr class="tr3 f_one">
  90. <th>
  91. ${info.miid}
  92. </th>
  93. <th>
  94. ${info.miinfo}
  95. </th>
  96. <th>
  97. <logic:equal name="info" property="miisdel" value="0">未开始</logic:equal>
  98. <logic:equal name="info" property="miisdel" value="1">进行中</logic:equal>
  99. <logic:equal name="info" property="miisdel" value="2">已完成</logic:equal>
  100. </th>
  101. <th>
  102. ${info.mistarttime}
  103. </th>
  104. <th>
  105. ${info.miendtime}
  106. </th>
  107. <th>
  108. <html:link action="/meetinfo?task=look&mid=${info.miid}">详细信息</html:link>
  109. <logic:equal name="info" property="miisdel" value="0">
  110. <html:link action="/meetinfo?task=init&mid=${info.miid}">修改</html:link>
  111. </logic:equal>
  112. </th>
  113. </tr>
  114. </logic:iterate>
  115. </logic:notEmpty>
  116. </logic:present>
  117. </logic:present>
  118. </table>
  119. </div>
  120. </body>
  121. </html:html>
  122. <form name='form1' action='/oa/meetinfo.do?task=add' method='post'>
  123. <html:hidden property="miid" name="meetinfoForm" />
  124. <div id="addform">
  125. </div>
  126. </form>
  127. <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#0099CC">
  128. <tr bgcolor="#ADD8CF">
  129. <td align="center" bgcolor="#DBEEEA">
  130. <bean:write name="meetinfopage" property="pageBar" filter="false" />
  131. </td>
  132. </tr>
  133. </table>