embed.html 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  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>
  45. <div title="调用" class="MWFTab">
  46. <div class="MWFApplicationSelect" title="选择应用"></div>
  47. <div class="MWFProcessSelect" title="选择流程"></div>
  48. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  49. <tr>
  50. <td class="editTableTitle">拷贝数据:</td>
  51. <td class="editTableValue">
  52. <input class="editTableRadio" name="inheritData" text{($.inheritData)?'checked':''} type="radio" value="true"/>是
  53. <input class="editTableRadio" name="inheritData" text{(!$.inheritData)?'checked':''} type="radio" value="false"/>否
  54. </td>
  55. </tr>
  56. <tr>
  57. <td class="editTableTitle">拷贝附件:</td>
  58. <td class="editTableValue">
  59. <input class="editTableRadio" name="inheritAttachment" text{($.inheritData)?'checked':''} type="radio" value="true"/>是
  60. <input class="editTableRadio" name="inheritAttachment" text{(!$.inheritData)?'checked':''} type="radio" value="false"/>否
  61. </td>
  62. </tr>
  63. </table>
  64. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  65. <tr>
  66. <td class="editTableTitle">启动者:</td>
  67. <td class="editTableValue">
  68. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}targetIdentityEditArea').setStyle('display', 'none');}" name="embedCreatorType" text{($.embedCreatorType=='creator')?'checked':''} type="radio" value="creator"/>当前流程的启动者<br/>
  69. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}targetIdentityEditArea').setStyle('display', 'none');}" name="embedCreatorType" text{($.embedCreatorType=='lastIdentity')?'checked':''} type="radio" value="lastIdentity"/>上一个活动的处理人<br/>
  70. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}targetIdentityEditArea').setStyle('display', 'block');}" name="embedCreatorType" text{($.embedCreatorType=='identity')?'checked':''} type="radio" value="identity"/>指定一个启动者
  71. </td>
  72. </tr>
  73. </table>
  74. <div id="text{$.id}targetIdentityEditArea" style="display: text{($.embedCreatorType=='identity')?'block':'none'};">
  75. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  76. <tr>
  77. <td class="editTableTitle">启动者标识:</td>
  78. <td class="editTableValue">
  79. <div class="MWFPersonIdentity" name="targetIdentity" type="identity"></div>
  80. </td>
  81. </tr>
  82. <tr>
  83. <td class="editTableTitle">启动者脚本:</td>
  84. <td class="editTableValue">
  85. <div class="MWFScript" name="targetIdentityScript"></div>
  86. </td>
  87. </tr>
  88. </table>
  89. <div class="MWFScriptText" name="targetIdentityScriptText"></div>
  90. </div>
  91. <hr/>
  92. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  93. <tr>
  94. <td class="editTableTitle">标题脚本:</td>
  95. <td class="editTableValue">
  96. <div class="MWFScript" name="targetTitleScript"></div>
  97. </td>
  98. </tr>
  99. </table>
  100. <div class="MWFScriptText" name="targetTitleScriptText"></div>
  101. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  102. <tr>
  103. <td class="editTableTitle">数据脚本:</td>
  104. <td class="editTableValue">
  105. <div class="MWFScript" name="targetAssginDataScript"></div>
  106. </td>
  107. </tr>
  108. </table>
  109. <div class="MWFScriptText" name="targetAssginDataScriptText"></div>
  110. <div style="margin: 5px;">获取原流程的业务数据:var data = this.assginData.get(); </div>
  111. <div style="margin: 5px;">设置新流程的业务数据:this.assginData.set(data); </div>
  112. </div>
  113. <div title="人员" class="MWFTab">
  114. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  115. <tr>
  116. <td class="editTableHeadTitle" colspan="2">待阅人</td>
  117. </tr>
  118. <tr>
  119. <td class="editTableTitle">待阅人标识:</td>
  120. <td class="editTableValue">
  121. <div class="MWFPersonIdentity" name="readIdentityList" type="identity"></div>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td class="editTableTitle">待阅组织:</td>
  126. <td class="editTableValue">
  127. <div class="MWFPersonUnit" name="readUnitList"></div>
  128. </td>
  129. </tr>
  130. <tr>
  131. <td class="editTableTitle">职  位:</td>
  132. <td class="editTableValue">
  133. <div class="MWFDutySelector" name="readDuty"></div>
  134. </td>
  135. </tr>
  136. <tr>
  137. <td class="editTableTitle">流程数据:</td>
  138. <td class="editTableValue">
  139. <div class="MWFFormFieldPerson" name="readDataPathList"></div>
  140. </td>
  141. </tr>
  142. <tr>
  143. <td class="editTableTitle">脚本:</td>
  144. <td class="editTableValue">
  145. <div class="MWFScript" name="readScript"></div>
  146. </td>
  147. </tr>
  148. </table>
  149. <div class="MWFScriptText" name="readScriptText"></div>
  150. <hr />
  151. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  152. <tr>
  153. <td class="editTableHeadTitle" colspan="2">阅读人</td>
  154. </tr>
  155. <tr>
  156. <td class="editTableTitle">阅读人标识:</td>
  157. <td class="editTableValue">
  158. <div class="MWFPersonIdentity" name="reviewIdentityList" type="identity"></div>
  159. </td>
  160. </tr>
  161. <tr>
  162. <td class="editTableTitle">阅读组织:</td>
  163. <td class="editTableValue">
  164. <div class="MWFPersonUnit" name="reviewUnitList"></div>
  165. </td>
  166. </tr>
  167. <tr>
  168. <td class="editTableTitle">职  位:</td>
  169. <td class="editTableValue">
  170. <div class="MWFDutySelector" name="reviewDuty"></div>
  171. </td>
  172. </tr>
  173. <tr>
  174. <td class="editTableTitle">流程数据:</td>
  175. <td class="editTableValue">
  176. <div class="MWFFormFieldPerson" name="reviewDataPathList"></div>
  177. </td>
  178. </tr>
  179. <tr>
  180. <td class="editTableTitle">脚本:</td>
  181. <td class="editTableValue">
  182. <div class="MWFScript" name="reviewScript"></div>
  183. </td>
  184. </tr>
  185. </table>
  186. <div class="MWFScriptText" name="reviewScriptText"></div>
  187. </div>
  188. <div title="事件" class="MWFTab">
  189. <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;">
  190. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  191. <div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
  192. </div>
  193. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  194. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  195. <tr>
  196. <td class="editTableTitle">文件收到前:</td>
  197. <td class="editTableValue">
  198. <div class="MWFScript" name="beforeArriveScript"></div>
  199. </td>
  200. </tr>
  201. </table>
  202. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  203. </div>
  204. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  205. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  206. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Arrive操作<br/>活动属性设置</div>
  207. </div>
  208. <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;">
  209. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  210. <div style="margin-left: 20px; padding: 0px 5px;">文件收到后</div>
  211. </div>
  212. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  213. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  214. <tr>
  215. <td class="editTableTitle">文件收到后:</td>
  216. <td class="editTableValue">
  217. <div class="MWFScript" name="afterArriveScript"></div>
  218. </td>
  219. </tr>
  220. </table>
  221. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  222. </div>
  223. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  224. <div style="height: 26px; background: url(/x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  225. </div>
  226. <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;">
  227. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  228. <div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
  229. </div>
  230. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  231. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  232. <tr>
  233. <td class="editTableTitle">活动执行前:</td>
  234. <td class="editTableValue">
  235. <div class="MWFScript" name="beforeExecuteScript"></div>
  236. </td>
  237. </tr>
  238. </table>
  239. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  240. </div>
  241. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  242. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  243. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Execute操作<br/>执行自动活动任务</div>
  244. </div>
  245. <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;">
  246. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  247. <div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
  248. </div>
  249. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  250. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  251. <tr>
  252. <td class="editTableTitle">文件流转后:</td>
  253. <td class="editTableValue">
  254. <div class="MWFScript" name="afterExecuteScript"></div>
  255. </td>
  256. </tr>
  257. </table>
  258. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  259. </div>
  260. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  261. <div style="height: 26px; background: url(/x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  262. </div>
  263. <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;">
  264. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  265. <div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
  266. </div>
  267. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  268. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  269. <tr>
  270. <td class="editTableTitle">路由查询前:</td>
  271. <td class="editTableValue">
  272. <div class="MWFScript" name="beforeInquireScript"></div>
  273. </td>
  274. </tr>
  275. </table>
  276. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  277. </div>
  278. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  279. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  280. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Inquire操作<br/>查询到达下一个活动的路由</div>
  281. </div>
  282. <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;">
  283. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  284. <div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
  285. </div>
  286. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  287. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  288. <tr>
  289. <td class="editTableTitle">路由查询后:</td>
  290. <td class="editTableValue">
  291. <div class="MWFScript" name="afterInquireScript"></div>
  292. </td>
  293. </tr>
  294. </table>
  295. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  296. </div>
  297. </div>
  298. </div>