invoke.html 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351
  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. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  37. <tr>
  38. <td class="editTableTitle">服务协议:</td>
  39. <td class="editTableValue">
  40. <input class="editTableRadio" checked onclick="if (this.checked){$('text{$.id}webserviceInvokeModeJaxrs').setStyle('display', 'none'); $('text{$.id}webserviceInvokeModeJaxws').setStyle('display', 'block')}" name="invokeMode" text{($.invokeMode=='jaxws')?'checked':''} type="radio" value="jaxws"/>jaxws
  41. <input class="editTableRadio" onclick="if (this.checked){$('text{$.id}webserviceInvokeModeJaxrs').setStyle('display', 'block'); $('text{$.id}webserviceInvokeModeJaxws').setStyle('display', 'none')}" name="invokeMode" text{($.invokeMode=='jaxrs')?'checked':''} type="radio" value="jaxrs"/>jaxrs
  42. </td>
  43. </tr>
  44. </table>
  45. <div id="text{$.id}webserviceInvokeModeJaxws" style="display: text{($.invokeMode!='jaxrs')?'block':'none'}">
  46. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  47. <tr>
  48. <td class="editTableTitle">WSDL地址:</td>
  49. <td class="editTableValue"><input type="text" name="jaxwsAddress" value="text{$.jaxwsAddress}" class="editTableInput"/></td>
  50. </tr>
  51. <tr>
  52. <td class="editTableTitle">调用方法:</td>
  53. <td class="editTableValue"><input type="text" name="jaxwsMethod" value="text{$.jaxwsMethod}" class="editTableInput"/></td>
  54. </tr>
  55. </table>
  56. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  57. <tr>
  58. <td class="editTableTitle">参数脚本:</td>
  59. <td class="editTableValue"><div class="MWFScript" name="jaxwsParameterScript"></div></td>
  60. </tr>
  61. </table>
  62. <div class="MWFScriptText" name="jaxwsParameterScriptText"></div>
  63. <div style="margin-left: 10px; line-height:20px">增加参数:<font style="color: #e40000">this</font><font style="color: #666666">.parameters.add( par )</font></div>
  64. <div style="margin-left: 10px; line-height:20px">删除参数:<font style="color: #e40000">this</font><font style="color: #666666">.parameters.remove( index )</font></div>
  65. <hr />
  66. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  67. <tr>
  68. <td class="editTableTitle">响应脚本:</td>
  69. <td class="editTableValue"> <div class="MWFScript" name="jaxwsResponseScript"></div></td>
  70. </tr>
  71. </table>
  72. <div class="MWFScriptText" name="jaxwsResponseScriptText"></div>
  73. <div style="text-align:center; line-height:26px">使用 <font style="color: #e40000">this</font><font style="color: #666666">.response</font> 获取响应的JSON对象</div>
  74. </div>
  75. <div id="text{$.id}webserviceInvokeModeJaxrs" style="display: text{($.invokeMode=='jaxrs')?'block':'none'}">
  76. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  77. <tr>
  78. <td class="editTableTitle">系统内请求:</td>
  79. <td class="editTableValue">
  80. <input type="radio" onclick="if (this.checked){$('text{$.id}webserviceInvokeInternalProjectJaxrs').setStyle('display', 'block');}" name="internal" checked value="true"/>是
  81. <input type="radio" onclick="if (this.checked){$('text{$.id}webserviceInvokeInternalProjectJaxrs').setStyle('display', 'none');}" name="internal" value="false"/>否
  82. </td>
  83. </tr>
  84. </table>
  85. <div id="text{$.id}webserviceInvokeInternalProjectJaxrs">
  86. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  87. <tr>
  88. <td class="editTableTitle">服务应用:</td>
  89. <td class="editTableValue"><div class="MWFContextRoot" name="internalProject"></div></td>
  90. </tr>
  91. </table>
  92. </div>
  93. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  94. <tr>
  95. <td class="editTableTitle">REST地址:</td>
  96. <td class="editTableValue"><input type="text" name="jaxrsAddress" value="text{$.jaxrsAddress}" class="editTableInput"/></td>
  97. </tr>
  98. <tr>
  99. <td class="editTableTitle">调用方法:</td>
  100. <td class="editTableValue">
  101. <select name="jaxrsMethod">
  102. <option value="GET" text{($.jaxrsMethod=='GET')?'selected':''}>GET</option>
  103. <option value="POST" text{($.jaxrsMethod=='POST')?'selected':''}>POST</option>
  104. <option value="PUT" text{($.jaxrsMethod=='PUT')?'selected':''}>PUT</option>
  105. <option value="DELTE" text{($.jaxrsMethod=='DELTE')?'selected':''}>DELTE</option>
  106. <option value="HEAD" text{($.jaxrsMethod=='HEAD')?'selected':''}>HEAD</option>
  107. <option value="TRACE" text{($.jaxrsMethod=='TRACE')?'selected':''}>TRACE</option>
  108. <option value="OPTIONS" text{($.jaxrsMethod=='OPTIONS')?'selected':''}>OPTIONS</option>
  109. <option value="CONNECT" text{($.jaxrsMethod=='CONNECT')?'selected':''}>CONNECT</option>
  110. </select>
  111. </td>
  112. </tr>
  113. <tr>
  114. <td class="editTableTitle">ContentType:</td>
  115. <td class="editTableValue"><input type="text" name="jaxrsContentType" value="text{$.jaxrsContentType}" class="editTableInput"/></td>
  116. </tr>
  117. </table>
  118. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  119. <tr>
  120. <td class="editTableTitle">参数脚本:</td>
  121. <td class="editTableValue"><div class="MWFScript" name="jaxrsParameterScript"></div></td>
  122. </tr>
  123. </table>
  124. <div class="MWFScriptText" name="jaxrsParameterScriptText"></div>
  125. <div style="margin-left: 10px; line-height:20px">增加参数:<font style="color: #e40000">this</font><font style="color: #666666">.parameters.put( key, par )</font></div>
  126. <div style="margin-left: 10px; line-height:20px">删除参数:<font style="color: #e40000">this</font><font style="color: #666666">.parameters.remove( key )</font></div>
  127. <hr />
  128. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  129. <tr>
  130. <td class="editTableTitle">消息体脚本:</td>
  131. <td class="editTableValue"><div class="MWFScript" name="jaxrsBodyScript"></div></td>
  132. </tr>
  133. </table>
  134. <div class="MWFScriptText" name="jaxrsBodyScriptText"></div>
  135. <div style="margin-left: 10px; line-height:20px">设置消息体内容:<font style="color: #e40000">this</font><font style="color: #666666">.body.set( value )</font></div>
  136. <hr />
  137. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  138. <tr>
  139. <td class="editTableTitle">响应脚本:</td>
  140. <td class="editTableValue"> <div class="MWFScript" name="jaxrsResponseScript"></div></td>
  141. </tr>
  142. </table>
  143. <div class="MWFScriptText" name="jaxrsResponseScriptText"></div>
  144. <div style="margin-left: 10px; line-height:26px">使用 <font style="color: #e40000">this</font><font style="color: #666666">.response</font> 获取响应的JSON对象</div>
  145. </div>
  146. </div>
  147. <div title="人员" class="MWFTab">
  148. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  149. <tr>
  150. <td class="editTableHeadTitle" colspan="2">待阅人</td>
  151. </tr>
  152. <tr>
  153. <td class="editTableTitle">待阅人标识:</td>
  154. <td class="editTableValue">
  155. <div class="MWFPersonIdentity" name="readIdentityList" type="identity"></div>
  156. </td>
  157. </tr>
  158. <tr>
  159. <td class="editTableTitle">待阅组织:</td>
  160. <td class="editTableValue">
  161. <div class="MWFPersonUnit" name="readUnitList"></div>
  162. </td>
  163. </tr>
  164. <tr>
  165. <td class="editTableTitle">职  位:</td>
  166. <td class="editTableValue">
  167. <div class="MWFDutySelector" name="readDuty"></div>
  168. </td>
  169. </tr>
  170. <tr>
  171. <td class="editTableTitle">流程数据:</td>
  172. <td class="editTableValue">
  173. <div class="MWFFormFieldPerson" name="readDataPathList"></div>
  174. </td>
  175. </tr>
  176. <tr>
  177. <td class="editTableTitle">脚本:</td>
  178. <td class="editTableValue">
  179. <div class="MWFScript" name="readScript"></div>
  180. </td>
  181. </tr>
  182. </table>
  183. <div class="MWFScriptText" name="readScriptText"></div>
  184. <hr />
  185. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  186. <tr>
  187. <td class="editTableHeadTitle" colspan="2">阅读人</td>
  188. </tr>
  189. <tr>
  190. <td class="editTableTitle">阅读人标识:</td>
  191. <td class="editTableValue">
  192. <div class="MWFPersonIdentity" name="reviewIdentityList" type="identity"></div>
  193. </td>
  194. </tr>
  195. <tr>
  196. <td class="editTableTitle">阅读组织:</td>
  197. <td class="editTableValue">
  198. <div class="MWFPersonUnit" name="reviewUnitList"></div>
  199. </td>
  200. </tr>
  201. <tr>
  202. <td class="editTableTitle">职  位:</td>
  203. <td class="editTableValue">
  204. <div class="MWFDutySelector" name="reviewDuty"></div>
  205. </td>
  206. </tr>
  207. <tr>
  208. <td class="editTableTitle">流程数据:</td>
  209. <td class="editTableValue">
  210. <div class="MWFFormFieldPerson" name="reviewDataPathList"></div>
  211. </td>
  212. </tr>
  213. <tr>
  214. <td class="editTableTitle">脚本:</td>
  215. <td class="editTableValue">
  216. <div class="MWFScript" name="reviewScript"></div>
  217. </td>
  218. </tr>
  219. </table>
  220. <div class="MWFScriptText" name="reviewScriptText"></div>
  221. </div>
  222. <div title="事件" class="MWFTab">
  223. <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;">
  224. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  225. <div style="margin-left: 20px; padding: 0px 5px;">工作到达前</div>
  226. </div>
  227. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  228. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  229. <tr>
  230. <td class="editTableTitle">文件收到前:</td>
  231. <td class="editTableValue">
  232. <div class="MWFScript" name="beforeArriveScript"></div>
  233. </td>
  234. </tr>
  235. </table>
  236. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  237. </div>
  238. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  239. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  240. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Arrive操作<br/>活动属性设置</div>
  241. </div>
  242. <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;">
  243. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  244. <div style="margin-left: 20px; padding: 0px 5px;">文件收到后</div>
  245. </div>
  246. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  247. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  248. <tr>
  249. <td class="editTableTitle">文件收到后:</td>
  250. <td class="editTableValue">
  251. <div class="MWFScript" name="afterArriveScript"></div>
  252. </td>
  253. </tr>
  254. </table>
  255. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  256. </div>
  257. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  258. <div style="height: 26px; background: url(/x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  259. </div>
  260. <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;">
  261. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  262. <div style="margin-left: 20px; padding: 0px 5px;">活动执行前</div>
  263. </div>
  264. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  265. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  266. <tr>
  267. <td class="editTableTitle">活动执行前:</td>
  268. <td class="editTableValue">
  269. <div class="MWFScript" name="beforeExecuteScript"></div>
  270. </td>
  271. </tr>
  272. </table>
  273. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  274. </div>
  275. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  276. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  277. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Execute操作<br/>执行自动活动任务</div>
  278. </div>
  279. <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;">
  280. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  281. <div style="margin-left: 20px; padding: 0px 5px;">活动执行后</div>
  282. </div>
  283. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  284. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  285. <tr>
  286. <td class="editTableTitle">文件流转后:</td>
  287. <td class="editTableValue">
  288. <div class="MWFScript" name="afterExecuteScript"></div>
  289. </td>
  290. </tr>
  291. </table>
  292. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  293. </div>
  294. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  295. <div style="height: 26px; background: url(/x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  296. </div>
  297. <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;">
  298. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  299. <div style="margin-left: 20px; padding: 0px 5px;">路由查询前</div>
  300. </div>
  301. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  302. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  303. <tr>
  304. <td class="editTableTitle">路由查询前:</td>
  305. <td class="editTableValue">
  306. <div class="MWFScript" name="beforeInquiryScript"></div>
  307. </td>
  308. </tr>
  309. </table>
  310. <div class="MWFScriptText" name="beforeInquiryScriptText"></div><hr />
  311. </div>
  312. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  313. <div style="height: 46px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  314. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">执行Inquiry操作<br/>查询到达下一个活动的路由</div>
  315. </div>
  316. <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;">
  317. <div style="height: 30px; width: 30px; float: left; background: url(/x_component_process_ProcessDesigner/$Process/event.png) no-repeat center center;"></div>
  318. <div style="margin-left: 20px; padding: 0px 5px;">路由查询后</div>
  319. </div>
  320. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  321. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  322. <tr>
  323. <td class="editTableTitle">路由查询后:</td>
  324. <td class="editTableValue">
  325. <div class="MWFScript" name="afterInquiryScript"></div>
  326. </td>
  327. </tr>
  328. </table>
  329. <div class="MWFScriptText" name="afterInquiryScriptText"></div><hr />
  330. </div>
  331. </div>
  332. </div>