embed.html 17 KB

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