merge.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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="editTableTitle">{{$.lp.mergeLayerThreshold}}:</td>
  38. <td class="editTableValue">
  39. <label><input class="editTableRadio" name="mergeLayerThreshold" data-value-type="number" text{(!$.mergeLayerThreshold)?'checked':''} type="radio" value="0"/>{{$.lp.mergeLayerThreshold0}}</label>
  40. <label><input class="editTableRadio" name="mergeLayerThreshold" data-value-type="number" text{($.mergeLayerThreshold===1)?'checked':''} type="radio" value="1"/>{{$.lp.mergeLayerThreshold1}} </label>
  41. <!-- <label><input class="editTableRadio" name="mergeLayerThreshold " text{($.mergeLayerThreshold===2)?'checked':''} type="radio" value="2"/>{{$.lp.mergeLayerThresholdn.replace('{n}', '2')}} </label><br>-->
  42. <!-- <label><input class="editTableRadio" name="mergeLayerThreshold " text{($.mergeLayerThreshold===3)?'checked':''} type="radio" value="3"/>{{$.lp.mergeLayerThresholdn.replace('{n}', '3')}} </label><br>-->
  43. <!-- <label><input class="editTableRadio" name="mergeLayerThreshold " text{($.mergeLayerThreshold===4)?'checked':''} type="radio" value="4"/>{{$.lp.mergeLayerThresholdn.replace('{n}', '4')}} </label><br>-->
  44. <!-- <label><input class="editTableRadio" name="mergeLayerThreshold " text{($.mergeLayerThreshold===5)?'checked':''} type="radio" value="5"/>{{$.lp.mergeLayerThresholdn.replace('{n}', '5')}} </label>-->
  45. </td>
  46. </tr>
  47. <tr>
  48. <td class="editTableValue" colspan="2"><b>{{$.lp.allowReroute}}: </b><input class="editTableRadio" name="allowReroute" text{($.allowReroute)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  49. <input class="editTableRadio" name="allowReroute" text{(!$.allowReroute)?'checked':''} type="radio" value="false"/>{{$.lp.no}}</td>
  50. </tr>
  51. <tr>
  52. <td class="editTableValue" colspan="2"><b>{{$.lp.allowRerouteTo}}: </b><input class="editTableRadio" name="allowRerouteTo" text{($.allowRerouteTo)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  53. <input class="editTeditTableRadioableInput" class="editTableInput" name="allowRerouteTo" text{(!$.allowRerouteTo)?'checked':''} type="radio" value="false"/>{{$.lp.no}}</td>
  54. </tr>
  55. </table>
  56. <div class="MWFMaplist" name="customData" title="{{$.lp.customData}}" data-o2-advanced="yes"></div>
  57. </div>
  58. <div title="{{$.lp.person}}" class="MWFTab">
  59. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  60. <tr>
  61. <td class="editTableHeadTitle" colspan="2">{{$.lp.reader}}</td>
  62. </tr>
  63. <tr>
  64. <td class="editTableTitle">{{$.lp.readerId}}:</td>
  65. <td class="editTableValue">
  66. <div class="MWFPersonIdentity" name="readIdentityList" type="identity"></div>
  67. </td>
  68. </tr>
  69. <tr>
  70. <td class="editTableTitle">{{$.lp.unit}}:</td>
  71. <td class="editTableValue">
  72. <div class="MWFPersonUnit" name="readUnitList"></div>
  73. </td>
  74. </tr>
  75. <tr>
  76. <td class="editTableTitle">{{$.lp.duty}}:</td>
  77. <td class="editTableValue">
  78. <div class="MWFDutySelector" name="readDuty"></div>
  79. </td>
  80. </tr>
  81. <tr>
  82. <td class="editTableTitle">{{$.lp.processData}}:</td>
  83. <td class="editTableValue">
  84. <div class="MWFFormFieldPerson" name="readDataPathList"></div>
  85. </td>
  86. </tr>
  87. <tr>
  88. <td class="editTableTitle">{{$.lp.script}}:</td>
  89. <td class="editTableValue">
  90. <div class="MWFScript" name="readScript"></div>
  91. </td>
  92. </tr>
  93. </table>
  94. <div class="MWFScriptText" name="readScriptText"></div>
  95. <hr />
  96. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  97. <tr>
  98. <td class="editTableHeadTitle" colspan="2">{{$.lp.reviewer}}</td>
  99. </tr>
  100. <tr>
  101. <td class="editTableTitle">{{$.lp.reviewerId}}:</td>
  102. <td class="editTableValue">
  103. <div class="MWFPersonIdentity" name="reviewIdentityList" type="identity"></div>
  104. </td>
  105. </tr>
  106. <tr>
  107. <td class="editTableTitle">{{$.lp.unit}}:</td>
  108. <td class="editTableValue">
  109. <div class="MWFPersonUnit" name="reviewUnitList"></div>
  110. </td>
  111. </tr>
  112. <tr>
  113. <td class="editTableTitle">{{$.lp.duty}}:</td>
  114. <td class="editTableValue">
  115. <div class="MWFDutySelector" name="reviewDuty"></div>
  116. </td>
  117. </tr>
  118. <tr>
  119. <td class="editTableTitle">{{$.lp.processData}}:</td>
  120. <td class="editTableValue">
  121. <div class="MWFFormFieldPerson" name="reviewDataPathList"></div>
  122. </td>
  123. </tr>
  124. <tr>
  125. <td class="editTableTitle">{{$.lp.script}}:</td>
  126. <td class="editTableValue">
  127. <div class="MWFScript" name="reviewScript"></div>
  128. </td>
  129. </tr>
  130. </table>
  131. <div class="MWFScriptText" name="reviewScriptText"></div>
  132. </div>
  133. <div title="{{$.lp.event}}" class="MWFTab" data-o2-advanced="yes">
  134. <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;">
  135. <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>
  136. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeWorkArrive}}</div>
  137. </div>
  138. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  139. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  140. <tr>
  141. <td class="editTableTitle">{{$.lp.beforeArriveActivity}}:</td>
  142. <td class="editTableValue">
  143. <div class="MWFScript" name="beforeArriveScript"></div>
  144. </td>
  145. </tr>
  146. </table>
  147. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  148. </div>
  149. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  150. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  151. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo2}}</div>
  152. </div>
  153. <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;">
  154. <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>
  155. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterArriveActivity}}</div>
  156. </div>
  157. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  158. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  159. <tr>
  160. <td class="editTableTitle">{{$.lp.afterArriveActivity}}:</td>
  161. <td class="editTableValue">
  162. <div class="MWFScript" name="afterArriveScript"></div>
  163. </td>
  164. </tr>
  165. </table>
  166. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  167. </div>
  168. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  169. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  170. </div>
  171. <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;">
  172. <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>
  173. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeExecute}}</div>
  174. </div>
  175. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  176. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  177. <tr>
  178. <td class="editTableTitle">{{$.lp.beforeExecute}}:</td>
  179. <td class="editTableValue">
  180. <div class="MWFScript" name="beforeExecuteScript"></div>
  181. </td>
  182. </tr>
  183. </table>
  184. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  185. </div>
  186. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  187. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  188. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo3}}</div>
  189. </div>
  190. <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;">
  191. <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>
  192. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterExecute}}</div>
  193. </div>
  194. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  195. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  196. <tr>
  197. <td class="editTableTitle">{{$.lp.afterExecute}}:</td>
  198. <td class="editTableValue">
  199. <div class="MWFScript" name="afterExecuteScript"></div>
  200. </td>
  201. </tr>
  202. </table>
  203. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  204. </div>
  205. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  206. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></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/text{($.beforeInquireScript || $.beforeInquireScriptText) ? "event_code" : "event"}.png) no-repeat center center;"></div>
  210. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeInquire}}</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">{{$.lp.beforeInquire}}:</td>
  216. <td class="editTableValue">
  217. <div class="MWFScript" name="beforeInquireScript"></div>
  218. </td>
  219. </tr>
  220. </table>
  221. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  222. </div>
  223. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  224. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  225. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo4}}</div>
  226. </div>
  227. <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;">
  228. <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>
  229. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterInquire}}</div>
  230. </div>
  231. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  232. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  233. <tr>
  234. <td class="editTableTitle">{{$.lp.afterInquire}}:</td>
  235. <td class="editTableValue">
  236. <div class="MWFScript" name="afterInquireScript"></div>
  237. </td>
  238. </tr>
  239. </table>
  240. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  241. </div>
  242. </div>
  243. </div>