condition.html 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245
  1. <div>
  2. <div title="基本" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">标识:</td>
  6. <td class="editTableValue">text{$.id}</td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">创建时间:</td>
  10. <td class="editTableValue">text{$.createTime}</td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">类型:</td>
  14. <td class="editTableValue">text{$.type}</td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">名称:</td>
  18. <td class="editTableValue"><input type="text" name="name" jsondata="name" value="text{$.name}" class="editTableInput"/></td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">别名:</td>
  22. <td class="editTableValue"><input type="text" name="alias" jsondata="alias" value="text{$.alias}" class="editTableInput"/></td>
  23. </tr>
  24. <tr>
  25. <td class="editTableTitle">描述:</td>
  26. <td class="editTableValue"><textarea name="description" jsondata="description" class="editTableTextarea">text{$.description}</textarea></td>
  27. </tr>
  28. <tr>
  29. <td class="editTableTitle">表单:</td>
  30. <td class="editTableValue">
  31. <div class="MWFFormSelect" name="form"></div></td>
  32. </tr>
  33. </table>
  34. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  35. <tr>
  36. <td class="editTableValue" colspan="2"><b>是否允许调度:</b><input class="editTableRadio" name="allowReroute" text{($.allowReroute)?'checked':''} type="radio" value="true"/>是
  37. <input class="editTableRadio" name="allowReroute" text{(!$.allowReroute)?'checked':''} type="radio" value="false"/>否</td>
  38. </tr>
  39. <tr>
  40. <td class="editTableValue" colspan="2"><b>允许调度到此活动:</b><input class="editTableRadio" name="allowRerouteTo" text{($.allowRerouteTo)?'checked':''} type="radio" value="true"/>是
  41. <input class="editTeditTableRadioableInput" class="editTableInput" name="allowRerouteTo" text{(!$.allowRerouteTo)?'checked':''} type="radio" value="false"/>否</td>
  42. </tr>
  43. </table>
  44. <div class="MWFMaplist" name="customData" title="{{$.lp.customData}}" data-o2-advanced="yes"></div>
  45. </div>
  46. <!--<div title="路由" class="MWFTab">
  47. <div class="MWFCondition" name="script"></div>
  48. </div>-->
  49. <div title="人员" class="MWFTab">
  50. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  51. <tr>
  52. <td class="editTableHeadTitle" colspan="2">待阅人</td>
  53. </tr>
  54. <tr>
  55. <td class="editTableTitle">待阅人标识:</td>
  56. <td class="editTableValue">
  57. <div class="MWFPersonIdentity" name="readIdentityList" type="identity"></div>
  58. </td>
  59. </tr>
  60. <tr>
  61. <td class="editTableTitle">待阅组织:</td>
  62. <td class="editTableValue">
  63. <div class="MWFPersonUnit" name="readUnitList"></div>
  64. </td>
  65. </tr>
  66. <tr>
  67. <td class="editTableTitle">职  位:</td>
  68. <td class="editTableValue">
  69. <div class="MWFDutySelector" name="readDuty"></div>
  70. </td>
  71. </tr>
  72. <tr>
  73. <td class="editTableTitle">流程数据:</td>
  74. <td class="editTableValue">
  75. <div class="MWFFormFieldPerson" name="readDataPathList"></div>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td class="editTableTitle">脚本:</td>
  80. <td class="editTableValue">
  81. <div class="MWFScript" name="readScript"></div>
  82. </td>
  83. </tr>
  84. </table>
  85. <div class="MWFScriptText" name="readScriptText"></div>
  86. <hr />
  87. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  88. <tr>
  89. <td class="editTableHeadTitle" colspan="2">阅读人</td>
  90. </tr>
  91. <tr>
  92. <td class="editTableTitle">阅读人标识:</td>
  93. <td class="editTableValue">
  94. <div class="MWFPersonIdentity" name="reviewIdentityList" type="identity"></div>
  95. </td>
  96. </tr>
  97. <tr>
  98. <td class="editTableTitle">阅读组织:</td>
  99. <td class="editTableValue">
  100. <div class="MWFPersonUnit" name="reviewUnitList"></div>
  101. </td>
  102. </tr>
  103. <tr>
  104. <td class="editTableTitle">职  位:</td>
  105. <td class="editTableValue">
  106. <div class="MWFDutySelector" name="reviewDuty"></div>
  107. </td>
  108. </tr>
  109. <tr>
  110. <td class="editTableTitle">流程数据:</td>
  111. <td class="editTableValue">
  112. <div class="MWFFormFieldPerson" name="reviewDataPathList"></div>
  113. </td>
  114. </tr>
  115. <tr>
  116. <td class="editTableTitle">脚本:</td>
  117. <td class="editTableValue">
  118. <div class="MWFScript" name="reviewScript"></div>
  119. </td>
  120. </tr>
  121. </table>
  122. <div class="MWFScriptText" name="reviewScriptText"></div>
  123. </div>
  124. <div title="{{$.lp.event}}" class="MWFTab" data-o2-advanced="yes">
  125. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  126. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeArriveScript || $.beforeArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  127. <div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
  128. </>
  129. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  130. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  131. <tr>
  132. <td class="editTableTitle">文件收到前:</td>
  133. <td class="editTableValue">
  134. <div class="MWFScript" name="beforeArriveScript"></div>
  135. </td>
  136. </tr>
  137. </table>
  138. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  139. </div>
  140. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  141. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  142. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Arrive操作<br/>活动属性设置</div>
  143. </div>
  144. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  145. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterArriveScript || $.afterArriveScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  146. <div style="margin-left: 20px; padding: 0px 5px;">文件收到后</div>
  147. </div>
  148. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  149. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  150. <tr>
  151. <td class="editTableTitle">文件收到后:</td>
  152. <td class="editTableValue">
  153. <div class="MWFScript" name="afterArriveScript"></div>
  154. </td>
  155. </tr>
  156. </table>
  157. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  158. </div>
  159. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  160. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  161. </div>
  162. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  163. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeExecuteScript || $.beforeExecuteScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  164. <div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
  165. </div>
  166. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  167. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  168. <tr>
  169. <td class="editTableTitle">活动执行前:</td>
  170. <td class="editTableValue">
  171. <div class="MWFScript" name="beforeExecuteScript"></div>
  172. </td>
  173. </tr>
  174. </table>
  175. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  176. </div>
  177. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  178. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  179. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Execute操作<br/>执行自动活动任务</div>
  180. </div>
  181. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  182. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterExecuteScript || $.afterExecuteScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  183. <div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
  184. </div>
  185. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  186. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  187. <tr>
  188. <td class="editTableTitle">文件流转后:</td>
  189. <td class="editTableValue">
  190. <div class="MWFScript" name="afterExecuteScript"></div>
  191. </td>
  192. </tr>
  193. </table>
  194. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  195. </div>
  196. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  197. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  198. </div>
  199. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  200. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeInquireScript || $.beforeInquireScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  201. <div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
  202. </div>
  203. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  204. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  205. <tr>
  206. <td class="editTableTitle">路由查询前:</td>
  207. <td class="editTableValue">
  208. <div class="MWFScript" name="beforeInquireScript"></div>
  209. </td>
  210. </tr>
  211. </table>
  212. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  213. </div>
  214. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  215. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  216. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Inquire操作<br/>查询到达下一个活动的路由</div>
  217. </div>
  218. <div onclick="var node = this.getNext(); if (node.getStyle('display')=='none'){node.setStyle('display', 'block');}else{node.setStyle('display', 'none');}" style="cursor: pointer; line-height: 28px; height: 30px; font-weight: bold; background-color: #EEEEEE;">
  219. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterInquireScript || $.afterInquireScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  220. <div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
  221. </div>
  222. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  223. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  224. <tr>
  225. <td class="editTableTitle">路由查询后:</td>
  226. <td class="editTableValue">
  227. <div class="MWFScript" name="afterInquireScript"></div>
  228. </td>
  229. </tr>
  230. </table>
  231. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  232. </div>
  233. </div>
  234. </div>