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

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. <link href="<%=request.getContextPath()%>/Css_file/oa.css" rel="stylesheet" type="text/css" />
  7. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  8. <script>
  9. function searchclear(){
  10. var searchtext =  document.getElementById("tname");
  11. var searchclick =  document.getElementById("btn");
  12. searchtext.innerText = "";
  13. searchclick.click();
  14. }
  15. </script>
  16. <html:html lang="true">
  17.   <head>
  18.     <html:base />
  19.     
  20.     <title>定制事务列表</title>
  21.     
  22.     <meta http-equiv="pragma" content="no-cache">
  23.     <meta http-equiv="cache-control" content="no-cache">
  24.     <meta http-equiv="expires" content="0">    
  25.     <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
  26.     <meta http-equiv="description" content="This is my page">
  27.   </head>
  28.   <body>
  29. <html:form action="/affairType" method="post" styleId="form1">
  30. <table width="100%"  class="myTable">
  31. <tr class="tableHead" align="center"><td colspan="2" >定制事务列表</td></tr>
  32. <tr>
  33. <td width="107" align="center">事务名称:</td><td ><html:text property="tname"  style="width: 100%"></html:text></td>
  34. </tr>
  35. <tr align="center">
  36. <td colspan="2" >
  37. <input type="hidden" name="task" value="getlist">
  38. <html:submit styleId="btn" value="查询"></html:submit> <INPUT type="button" onclick="return searchclear();" value="重置"/>
  39. </td>
  40. </tr>
  41. </table>
  42. </html:form>
  43. <table width="100%" border="0" align="center" cellspacing="0" class="myTable">
  44.   <tr class="tableHead">
  45.     <td height="27" align="center">事务名称</td>
  46.     <td height="27" align="center">步骤数目</td>
  47.     <td height="27" align="center">添加时间</td>
  48.     <td height="27" align="center" >操作[<a href="<%=request.getContextPath()%>/Jsp_file/affair/addaffairtype.jsp">添加</a>]</td>
  49.   </tr>
  50.   <logic:present name="typepage" scope="request">
  51. <logic:present name="typepage" property="list" scope="request">
  52. <logic:notEmpty name="typepage" property="list" scope="request">
  53. <logic:iterate id="type" name="typepage" property="list" scope="request">
  54. <tr>
  55. <td align="center">${type.tname}</td>
  56. <td align="center">${type.tstep}</td>
  57. <td align="center">${type.ttime}</td>
  58. <td align="center"><html:link action="/affairType?task=edittype&rtid=${type.rtid}">修改</html:link>|
  59. <html:link action="/affairType?task=deltype&rtid=${type.rtid}"onclick=" return confirm('确认要删除该事务吗?')">删除</html:link></td>
  60. </tr>
  61. </logic:iterate>
  62. </logic:notEmpty>
  63. <logic:empty name="typepage" property="list" scope="request">
  64. <tr>
  65. <TD colspan="4" align="center"><a style="color: red ;font-size: 14"  >没有你查找的内容</a></TD>
  66. </tr>
  67. </logic:empty>
  68. </logic:present>
  69. </logic:present>
  70. </table>
  71. ${typepage.pageBar}
  72. <a href="<%=request.getContextPath()%>/login.do?method=main"><strong><< 返回首页 <strong></a>
  73.   </body>
  74. </html:html>