printProcess.jsp 3.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. <%@ page language="java" contentType="text/html;charset=GBK"
  2. pageEncoding="GBK"%>
  3. <%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
  4. <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  5. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  6. <html>
  7. <head>
  8. <meta http-equiv="Content-Type" content="text/html;charset=GBK">
  9. <title>流程列表</title>
  10. <script type="text/javascript" src="/shares/pazu/plugPrint.js"></script>
  11. </head>
  12. <body>
  13. <TABLE width="100%" cellpadding="0" cellspacing="0" align="center"
  14. class="p__" style="margin: 0px auto;">
  15. <TR class="p__">
  16. <TD align="center" id="form1" class="p__">
  17. <!-- <INPUT type="button" -->
  18. <!-- value="直接打印" class="p__" onclick="prn1_print()"> -->
  19. <INPUT
  20. type="button" value="打印预览" onclick="prn1_preview()" class="p__"></TD>
  21. </TR>
  22. </TABLE>
  23. <center>
  24. <table style="width: 100%;" cellspacing="0" cellpadding="0" border="1">
  25. <tbody>
  26. <tr>
  27. <c:if test="${fn:contains(requestScope.content, '1')}">
  28. <th style="width: 15%; text-align: center; height: 40px;">环节名称
  29. </th>
  30. </c:if>
  31. <c:if test="${fn:contains(requestScope.content, '2')}">
  32. <th style="width: 15%; text-align: center; height: 40px;">操作人
  33. </th>
  34. </c:if>
  35. <c:if test="${fn:contains(requestScope.content, '3')}">
  36. <th style="width: 25%; text-align: center; height: 40px;">备注及意见
  37. </th>
  38. </c:if>
  39. <c:if test="${fn:contains(requestScope.content, '4')}">
  40. <th style="width: 20%; text-align: center; height: 40px;">创建时间
  41. </th>
  42. </c:if>
  43. <c:if test="${fn:contains(requestScope.content, '5')}">
  44. <th style="width: 20%; text-align: center; height: 40px;">办结时间
  45. </th>
  46. </c:if>
  47. </tr>
  48. </tbody>
  49. <tbody>
  50. <c:forEach items="${requestScope.tacheList }" var="tache">
  51. <tr>
  52. <c:if test="${fn:contains(requestScope.content, '1')}">
  53. <td style="text-align: center; height: 30px;">
  54. ${tache.tmodelId.tmodelName }</td>
  55. </c:if>
  56. <c:if test="${fn:contains(requestScope.content, '2')}">
  57. <td style="text-align: center; height: 30px;"><c:choose>
  58. <c:when
  59. test="${tache.authorizedUser.userId!=null && tache.authorizedUser.userId!='0' && tache.authorizedUser.userId!='' }">
  60. ${tache.user.username }(授权:${tache.authorizedUser.username})
  61. </c:when>
  62. <c:otherwise>
  63. ${tache.user.username }
  64. </c:otherwise>
  65. </c:choose></td>
  66. </c:if>
  67. <c:if test="${fn:contains(requestScope.content, '3')}">
  68. <td style="text-align: center; height: 30px;">
  69. ${tache.remark }</td>
  70. </c:if>
  71. <c:if test="${fn:contains(requestScope.content, '4')}">
  72. <td style="text-align: center; height: 30px;">
  73. ${fn:substring(tache.createdate, 0, 19) }</td>
  74. </c:if>
  75. <c:if test="${fn:contains(requestScope.content, '5')}">
  76. <td style="text-align: center; height: 30px;">
  77. ${fn:substring(tache.finishdate, 0, 19) }</td>
  78. </c:if>
  79. </tr>
  80. </c:forEach>
  81. </tbody>
  82. </table>
  83. </center>
  84. </body>
  85. </html>