processRunCheckSignReceipt.jsp 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
  3. <%@taglib prefix="f" uri="http://www.jee-soft.cn/functions" %>
  4. <%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
  5. <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
  6. <c:set var="ctx" value="${pageContext.request.contextPath}" />
  7. <head>
  8. <meta charset="utf-8">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  11. <link title="index" name="styleTag" rel="stylesheet" type="text/css" href="${ctx}/styles/blue/css/web.css">
  12. <%@include file="/commons/include/customForm.jsp" %>
  13. <script type="text/javascript" src="${ctx}/js/hotent/platform/system/SysDialog.js"></script>
  14. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/SelectUtil.js" ></script>
  15. <title>协同办公</title>
  16. <script>
  17. function renderFile(fileid){
  18. //获取正文
  19. if(fileid==""||fileid==null) return;
  20. //判断是否已经上传了文件
  21. if(fileid!=""){
  22. //将文件渲染到表单中
  23. var jsonObj = {};
  24. jsonObj.id = fileid;
  25. jsonObj.name = fileid+".pdf";
  26. var JsonStr=JSON.parse("["+JSON.stringify(jsonObj)+"]");
  27. var divObj = $("#fileidDiv"+fileid);
  28. var textareaObj=$("#fileidArea"+fileid);
  29. var html=AttachMent.getHtml(JsonStr,"w");
  30. divObj.empty();
  31. divObj.append(html);
  32. textareaObj.empty();
  33. textareaObj.val(JSON.stringify(JsonStr));
  34. }
  35. }
  36. function closeThis(){
  37. window.parent.closeDia();
  38. }
  39. </script>
  40. <style>
  41. .qs_link{
  42. font-weight: 400;
  43. text-align: center;
  44. white-space: nowrap;
  45. vertical-align: middle;
  46. -webkit-user-select: none;
  47. -moz-user-select: none;
  48. -ms-user-select: none;
  49. user-select: none;
  50. border: 1px solid transparent;
  51. padding: 0.2rem 1rem 0.2rem 0.6rem;
  52. font-size: 1rem;
  53. color: #fff!important;
  54. display: inline-block;
  55. line-height: 1.25;
  56. border-radius: .2rem;
  57. text-decoration: none;
  58. /* border-radius: .25rem; */
  59. transition: all .15s ease-in-out;
  60. /* width: 100%; */
  61. /* height: 100%; */
  62. background: #3094f1 !important;
  63. margin-bottom: 15px;
  64. }
  65. .qs_link span{
  66. font-size: 16px;
  67. font-weight: bold;
  68. color: #fff;
  69. margin-right: 5px;
  70. }
  71. .table td{
  72. text-align: center;
  73. }
  74. .qs_div .panel-toolbar{
  75. padding: 0px 5px 0px;
  76. }
  77. </style>
  78. <script>
  79. var dialog
  80. function selectSignForContent(ID){
  81. var url="${ctx}/platform/bpm/processRun/selectSignForContent.ht?id="+ID;
  82. dialog=DialogUtil.open({
  83. height : 540,
  84. width : 600,
  85. title : '办理结果',
  86. url: url
  87. });
  88. }
  89. function closeDia(){
  90. dialog.close();
  91. }
  92. </script>
  93. </head>
  94. <body>
  95. <div class="panel qs_div">
  96. <div class="panel-top">
  97. <div class="panel-toolbar">
  98. <div class="toolBar">
  99. <div class="group"><a class="qs_link" onclick="closeThis()" href="#"><span>X</span>关闭</a></div>
  100. <div class="l-bar-separator"></div>
  101. </div>
  102. </div>
  103. </div>
  104. </div>
  105. <div class="panel-body">
  106. <table cellspacing="1" id="processRunItem" class="table table-grid table-list" cellpadding="1" style="margin-top: 0px;">
  107. <thead>
  108. <tr>
  109. <th style="text-align:center">人员姓名</th>
  110. <th style="text-align:center">签收时间</th>
  111. <th style="text-align:center">当前状态</th>
  112. <th style="text-align:center">办理结果</th>
  113. </tr>
  114. </thead>
  115. <tbody>
  116. <c:forEach items="${signReceiptList}" var="signReceiptItem" >
  117. <tr>
  118. <td> ${signReceiptItem.FULLNAME}</td>
  119. <td>${signReceiptItem.SIGNINGTIME}</td>
  120. <td>
  121. <c:if test="${signReceiptItem.STATUS eq '0'}"><div style="color:red">未签收</div></c:if>
  122. <c:if test="${signReceiptItem.STATUS eq '1'}"><div style="color:green">已签收</div></c:if>
  123. <c:if test="${signReceiptItem.STATUS eq '2'}"><div style="color:grey">已驳回</div></c:if>
  124. <c:if test="${signReceiptItem.STATUS eq '3'}"><div style="color:blue">已办结</div></c:if>
  125. </td>
  126. <td>
  127. <c:if test="${signReceiptItem.STATUS eq '2' || signReceiptItem.STATUS eq '3'}">
  128. <input type="button" class="link " onclick="selectSignForContent('${signReceiptItem.ID}')" value="查看" style="background: #3094f1;border:0px;color: #fff;cursor: pointer; " />
  129. </c:if>
  130. </td>
  131. </tr>
  132. </c:forEach>
  133. </tbody>
  134. </table>
  135. </div>
  136. </body>