process.html 34 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537
  1. <div class="editNode">
  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{$.creatorPerson}</td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">创建时间:</td>
  14. <td class="editTableValue">text{$.createTime}</td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">更新人:</td>
  18. <td class="editTableValue">text{$.lastUpdatePerson}</td>
  19. </tr>
  20. <tr>
  21. <td class="editTableTitle">更新时间:</td>
  22. <td class="editTableValue">text{$.lastUpdateTime}</td>
  23. </tr>
  24. <tr>
  25. <td class="editTableTitle">应用:</td>
  26. <td class="editTableValue">text{$.applicationName}</td>
  27. </tr>
  28. <tr>
  29. <td class="editTableTitle">名称:</td>
  30. <td class="editTableValue"><input type="text" name="name" value="text{$.name}" class="editTableInput"/></td>
  31. </tr>
  32. <tr>
  33. <td class="editTableTitle">别名:</td>
  34. <td class="editTableValue"><input type="text" name="alias" value="text{$.alias}" class="editTableInput"/></td>
  35. </tr>
  36. <tr>
  37. <td class="editTableTitle">描述:</td>
  38. <td class="editTableValue"><textarea name="description" class="editTableTextarea">text{$.description}</textarea></td>
  39. </tr>
  40. <tr>
  41. <td class="editTableTitle">图标:</td>
  42. <td class="editTableValue"><div class="MWFIcon" name="icon"></div></td>
  43. </tr>
  44. <tr>
  45. <td class="editTableTitle">使用路由<br>名称作为<br>缺省意见:</td>
  46. <td class="editTableValue">
  47. <input class="editTableRadio" name="routeNameAsOpinion" text{($.routeNameAsOpinion===true)?'checked':''} type="radio" value="true"/>是
  48. <input class="editTableRadio" name="routeNameAsOpinion" text{($.routeNameAsOpinion!==true)?'checked':''} type="radio" value="false"/>否
  49. <br/>(选择“否”:处理意见没填写则意见为空)
  50. </td>
  51. </tr>
  52. </table>
  53. <div data-o2-advanced="yes">
  54. <div style="height: 22px; line-height: 22px; background-color: #f1f1f1; text-align: center; font-weight: bold; border-top: 1px solid #cccccc">版 本</div>
  55. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  56. <tr>
  57. <td class="editTableTitle">版本名称:</td>
  58. <td class="editTableValue">text{$.editionName}</td>
  59. </tr>
  60. <tr>
  61. <td class="editTableTitle">版本标识:</td>
  62. <td class="editTableValue">text{$.edition}</td>
  63. </tr>
  64. <tr>
  65. <td class="editTableTitle">版本描述:</td>
  66. <td class="editTableValue"><textarea name="editionDes" class="editTableTextarea">text{$.editionDes}</textarea></td>
  67. </tr>
  68. </table>
  69. <div style="height: 22px; line-height: 22px; background-color: #f1f1f1; text-align: center; font-weight: bold; border-top: 1px solid #cccccc">启 动</div>
  70. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  71. <tr>
  72. <td class="editTableTitle">启动终端:</td>
  73. <td class="editTableValue">
  74. <input class="editTableRadio" name="startableTerminal" text{($.startableTerminal!=='client' && $.startableTerminal!=='mobile')?'checked':''} type="radio" value="all"/>PC端和移动端
  75. <input class="editTableRadio" name="startableTerminal" text{($.startableTerminal==='client')?'checked':''} type="radio" value="client"/>仅PC端
  76. <!-- <input class="editTableRadio" name="startableTerminal" text{($.startableTerminal==='mobile')?'checked':''} type="radio" value="mobile"/>移动端-->
  77. </td>
  78. </tr>
  79. </table>
  80. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  81. <tr>
  82. <td class="editTableTitle">启动模式:</td>
  83. <td class="editTableValue">
  84. <input class="editTableRadio" name="defaultStartMode" onclick="if (this.checked){ $('text{$.id}checkDraftArea').setStyle('display', 'block');}" text{($.defaultStartMode!=='draft')?'checked':''} type="radio" value="instance"/>实例模式
  85. <span style="color: #999999; font-size: 12px"> (新建流程时直接创建流程实例,给拟稿人生成待办)</span>
  86. <br/><input class="editTableRadio" name="defaultStartMode" onclick="if (this.checked){ $('text{$.id}checkDraftArea').setStyle('display', 'none');}" text{($.defaultStartMode==='draft')?'checked':''} type="radio" value="draft"/>草稿模式
  87. <span style="color: #999999; font-size: 12px"> (新建流程时不创建流程实例,不生成待办,产生一个草稿文档,直到流转时才创建流程实例)</span>
  88. </td>
  89. </tr>
  90. </table>
  91. <div id="text{$.id}checkDraftArea" style="display: text{($.defaultStartMode=='draft')?'none':'block'};">
  92. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  93. <tr>
  94. <td class="editTableTitle">新建检查:</td>
  95. <td class="editTableValue">
  96. <input class="editTableRadio" name="checkDraft" text{($.checkDraft===true)?'checked':''} type="radio" value="true"/>是
  97. <input class="editTableRadio" name="checkDraft" text{($.checkDraft!==true)?'checked':''} type="radio" value="false"/>否
  98. <br/>(选择“是”:未保存过的流程实例不会保留)
  99. </td>
  100. </tr>
  101. </table>
  102. </div>
  103. </div>
  104. <div style="height: 22px; line-height: 22px; background-color: #f1f1f1; text-align: center; font-weight: bold; border-top: 1px solid #cccccc">权 限</div>
  105. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable" id="processEditStarter">
  106. <tr>
  107. <td class="editTableTitle">启动人:</td>
  108. <td class="editTableValue">
  109. <div class="MWFPersonIdentity" name="startableIdentityList"></div>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td class="editTableTitle">启动组织:</td>
  114. <td class="editTableValue">
  115. <div class="MWFPersonUnit" name="startableUnitList"></div>
  116. </td>
  117. </tr>
  118. <!--<tr>-->
  119. <!--<td class="editTableTitle">启动部门:</td>-->
  120. <!--<td class="editTableValue">-->
  121. <!--<div class="MWFPersonDepartment" name="startableDepartmentList"></div>-->
  122. <!--</td>-->
  123. <!--</tr>-->
  124. <!--<tr>-->
  125. <!--<td class="editTableTitle">启动公司:</td>-->
  126. <!--<td class="editTableValue">-->
  127. <!--<div class="MWFPersonCompany" name="startableCompanyList"></div>-->
  128. <!--</td>-->
  129. <!--</tr>-->
  130. </table>
  131. <hr />
  132. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  133. <tr>
  134. <td class="editTableTitle">管理者:</td>
  135. <td class="editTableValue">
  136. <div class="MWFPersonPerson" name="controllerList"></div>
  137. </td>
  138. </tr>
  139. <!--<tr>-->
  140. <!--<td class="editTableTitle">管理部门:</td>-->
  141. <!--<td class="editTableValue">-->
  142. <!--<div class="MWFPersonDepartment" name="manageDepartmentList"></div>-->
  143. <!--</td>-->
  144. <!--</tr>-->
  145. <!--<tr>-->
  146. <!--<td class="editTableTitle">管理者脚本:</td>-->
  147. <!--<td class="editTableValue">-->
  148. <!--&lt;!&ndash; <textarea type="text" jsondata="reviewerScriptIdList" value="text{$.reviewerScriptIdList}" class="editTableInput"></textarea> &ndash;&gt;-->
  149. <!--<div class="MWFScript" name="manageScriptList"></div>-->
  150. <!--</td>-->
  151. <!--</tr>-->
  152. </table>
  153. <hr />
  154. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  155. <tr>
  156. <td class="editTableTitle">阅读者:</td>
  157. <td class="editTableValue">
  158. <div class="MWFPersonIdentity" name="reviewIdentityList"></div>
  159. </td>
  160. </tr>
  161. <!--<tr>-->
  162. <!--<td class="editTableTitle">阅读部门:</td>-->
  163. <!--<td class="editTableValue">-->
  164. <!--<div class="MWFPersonDepartment" name="reviewDepartmentList"></div>-->
  165. <!--</td>-->
  166. <!--</tr>-->
  167. <!--<tr>-->
  168. <!--<td class="editTableTitle">阅读人脚本:</td>-->
  169. <!--<td class="editTableValue">-->
  170. <!--&lt;!&ndash; <textarea type="text" jsondata="reviewerScriptIdList" value="text{$.reviewerScriptIdList}" class="editTableInput"></textarea> &ndash;&gt;-->
  171. <!--<div class="MWFScript" name="reviewScriptList"></div>-->
  172. <!--</td>-->
  173. <!--</tr>-->
  174. </table>
  175. </div>
  176. <div title="编号" class="MWFTab" data-o2-advanced="yes">
  177. <div class="MWFSerial" name="serialTexture"></div>
  178. <div style="border-top: 1px solid #CCC">
  179. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  180. <tr>
  181. <td class="editTableTitle">编号活动:</td>
  182. <td class="editTableValue">
  183. <div class="MWFSericalActivitySelect" name="serialActivity"></div></td>
  184. </tr>
  185. <tr>
  186. <td class="editTableTitle">触发条件:</td>
  187. <td class="editTableValue">
  188. <input class="editTableRadio" name="serialPhase" text{($.serialPhase!="inquire")?'checked':''} type="radio" value="arrive"/>到达
  189. <input class="editTableRadio" name="serialPhase" text{($.serialPhase=="inquire")?'checked':''} type="radio" value="inquire"/>提交
  190. </td>
  191. </tr>
  192. </table>
  193. </div>
  194. </div>
  195. <div title="时效" class="MWFTab" data-o2-advanced="yes">
  196. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  197. <tr>
  198. <td class="editTableTitle">流程超时:</td>
  199. <td class="editTableValue">
  200. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}expireTypeAppointEditArea').setStyle('display', 'none'); $('text{$.id}expireTypeScriptEditArea').setStyle('display', 'none');}" name="expireType" text{($.expireType!='appoint' && $.expireType!='script')?'checked':''} type="radio" value="never"/>不超时
  201. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}expireTypeAppointEditArea').setStyle('display', 'block'); $('text{$.id}expireTypeScriptEditArea').setStyle('display', 'none');}" name="expireType" text{($.expireType=='appoint')?'checked':''} type="radio" value="appoint"/>指定时长
  202. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}expireTypeAppointEditArea').setStyle('display', 'none'); $('text{$.id}expireTypeScriptEditArea').setStyle('display', 'block');}" name="expireType" text{($.expireType=='script')?'checked':''} type="radio" value="script"/>通过脚本设定
  203. </td>
  204. </tr>
  205. </table>
  206. <div id="text{$.id}expireTypeAppointEditArea" style="display: text{($.expireType=='appoint')?'block':'none'}; margin-top: 5px;">
  207. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  208. <tr>
  209. <td class="editTableTitle">超时时长:</td>
  210. <td class="editTableValue">
  211. <input type="text" name="expireDay" value="text{ $.expireDay === 0 ? 0 : ($.expireDay || 7) }" style="width: 80px; border: 1px solid #cccccc"/> 天 <br/>
  212. <input type="text" name="expireHour" value="text{($.expireHour) ? $.expireHour : 0}" style="width: 80px; border: 1px solid #cccccc"/> 小时
  213. </td>
  214. </tr>
  215. <tr>
  216. <td class="editTableTitle"></td>
  217. <td class="editTableValue">
  218. <input class="editTableRadio" name="expireWorkTime" text{!($.expireWorkTime===false)?'checked':''} type="radio" value="true"/>仅计算工作时间
  219. <input class="editTableRadio" name="expireWorkTime" text{($.expireWorkTime===false)?'checked':''} type="radio" value="false"/>包含非指定时长
  220. </td>
  221. </tr>
  222. </table>
  223. </div>
  224. <div id="text{$.id}expireTypeScriptEditArea" style="display: text{($.expireType=='script')?'block':'none'}; margin-top: 5px;">
  225. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  226. <tr>
  227. <td class="editTableTitle">脚本:</td>
  228. <td class="editTableValue">
  229. <div class="MWFScript" name="expireScript"></div>
  230. </td>
  231. </tr>
  232. </table>
  233. <div class="MWFScriptText" name="expireScriptText"></div><hr />
  234. <div style="margin: 5px;">脚本返回JSON数据: <br>
  235. {<br>
  236. <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>hour: 3 <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>//几小时后超时<br>
  237. <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>workHour: 5 <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>//几个工作小时后超时<br>
  238. <span>&nbsp;&nbsp;&nbsp;&nbsp;</span>date: '2016-08-01' <span>&nbsp;&nbsp;</span>//到达指定时间后超时<br>
  239. }<br>
  240. 三个值任选其一</div>
  241. </div>
  242. </div>
  243. <div title="映射" class="MWFTab" data-o2-advanced="yes">
  244. <div class="MWFProjection" name="projection">
  245. <div style="margin: 0px; height: 20px; padding: 5px; background-color: #F6F6F6; line-height: 20px; text-align: center">映射业务数据</div>
  246. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  247. <tr>
  248. <td class="editTableTitle">数据名称:</td>
  249. <td class="editTableValue"><input type="text" value="" class="editTableInput"/></td>
  250. </tr>
  251. <tr>
  252. <td class="editTableTitle">数据路径:</td>
  253. <td class="editTableValue"><input type="text" value="" class="editTableInput"/></td>
  254. </tr>
  255. <tr>
  256. <td class="editTableTitle">数据类型:</td>
  257. <td class="editTableValue"><select>
  258. <option value='string'>string</option>
  259. <option value='long'>long</option>
  260. <option value='double'>double</option>
  261. <option value='boolean'>boolean</option>
  262. <option value='date'>date</option>
  263. <option value='time'>time</option>
  264. <option value='datetime'>datetime</option>
  265. </select></td>
  266. </tr>
  267. </table>
  268. <div></div>
  269. <div></div>
  270. </div>
  271. <hr/>
  272. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  273. <tr>
  274. <td class="editTableValue">
  275. <b>每次流转刷新映射数据:</b>
  276. <input class="editTableRadio" name="projectionFully" text{($.projectionFully!==false)?'checked':''} type="radio" value="true"/>是
  277. <input class="editTableRadio" name="projectionFully" text{($.projectionFully===false)?'checked':''} type="radio" value="false"/>否
  278. </td>
  279. </tr>
  280. </table>
  281. </div>
  282. <div title="事件" class="MWFTab" data-o2-advanced="yes">
  283. <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;">
  284. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeBeginScript || $.beforeBeginScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  285. <div style="margin-left: 20px; padding: 0px 5px;">流程启动前</div>
  286. </div>
  287. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  288. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  289. <tr>
  290. <td class="editTableTitle">流程启动前:</td>
  291. <td class="editTableValue">
  292. <div class="MWFScript" name="beforeBeginScript"></div>
  293. </td>
  294. </tr>
  295. </table>
  296. <div class="MWFScriptText" name="beforeBeginScriptText"></div><hr />
  297. </div>
  298. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  299. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  300. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">启动流程生成work实例</div>
  301. </div>
  302. <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;">
  303. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterBeginScript || $.afterBeginScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  304. <div style="margin-left: 20px; padding: 0px 5px;">流程启动后</div>
  305. </div>
  306. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  307. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  308. <tr>
  309. <td class="editTableTitle">流程启动后:</td>
  310. <td class="editTableValue">
  311. <div class="MWFScript" name="afterBeginScript"></div>
  312. </td>
  313. </tr>
  314. </table>
  315. <div class="MWFScriptText" name="afterBeginScriptText"></div><hr />
  316. </div>
  317. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  318. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  319. </div>
  320. <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;">
  321. <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>
  322. <div style="margin-left: 20px; padding: 0px 5px;">活动到达前</div>
  323. </div>
  324. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  325. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  326. <tr>
  327. <td class="editTableTitle">活动到达前:</td>
  328. <td class="editTableValue">
  329. <div class="MWFScript" name="beforeArriveScript"></div>
  330. </td>
  331. </tr>
  332. </table>
  333. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  334. </div>
  335. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  336. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  337. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Arrive操作<br/>活动属性设置</div>
  338. </div>
  339. <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;">
  340. <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>
  341. <div style="margin-left: 20px; padding: 0px 5px;">活动到达后</div>
  342. </div>
  343. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  344. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  345. <tr>
  346. <td class="editTableTitle">活动到达后:</td>
  347. <td class="editTableValue">
  348. <div class="MWFScript" name="afterArriveScript"></div>
  349. </td>
  350. </tr>
  351. </table>
  352. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  353. </div>
  354. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  355. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  356. </div>
  357. <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;">
  358. <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>
  359. <div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
  360. </div>
  361. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  362. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  363. <tr>
  364. <td class="editTableTitle">活动执行前:</td>
  365. <td class="editTableValue">
  366. <div class="MWFScript" name="beforeExecuteScript"></div>
  367. </td>
  368. </tr>
  369. </table>
  370. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  371. </div>
  372. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  373. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  374. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Execute操作<br/>执行自动活动任务</div>
  375. </div>
  376. <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;">
  377. <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>
  378. <div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
  379. </div>
  380. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  381. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  382. <tr>
  383. <td class="editTableTitle">活动执行后:</td>
  384. <td class="editTableValue">
  385. <div class="MWFScript" name="afterExecuteScript"></div>
  386. </td>
  387. </tr>
  388. </table>
  389. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  390. </div>
  391. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  392. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  393. </div>
  394. <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;">
  395. <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>
  396. <div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
  397. </div>
  398. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  399. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  400. <tr>
  401. <td class="editTableTitle">路由查询前:</td>
  402. <td class="editTableValue">
  403. <div class="MWFScript" name="beforeInquireScript"></div>
  404. </td>
  405. </tr>
  406. </table>
  407. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  408. </div>
  409. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  410. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  411. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Inquire操作<br/>查询到达下一个活动的路由</div>
  412. </div>
  413. <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;">
  414. <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>
  415. <div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
  416. </div>
  417. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  418. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  419. <tr>
  420. <td class="editTableTitle">路由查询后:</td>
  421. <td class="editTableValue">
  422. <div class="MWFScript" name="afterInquireScript"></div>
  423. </td>
  424. </tr>
  425. </table>
  426. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  427. </div>
  428. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  429. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  430. </div>
  431. <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;">
  432. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.beforeEndScript || $.beforeEndScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  433. <div style="margin-left: 20px; padding: 0px 5px;">流程结束前</div>
  434. </div>
  435. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  436. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  437. <tr>
  438. <td class="editTableTitle">流程结束前:</td>
  439. <td class="editTableValue">
  440. <div class="MWFScript" name="beforeEndScript"></div>
  441. </td>
  442. </tr>
  443. </table>
  444. <div class="MWFScriptText" name="beforeEndScriptText"></div><hr />
  445. </div>
  446. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  447. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  448. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">结束流程<br/>生成workCompleted</div>
  449. </div>
  450. <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;">
  451. <div style="height: 30px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/text{($.afterEndScript || $.afterEndScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  452. <div style="margin-left: 20px; padding: 0px 5px;">流程结束后</div>
  453. </div>
  454. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  455. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  456. <tr>
  457. <td class="editTableTitle">流程结束后:</td>
  458. <td class="editTableValue">
  459. <div class="MWFScript" name="afterEndScript"></div>
  460. </td>
  461. </tr>
  462. </table>
  463. <div class="MWFScriptText" name="afterEndScriptText"></div><hr />
  464. </div>
  465. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  466. <!-- <tr>-->
  467. <!-- <td class="editTableTitle">流程启动前:</td>-->
  468. <!-- <td class="editTableValue">-->
  469. <!-- <div class="MWFScript" name="beforeBeginScript"></div>-->
  470. <!-- </td>-->
  471. <!-- </tr>-->
  472. <!-- </table>-->
  473. <!-- <div class="MWFScriptText" name="beforeBeginScriptText"></div><hr />-->
  474. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  475. <!-- <tr>-->
  476. <!-- <td class="editTableTitle">流程启动后:</td>-->
  477. <!-- <td class="editTableValue">-->
  478. <!-- <div class="MWFScript" name="afterBeginScript"></div>-->
  479. <!-- </td>-->
  480. <!-- </tr>-->
  481. <!-- </table>-->
  482. <!-- <div class="MWFScriptText" name="afterBeginScriptText"></div><hr />-->
  483. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  484. <!-- <tr>-->
  485. <!-- <td class="editTableTitle">流程结束前:</td>-->
  486. <!-- <td class="editTableValue">-->
  487. <!-- <div class="MWFScript" name="beforeEndScript"></div>-->
  488. <!-- </td>-->
  489. <!-- </tr>-->
  490. <!-- </table>-->
  491. <!-- <div class="MWFScriptText" name="beforeEndScriptText"></div><hr />-->
  492. <!-- <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">-->
  493. <!-- <tr>-->
  494. <!-- <td class="editTableTitle">流程结束后:</td>-->
  495. <!-- <td class="editTableValue">-->
  496. <!-- <div class="MWFScript" name="afterEndScript"></div>-->
  497. <!-- </td>-->
  498. <!-- </tr>-->
  499. <!-- </table>-->
  500. <!-- <div class="MWFScriptText" name="afterEndScriptText"></div><hr />-->
  501. </div>
  502. </div>