publish.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465
  1. <div>
  2. <div title="{{$.lp.base}}" class="MWFTab">
  3. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  4. <tr>
  5. <td class="editTableTitle">{{$.lp.id}}:</td>
  6. <td class="editTableValue">text{$.id}</td>
  7. </tr>
  8. <tr>
  9. <td class="editTableTitle">{{$.lp.createTime}}:</td>
  10. <td class="editTableValue">text{$.createTime}</td>
  11. </tr>
  12. <tr>
  13. <td class="editTableTitle">{{$.lp.type}}:</td>
  14. <td class="editTableValue">text{$.type}</td>
  15. </tr>
  16. <tr>
  17. <td class="editTableTitle">{{$.lp.name}}:</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">{{$.lp.alias}}:</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">{{$.lp.description}}:</td>
  26. <td class="editTableValue"><textarea name="description" jsondata="description" class="editTableTextarea">text{$.description}</textarea></td>
  27. </tr>
  28. <tr>
  29. <td class="editTableTitle">{{$.lp.form}}:</td>
  30. <td class="editTableValue">
  31. <div class="MWFFormSelect" name="form"></div>
  32. </td>
  33. </tr>
  34. </table>
  35. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  36. <tr>
  37. <td class="editTableValue" colspan="2"><b>{{$.lp.allowReroute}}: </b><input class="editTableRadio" name="allowReroute" text{($.allowReroute)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  38. <input class="editTableRadio" name="allowReroute" text{(!$.allowReroute)?'checked':''} type="radio" value="false"/>{{$.lp.no}}</td>
  39. </tr>
  40. <tr>
  41. <td class="editTableValue" colspan="2"><b>{{$.lp.allowRerouteTo}}: </b><input class="editTableRadio" name="allowRerouteTo" text{($.allowRerouteTo)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  42. <input class="editTeditTableRadioableInput" class="editTableInput" name="allowRerouteTo" text{(!$.allowRerouteTo)?'checked':''} type="radio" value="false"/>{{$.lp.no}}</td>
  43. </tr>
  44. </table>
  45. <div class="MWFMaplist" name="customData" title="{{$.lp.customData}}" data-o2-advanced="yes"></div>
  46. </div>
  47. <div title="{{$.lp.publish}}" class="MWFTab">
  48. <!-- <div class="MWFApplicationSelect" title="选择应用"></div>-->
  49. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  50. <tr>
  51. <td class="editTableTitle">{{$.lp.publishTarget}}:</td>
  52. <td class="editTableValue">
  53. <input class="editTableRadio" onclick="if (this.checked){
  54. $('text{$.id}cmsArea').setStyle('display', 'block');
  55. $('text{$.id}queryTableArea').setStyle('display', 'none');
  56. }" name="publishTarget" text{($.publishTarget !== 'table')?'checked':''} type="radio" value="cms"/>{{$.lp.cms}}
  57. <input class="editTableRadio" onclick="if (this.checked){
  58. $('text{$.id}cmsArea').setStyle('display', 'none');
  59. $('text{$.id}queryTableArea').setStyle('display', 'block');
  60. }" name="publishTarget" text{($.publishTarget === 'table')?'checked':''} type="radio" value="table"/>{{$.lp.table}}
  61. </td>
  62. </tr>
  63. </table>
  64. <div id="text{$.id}cmsArea" style="display: text{($.publishTarget=='table')?'none':''};">
  65. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  66. <tr>
  67. <td class="editTableTitle">{{$.lp.cmsCategory}}:</td>
  68. <td class="editTableValue">
  69. <input class="editTableRadio" onclick="if (this.checked){
  70. $('text{$.id}dataPathTable').setStyle('display', '');
  71. $('text{$.id}categoryIdTable').setStyle('display', 'none');
  72. }" name="categorySelectType" text{($.categorySelectType !== 'categoryId')?'checked':''} type="radio" value="dataPath"/>{{$.lp.dataPath}}
  73. <input class="editTableRadio" onclick="if (this.checked){
  74. $('text{$.id}dataPathTable').setStyle('display', 'none');
  75. $('text{$.id}categoryIdTable').setStyle('display', '');
  76. }" name="categorySelectType" text{($.categorySelectType === 'categoryId')?'checked':''} type="radio" value="categoryId"/>{{$.lp.select}}
  77. </td>
  78. </tr>
  79. </table>
  80. <table id="text{$.id}dataPathTable" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable" style="display: text{($.categorySelectType!=='categoryId')?'':'none'};">
  81. <tr>
  82. <td class="editTableTitle">{{$.lp.categoryDataPath}}:</td>
  83. <td class="editTableValue">
  84. <td class="editTableValue"><input type="text" name="categoryIdDataPath" jsondata="categoryIdDataPath" value="text{$.categoryIdDataPath}" class="editTableInput"/></td>
  85. </tr>
  86. </table>
  87. <table id="text{$.id}categoryIdTable" width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable" style="display: text{($.categorySelectType=='categoryId')?'':'none'};">
  88. <tr>
  89. <td class="editTableTitle">{{$.lp.selectCmsCategory}}:</td>
  90. <td class="editTableValue">
  91. <div class="MWFCMSCategorySelector" count="1" name="categoryId" type="cmscategory" data-result-key="id"></div>
  92. </td>
  93. </tr>
  94. </table>
  95. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  96. <tr>
  97. <td class="editTableTitle">{{$.lp.useProcessForm}}:</td>
  98. <td class="editTableValue">
  99. <input class="editTableRadio" name="useProcessForm" text{($.useProcessForm)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  100. <input class="editTableRadio" name="useProcessForm" text{(!$.useProcessForm)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  101. <div style="padding: 5px;color: #999;">{{$.lp.useProcessFormNote}}</div>
  102. </td>
  103. </tr>
  104. <tr>
  105. <td class="editTableTitle">{{$.lp.copyAttachment}}:</td>
  106. <td class="editTableValue">
  107. <input class="editTableRadio" name="inheritAttachment" text{($.inheritAttachment)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  108. <input class="editTableRadio" name="inheritAttachment" text{(!$.inheritAttachment)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  109. </td>
  110. </tr>
  111. <tr>
  112. <td class="editTableTitle">{{$.lp.titleField}}:</td>
  113. <td class="editTableValue">
  114. <div class="MWFFormFieldString" name="titleDataPath" count=1></div>
  115. </td>
  116. </tr>
  117. <tr>
  118. <td class="editTableTitle">{{$.lp.readerFields}}:</td>
  119. <td class="editTableValue">
  120. <div class="MWFFormFieldPerson" name="readerDataPathList" data-o2-type="string"></div>
  121. </td>
  122. </tr>
  123. <tr>
  124. <td class="editTableTitle">{{$.lp.authorFields}}:</td>
  125. <td class="editTableValue">
  126. <div class="MWFFormFieldPerson" name="authorDataPathList" data-o2-type="string"></div>
  127. </td>
  128. </tr>
  129. <tr>
  130. <td class="editTableTitle">{{$.lp.pictureFields}}:</td>
  131. <td class="editTableValue">
  132. <div class="MWFFormFieldString" name="pictureDataPathList" data-o2-type="string"></div>
  133. </td>
  134. </tr>
  135. <tr>
  136. <td class="editTableTitle">{{$.lp.sendNotify}}:</td>
  137. <td class="editTableValue">
  138. <div class="MWFFormFieldPerson" name="notifyDataPathList" data-o2-type="string"></div>
  139. </td>
  140. </tr>
  141. </table>
  142. <hr/>
  143. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  144. <tr>
  145. <td class="editTableTitle">{{$.lp.cmsCreator}}:</td>
  146. <td class="editTableValue">
  147. <input class="editTableRadio" onclick="if (this.checked){
  148. $('text{$.id}cmsCreatorIdentityEditArea').setStyle('display', 'none');
  149. $('text{$.id}cmsCreatorScriptEditArea').setStyle('display', 'none');
  150. }" name="cmsCreatorType" text{($.cmsCreatorType=='creator')?'checked':''} type="radio" value="creator"/>{{$.lp.currentCreator}}<br/>
  151. <input class="editTableRadio" onclick="if (this.checked){
  152. $('text{$.id}cmsCreatorIdentityEditArea').setStyle('display', 'none');
  153. $('text{$.id}cmsCreatorScriptEditArea').setStyle('display', 'none');
  154. }" name="cmsCreatorType" text{($.cmsCreatorType=='lastIdentity')?'checked':''} type="radio" value="lastIdentity"/>{{$.lp.prevHandler}}<br/>
  155. <input class="editTableRadio" onclick="if (this.checked){
  156. $('text{$.id}cmsCreatorIdentityEditArea').setStyle('display', 'block');
  157. $('text{$.id}cmsCreatorScriptEditArea').setStyle('display', 'none');
  158. }" name="cmsCreatorType" text{($.cmsCreatorType=='identity')?'checked':''} type="radio" value="identity"/>{{$.lp.specifyCmsCreator}}<br/>
  159. <input class="editTableRadio" onclick="if (this.checked){
  160. $('text{$.id}cmsCreatorIdentityEditArea').setStyle('display', 'none');
  161. $('text{$.id}cmsCreatorScriptEditArea').setStyle('display', 'block');
  162. }" name="cmsCreatorType" text{($.cmsCreatorType=='script')?'checked':''} type="radio" value="script"/>{{$.lp.useScript}}<br/>
  163. </td>
  164. </tr>
  165. </table>
  166. <div id="text{$.id}cmsCreatorIdentityEditArea" style="display: text{($.cmsCreatorType=='identity')?'block':'none'};">
  167. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  168. <tr>
  169. <td class="editTableTitle">{{$.lp.cmsCreatorId}}:</td>
  170. <td class="editTableValue">
  171. <div class="MWFPersonIdentity" count="1" name="cmsCreatorIdentity" type="identity"></div>
  172. </td>
  173. </tr>
  174. </table>
  175. </div>
  176. <div id="text{$.id}cmsCreatorScriptEditArea" style="display: text{($.cmsCreatorType=='script')?'block':'none'};">
  177. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  178. <tr>
  179. <td class="editTableTitle">{{$.lp.cmsCreatorScript}}:</td>
  180. <td class="editTableValue">
  181. <div class="MWFScript" name="cmsCreatorScript"></div>
  182. </td>
  183. </tr>
  184. </table>
  185. <div class="MWFScriptText" name="cmsCreatorScriptText"></div>
  186. </div>
  187. <hr/>
  188. <div></div>
  189. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  190. <tr>
  191. <td class="editTableTitle">{{$.lp.dataScript}}:</td>
  192. <td class="editTableValue">
  193. <div class="MWFScript" name="targetAssignDataScript"></div>
  194. </td>
  195. </tr>
  196. </table>
  197. <div class="MWFScriptText" name="targetAssignDataScriptText" data-o2-api="../api/server.module_assignData.html#server.module_body"></div>
  198. <div style="margin: 5px;">{{$.lp.getOldData}}: var data = Object.clone(this.data); </div>
  199. <div style="margin: 5px;">{{$.lp.setNewPublishData}}: return data;</div>
  200. <div style="padding: 5px"><a href="../api/server.module_body.html#server.module_body" target="_blank">{{$.lp.apiDoc}}</a></div>
  201. </div>
  202. <div id="text{$.id}queryTableArea" style="display: text{($.publishTarget=='table')?'':'none'};">
  203. <div style="margin: 0px; height: 20px; padding: 5px; background-color: #F6F6F6; line-height: 20px; text-align: center">{{$.lp.publishTableConfig}}</div>
  204. <div class="MWFQueryTablePublisher" name="publishTableList">
  205. <div></div>
  206. <div></div>
  207. <div style="border-bottom: 1px solid #ccc;"></div>
  208. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  209. <tr>
  210. <td class="editTableTitle">{{$.lp.queryTable}}:</td>
  211. <td class="editTableValue"><div class="MWFTableSelector" name="tableName" count="1" data-result-key="name"></div></td>
  212. </tr>
  213. <tr>
  214. <td class="editTableTitle">{{$.lp.queryTableDataBy}}:</td>
  215. <td class="editTableValue">
  216. <input class="editTableRadio queryTableDataBy" onclick="if (this.checked){
  217. $('text{$.id}queryTableDataByPathArea').setStyle('display', '');
  218. $('text{$.id}queryTableDataByScriptArea').setStyle('display', 'none');
  219. }" name="queryTableDataBy" text{($.queryTableDataBy!=='script')?'checked':''} type="radio" value="dataPath"/>{{$.lp.byDataPath}}
  220. <input class="editTableRadio queryTableDataBy" onclick="if (this.checked){
  221. $('text{$.id}queryTableDataByScriptArea').setStyle('display', '');
  222. $('text{$.id}queryTableDataByPathArea').setStyle('display', 'none');
  223. }" name="queryTableDataBy" text{($.queryTableDataBy==='script')?'checked':''} type="radio" value="script"/>{{$.lp.byDataScript}}
  224. </td>
  225. </tr>
  226. </table>
  227. <div id="text{$.id}queryTableDataByPathArea" style="display: text{($.queryTableDataBy!=='script')?'':'none'};">
  228. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  229. <tr>
  230. <td class="editTableTitle">{{$.lp.dataPath}}:</td>
  231. <td class="editTableValue">
  232. <input type="text" value="" name="queryTableDataPath" class="editTableInput"/>
  233. <div style="color: #999;">{{$.lp.queryTableDataPathNote}}</div>
  234. </td>
  235. </tr>
  236. </table>
  237. </div>
  238. <div id="text{$.id}queryTableDataByScriptArea" style="display: text{($.queryTableDataBy==='script')?'':'none'};">
  239. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  240. <tr>
  241. <td class="editTableTitle">{{$.lp.dataScript}}:</td>
  242. <td class="editTableValue">
  243. <div class="MWFScript" name="queryTableAssignDataScript"></div>
  244. </td>
  245. </tr>
  246. </table>
  247. <div class="MWFScriptText" name="queryTableAssignDataScriptText" data-load-immediately=true data-editor-type="ace" data-o2-api="../api/server.module_assignData.html#server.module_body"></div>
  248. <div style="margin: 5px;">{{$.lp.getOldData}}: var data = Object.clone(this.data); </div>
  249. <div style="margin: 5px;">{{$.lp.setNewPublishData}}: return data;</div>
  250. <div style="padding: 5px"><a href="../api/server.module_body.html#server.module_body" target="_blank">{{$.lp.apiDoc}}</a></div>
  251. </div>
  252. </div>
  253. </div>
  254. </div>
  255. <div title="{{$.lp.person}}" class="MWFTab">
  256. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  257. <tr>
  258. <td class="editTableHeadTitle" colspan="2">{{$.lp.reader}}</td>
  259. </tr>
  260. <tr>
  261. <td class="editTableTitle">{{$.lp.readerId}}:</td>
  262. <td class="editTableValue">
  263. <div class="MWFPersonIdentity" name="readIdentityList" type="identity"></div>
  264. </td>
  265. </tr>
  266. <tr>
  267. <td class="editTableTitle">{{$.lp.unit}}:</td>
  268. <td class="editTableValue">
  269. <div class="MWFPersonUnit" name="readUnitList"></div>
  270. </td>
  271. </tr>
  272. <tr>
  273. <td class="editTableTitle">{{$.lp.duty}}:</td>
  274. <td class="editTableValue">
  275. <div class="MWFDutySelector" name="readDuty"></div>
  276. </td>
  277. </tr>
  278. <tr>
  279. <td class="editTableTitle">{{$.lp.processData}}:</td>
  280. <td class="editTableValue">
  281. <div class="MWFFormFieldPerson" name="readDataPathList"></div>
  282. </td>
  283. </tr>
  284. <tr>
  285. <td class="editTableTitle">{{$.lp.script}}:</td>
  286. <td class="editTableValue">
  287. <div class="MWFScript" name="readScript"></div>
  288. </td>
  289. </tr>
  290. </table>
  291. <div class="MWFScriptText" name="readScriptText"></div>
  292. <hr />
  293. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  294. <tr>
  295. <td class="editTableHeadTitle" colspan="2">{{$.lp.reviewer}}</td>
  296. </tr>
  297. <tr>
  298. <td class="editTableTitle">{{$.lp.reviewerId}}:</td>
  299. <td class="editTableValue">
  300. <div class="MWFPersonIdentity" name="reviewIdentityList" type="identity"></div>
  301. </td>
  302. </tr>
  303. <tr>
  304. <td class="editTableTitle">{{$.lp.unit}}:</td>
  305. <td class="editTableValue">
  306. <div class="MWFPersonUnit" name="reviewUnitList"></div>
  307. </td>
  308. </tr>
  309. <tr>
  310. <td class="editTableTitle">{{$.lp.duty}}:</td>
  311. <td class="editTableValue">
  312. <div class="MWFDutySelector" name="reviewDuty"></div>
  313. </td>
  314. </tr>
  315. <tr>
  316. <td class="editTableTitle">{{$.lp.processData}}:</td>
  317. <td class="editTableValue">
  318. <div class="MWFFormFieldPerson" name="reviewDataPathList"></div>
  319. </td>
  320. </tr>
  321. <tr>
  322. <td class="editTableTitle">{{$.lp.script}}:</td>
  323. <td class="editTableValue">
  324. <div class="MWFScript" name="reviewScript"></div>
  325. </td>
  326. </tr>
  327. </table>
  328. <div class="MWFScriptText" name="reviewScriptText"></div>
  329. </div>
  330. <div title="{{$.lp.event}}" class="MWFTab" data-o2-advanced="yes">
  331. <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;">
  332. <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>
  333. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeWorkArrive}}</div>
  334. </div>
  335. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  336. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  337. <tr>
  338. <td class="editTableTitle">{{$.lp.beforeArriveActivity}}:</td>
  339. <td class="editTableValue">
  340. <div class="MWFScript" name="beforeArriveScript"></div>
  341. </td>
  342. </tr>
  343. </table>
  344. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  345. </div>
  346. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  347. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  348. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo2}}</div>
  349. </div>
  350. <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;">
  351. <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>
  352. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterArriveActivity}}</div>
  353. </div>
  354. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  355. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  356. <tr>
  357. <td class="editTableTitle">{{$.lp.afterArriveActivity}}:</td>
  358. <td class="editTableValue">
  359. <div class="MWFScript" name="afterArriveScript"></div>
  360. </td>
  361. </tr>
  362. </table>
  363. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  364. </div>
  365. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  366. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  367. </div>
  368. <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;">
  369. <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>
  370. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeExecute}}</div>
  371. </div>
  372. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  373. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  374. <tr>
  375. <td class="editTableTitle">{{$.lp.beforeExecute}}:</td>
  376. <td class="editTableValue">
  377. <div class="MWFScript" name="beforeExecuteScript"></div>
  378. </td>
  379. </tr>
  380. </table>
  381. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  382. </div>
  383. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  384. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  385. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo3}}</div>
  386. </div>
  387. <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;">
  388. <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>
  389. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterExecute}}</div>
  390. </div>
  391. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  392. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  393. <tr>
  394. <td class="editTableTitle">{{$.lp.afterExecute}}:</td>
  395. <td class="editTableValue">
  396. <div class="MWFScript" name="afterExecuteScript"></div>
  397. </td>
  398. </tr>
  399. </table>
  400. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  401. </div>
  402. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  403. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  404. </div>
  405. <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;">
  406. <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>
  407. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeInquire}}</div>
  408. </div>
  409. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  410. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  411. <tr>
  412. <td class="editTableTitle">{{$.lp.beforeInquire}}:</td>
  413. <td class="editTableValue">
  414. <div class="MWFScript" name="beforeInquireScript"></div>
  415. </td>
  416. </tr>
  417. </table>
  418. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  419. </div>
  420. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  421. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  422. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo4}}</div>
  423. </div>
  424. <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;">
  425. <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>
  426. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterInquire}}</div>
  427. </div>
  428. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  429. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  430. <tr>
  431. <td class="editTableTitle">{{$.lp.afterInquire}}:</td>
  432. <td class="editTableValue">
  433. <div class="MWFScript" name="afterInquireScript"></div>
  434. </td>
  435. </tr>
  436. </table>
  437. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  438. </div>
  439. </div>
  440. </div>