bpmDefinitionNodeSummary.jsp 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  2. <%@include file="/commons/include/html_doctype.html" %>
  3. <html>
  4. <head>
  5. <title>节点概要</title>
  6. <%@include file="/commons/include/form.jsp" %>
  7. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/FlowEventWindow.js" ></script>
  8. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/FlowRuleWindow.js" ></script>
  9. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/FlowReminderWindow.js" ></script>
  10. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/BpmNodeButtonWindow.js" ></script>
  11. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/BpmNodeUserSetWindow.js" ></script>
  12. <script type="text/javascript" src="${ctx}/js/hotent/platform/bpm/FlowApprovalItemWindow.js" ></script>
  13. <style>
  14. .green-set{
  15. font-weight: bold;color: green;font-size: 20px;
  16. }
  17. .red-set{
  18. font-weight: bold;color: red;font-size: 20px;
  19. }
  20. .normal-set{
  21. font-weight: bold;font-size: 20px;
  22. }
  23. .header {
  24. height: 26px;
  25. margin-top: 2px;
  26. padding:8px 5px 5px;
  27. background:#ebebeb;
  28. border-bottom: solid 1px #cacaca;
  29. border-top: solid 1px #cacaca;
  30. }
  31. </style>
  32. </head>
  33. <body>
  34. <div class="panel">
  35. <c:if test="${empty nodeId}">
  36. <jsp:include page="incDefinitionHead.jsp">
  37. <jsp:param value="节点概要" name="title" />
  38. </jsp:include>
  39. <div class="panel-container">
  40. <f:tab curTab="nodeSummary" tabName="flow" />
  41. </c:if>
  42. <c:if test="${!empty nodeId}">
  43. <div class="panel-container">
  44. </c:if>
  45. <div class="panel-body">
  46. <div>
  47. 图示:<span class="green-set">√</span>:表示已经设置 &nbsp;&nbsp;&nbsp;&nbsp;
  48. <span class="red-set" >×</span>:表示未设置&nbsp;&nbsp;&nbsp;&nbsp;
  49. <span class="normal-set" >-</span>:表示没有该功能&nbsp;&nbsp;&nbsp;&nbsp;
  50. <a href="javascript:;" class="link edit" title="设置" ></a>:表示可以对该功能进行设置
  51. </div>
  52. <form method="post" >
  53. <input type="hidden" name="defId" value="${defId}" />
  54. <input type="hidden" name="nodeId" value="${nodeId}" />
  55. <table class="table-grid" style="width: 100%">
  56. <tr>
  57. <td width="15px" nowrap="nowrap" rowspan="2" style="text-align: center;font-weight: bold;" class="header" >序号</td>
  58. <td rowspan="2" style="text-align: center;font-weight: bold;" class="header ">节点名称</td>
  59. <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">人员设置</td>
  60. <!-- <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">常用语设置</td> -->
  61. <td colspan="5" style="text-align: center;font-weight: bold;" class="header">流程事件</td>
  62. <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">流程规则</td>
  63. <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">表单设置</td>
  64. <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">操作按钮</td>
  65. <td rowspan="2" colspan="2" style="text-align: center;font-weight: bold;" class="header">催办设置</td>
  66. </tr>
  67. <tr>
  68. <td nowrap="nowrap" style="text-align: center;font-weight: bold;" class="header">任务<br>创建</td>
  69. <td nowrap="nowrap" style="text-align: center;font-weight: bold;" class="header">任务<br>结束</td>
  70. <td nowrap="nowrap" style="text-align: center;font-weight: bold;"class="header">分配</td>
  71. <td nowrap="nowrap" style="text-align: center;font-weight: bold;"class="header">开始</br>结束</td>
  72. <td nowrap="nowrap" style="text-align: center;font-weight: bold;" class="header">&nbsp;</td>
  73. </tr>
  74. <tr>
  75. <td>-</td>
  76. <td>全局设置</td>
  77. <td><span class="normal-set">-</span></td>
  78. <td><span class="normal-set">-</span></td>
  79. <%-- <td>
  80. <c:choose>
  81. <c:when test="${globalApprovalMap['global']}">
  82. <span class="green-set">√</span>
  83. </c:when>
  84. <c:otherwise>
  85. <span class="red-set" >×</span>
  86. </c:otherwise>
  87. </c:choose>
  88. </td>
  89. <td>
  90. <a href="javascript:;" class="link edit" title="设置" onclick="FlowApprovalItemWindow({actDefId:'${actDefId}',activitiId:'',defId:'${defId}',callback:function(){window.location.reload()}});"></a>
  91. </td> --%>
  92. <td><span class="normal-set">-</span></td>
  93. <td><span class="normal-set">-</span></td>
  94. <td><span class="normal-set">-</span></td>
  95. <td><span class="normal-set">-</span></td>
  96. <td><span class="normal-set">-</span></td>
  97. <td><span class="normal-set">-</span></td>
  98. <td><span class="normal-set">-</span></td>
  99. <td>
  100. <c:choose>
  101. <c:when test="${formMap['global']}">
  102. <span class="green-set">√</span>
  103. </c:when>
  104. <c:otherwise>
  105. <span class="red-set">×</span>
  106. </c:otherwise>
  107. </c:choose>
  108. </td>
  109. <td><a href="${ctx}/platform/bpm/bpmNodeSet/list.ht?defId=${defId}" class="link edit" title="设置" ></a></td>
  110. <td><span class="normal-set">-</span></td>
  111. <td><span class="normal-set">-</span></td>
  112. <td><span class="normal-set">-</span></td>
  113. <td><span class="normal-set">-</span></td>
  114. </tr>
  115. <tr>
  116. <td>-</td>
  117. <td>开始节点</br>(${startFlowNode.nodeName})</td>
  118. <td><span class="normal-set">-</span></td>
  119. <td><span class="normal-set">-</span></td>
  120. <!-- <td><span class="normal-set">-</span></td>
  121. <td><span class="normal-set">-</span></td> -->
  122. <td><span class="normal-set">-</span></td>
  123. <td><span class="normal-set">-</span></td>
  124. <td><span class="normal-set">-</span></td>
  125. <td>
  126. <c:choose>
  127. <c:when test="${startScriptMap[startFlowNode.nodeId]}">
  128. <span class="green-set">√</span>
  129. </c:when>
  130. <c:otherwise>
  131. <span class="red-set">×</span>
  132. </c:otherwise>
  133. </c:choose>
  134. </td>
  135. <td>
  136. <a href="javascript:;" class="link edit" title="设置"
  137. onclick="FlowEventWindow({type:'startEvent',actDefId:'${actDefId}',activitiId:'${startFlowNode.nodeId}',defId:'${defId}',callback:function(){window.location.reload()}});"></a>
  138. </td>
  139. <td><span class="normal-set">-</span></td>
  140. <td><span class="normal-set">-</span></td>
  141. <td>
  142. <c:choose>
  143. <c:when test="${formMap['start']}">
  144. <span class="green-set">√</span>
  145. </c:when>
  146. <c:otherwise>
  147. <span class="red-set">×</span>
  148. </c:otherwise>
  149. </c:choose> </td>
  150. <td><span class="normal-set">-</span></td>
  151. <td>
  152. <c:choose>
  153. <c:when test="${buttonMap[startFlowNode.nodeId]}">
  154. <span class="green-set">√</span>
  155. </c:when>
  156. <c:otherwise>
  157. <span class="red-set">×</span>
  158. </c:otherwise>
  159. </c:choose>
  160. </td>
  161. <td><a href="javascript:;" class="link edit" title="设置" onclick="BpmNodeButtonWindow({defId:'${defId}',nodeId:'',callback:function(){window.location.reload()}})"></a></td>
  162. <td><span class="normal-set">-</span></td>
  163. <td><span class="normal-set">-</span></td>
  164. </tr>
  165. <c:forEach items="${endFlowNodeList}" var="endFlowNode">
  166. <tr>
  167. <td>-</td>
  168. <td>结束节点</br>(${endFlowNode.nodeName})</td>
  169. <td><span class="normal-set">-</span></td>
  170. <td><span class="normal-set">-</span></td>
  171. <!-- <td><span class="normal-set">-</span></td>
  172. <td><span class="normal-set">-</span></td> -->
  173. <td><span class="normal-set">-</span></td>
  174. <td><span class="normal-set">-</span></td>
  175. <td><span class="normal-set">-</span></td>
  176. <td>
  177. <c:choose>
  178. <c:when test="${endScriptMap[endFlowNode.nodeId]}">
  179. <span class="green-set">√</span>
  180. </c:when>
  181. <c:otherwise>
  182. <span class="red-set">×</span>
  183. </c:otherwise>
  184. </c:choose>
  185. </td>
  186. <td>
  187. <a href="javascript:;" class="link edit" title="设置" onclick="FlowEventWindow({type:'endEvent',actDefId:'${actDefId}',activitiId:'${endFlowNode.nodeId}',defId:'${defId}',callback:function(){window.location.reload()}});"></a>
  188. </td>
  189. <td><span class="normal-set">-</span></td>
  190. <td><span class="normal-set">-</span></td>
  191. <td><span class="normal-set">-</span></td>
  192. <td><span class="normal-set">-</span></td>
  193. <td><span class="normal-set">-</span></td>
  194. <td><span class="normal-set">-</span></td>
  195. <td><span class="normal-set">-</span></td>
  196. <td><span class="normal-set">-</span></td>
  197. </tr>
  198. </c:forEach>
  199. <c:forEach items="${nodeSetList}" var="nodeSet" varStatus="i">
  200. <tr>
  201. <td>${i.count}</td>
  202. <td>${nodeSet.nodeName}</br>(${nodeSet.nodeId})</td>
  203. <!-- 人员设置 -->
  204. <td>
  205. <c:choose>
  206. <c:when test="${nodeUserMap[nodeSet.setId]}">
  207. <span class="green-set">√</span>
  208. </c:when>
  209. <c:otherwise>
  210. <span class="red-set">×</span>
  211. </c:otherwise>
  212. </c:choose>
  213. </td>
  214. <td>
  215. <a href="javascript:;" class="link edit" title="设置" onclick="UserSetWindow({defId:'${defId}',nodeId:'${nodeSet.nodeId}',parentActDefId:'${parentActDefId}',callback:function(){window.location.reload()}});"></a>
  216. </td>
  217. <%-- <!-- 常用语 -->
  218. <td>
  219. <c:choose>
  220. <c:when test="${taskApprovalItemsMap[nodeSet.setId]}">
  221. <span class="green-set">√</span>
  222. </c:when>
  223. <c:otherwise>
  224. <span class="red-set">×</span>
  225. </c:otherwise>
  226. </c:choose>
  227. </td>
  228. <td>
  229. <a href="javascript:;" class="link edit" title="设置" onclick="FlowApprovalItemWindow({actDefId:'${actDefId}',activitiId:'${nodeSet.nodeId}',defId:'${defId}',callback:function(){window.location.reload()}});"></a>
  230. </td> --%>
  231. <!-- 流程事件-前置脚本 -->
  232. <td>
  233. <c:choose>
  234. <c:when test="${preScriptMap[nodeSet.setId]}">
  235. <span class="green-set">√</span>
  236. </c:when>
  237. <c:otherwise>
  238. <span class="red-set">×</span>
  239. </c:otherwise>
  240. </c:choose>
  241. </td>
  242. <!-- 流程事件-后置脚本 -->
  243. <td>
  244. <c:choose>
  245. <c:when test="${afterScriptMap[nodeSet.setId]}">
  246. <span class="green-set">√</span>
  247. </c:when>
  248. <c:otherwise>
  249. <span class="red-set">×</span>
  250. </c:otherwise>
  251. </c:choose>
  252. </td>
  253. <!-- 流程事件-分配脚本 -->
  254. <td>
  255. <c:choose>
  256. <c:when test="${assignScriptMap[nodeSet.setId]}">
  257. <span class="green-set">√</span>
  258. </c:when>
  259. <c:otherwise>
  260. <span class="red-set">×</span>
  261. </c:otherwise>
  262. </c:choose>
  263. </td>
  264. <td>
  265. <span class="normal-set">-</span>
  266. </td>
  267. <td>
  268. <a href="javascript:;" class="link edit" title="设置" onclick="FlowEventWindow({type:'userTask',actDefId:'${actDefId}',activitiId:'${nodeSet.nodeId}',defId:'${defId}',parentActDefId:'${parentActDefId}'});"></a>
  269. </td>
  270. <!-- 流程规则 -->
  271. <td>
  272. <c:choose>
  273. <c:when test="${nodeRulesMap[nodeSet.setId]}">
  274. <span class="green-set">√</span>
  275. </c:when>
  276. <c:otherwise>
  277. <span class="red-set">×</span>
  278. </c:otherwise>
  279. </c:choose>
  280. </td>
  281. <td>
  282. <a href="javascript:;" class="link edit" title="设置" onclick="FlowRuleWindow({deployId:'${deployId}',actDefId:'${nodeSet.actDefId}',nodeId:'${nodeSet.nodeId}',nodeName:'${nodeSet.nodeName}',parentActDefId:'${parentActDefId}',callback:function(){window.location.reload()}});"></a>
  283. </td>
  284. <!-- 流程表单 -->
  285. <td>
  286. <c:choose>
  287. <c:when test="${bpmFormMap[nodeSet.setId]}">
  288. <span class="green-set">√</span>
  289. </c:when>
  290. <c:otherwise>
  291. <span class="red-set">×</span>
  292. </c:otherwise>
  293. </c:choose>
  294. </td>
  295. <td>
  296. <a href="${ctx}/platform/bpm/bpmNodeSet/list.ht?defId=${defId}&parentActDefId=${parentActDefId}" class="link edit" title="设置" ></a>
  297. </td>
  298. <!-- 操作按钮-->
  299. <td>
  300. <c:choose>
  301. <c:when test="${nodeButtonMap[nodeSet.setId]}">
  302. <span class="green-set">√</span>
  303. </c:when>
  304. <c:otherwise>
  305. <span class="red-set">×</span>
  306. </c:otherwise>
  307. </c:choose>
  308. </td>
  309. <td>
  310. <a href="javascript:;" class="link edit" title="设置" onclick="BpmNodeButtonWindow({defId:'${defId}',nodeId:'${nodeSet.nodeId}',callback:function(){window.location.reload()}})"></a>
  311. </td>
  312. <!-- 催办设置-->
  313. <td>
  314. <c:choose>
  315. <c:when test="${taskReminderMap[nodeSet.setId]}">
  316. <span class="green-set">√</span>
  317. </c:when>
  318. <c:otherwise>
  319. <span class="red-set">×</span>
  320. </c:otherwise>
  321. </c:choose>
  322. </td>
  323. <td>
  324. <a href="javascript:;" class="link edit" title="设置" onclick="FlowReminderWindow({actDefId:'${actDefId}',nodeId:'${nodeSet.nodeId}',parentActDefId:'${parentActDefId}',callback:function(){window.location.reload()}})"></a>
  325. </td>
  326. </tr>
  327. </c:forEach>
  328. </table>
  329. <div style="height: 40px"></div>
  330. </form>
  331. </div>
  332. </div>
  333. </div>
  334. </div>
  335. </body>
  336. </html>