embed.html 19 KB

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