choice.html 14 KB

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