delay.html 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  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.timer}}" class="MWFTab">
  48. <div class="editTableHeadTitle">{{$.lp.timerType}}</div>
  49. <div style="padding: 10px; border-bottom: 1px solid #cccccc;">
  50. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}delayMinuteEditArea').setStyle('display', 'block'); $('text{$.id}delayUntilEditArea').setStyle('display', 'none');}" name="delayType" text{($.delayType=='minute')?'checked':''} type="radio" value="minute" checked/>{{$.lp.delayTime}}
  51. <input class="editTableRadio" onclick="if (this.checked){ $('text{$.id}delayMinuteEditArea').setStyle('display', 'none'); $('text{$.id}delayUntilEditArea').setStyle('display', 'block');}"name="delayType" text{($.delayType=='until')?'checked':''} type="radio" value="until"/>{{$.lp.specifyTime}}
  52. </div>
  53. <div id="text{$.id}delayMinuteEditArea" style="display: text{($.delayType=='minute')?'block':'none'}; margin-top: 5px;">
  54. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  55. <tr>
  56. <td class="editTableValue" colspan="2"><b>{{$.lp.workTimeOnly}}:</b>
  57. <input class="editTableRadio" name="workMinute" text{($.workMinute)?'checked':''} type="radio" value="true"/>{{$.lp.yes}}
  58. <input class="editTableRadio" name="workMinute" text{(!$.workMinute)?'checked':''} type="radio" value="false"/>{{$.lp.no}}
  59. </td>
  60. </tr>
  61. <tr>
  62. <td class="editTableValue" style="width: 80px;"><b>{{$.lp.specifyMinute}}:</b></td>
  63. <td class="editTableValue"><input type="text" name="delayMinute" value="text{$.delayMinute}" class="editTableInput"/></td>
  64. </tr>
  65. </table>
  66. </div>
  67. <div id="text{$.id}delayUntilEditArea" style="display: text{($.delayType=='until')?'block':'none'}; margin-top: 5px;">
  68. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  69. <tr>
  70. <td class="editTableValue" style="width: 80px;"><b>{{$.lp.specifyATime}}:</b></td>
  71. <td class="editTableValue"><div class="MWFDateTime"><input class="editTableInput" readonly type="text" name="delayTime" value="text{$.delayTime}" /></div></td>
  72. </tr>
  73. </table>
  74. </div>
  75. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  76. <tr>
  77. <td class="editTableValue" style="width: 80px;"><b>{{$.lp.specifyData}}:</b></td>
  78. <td class="editTableValue"><input type="text" name="delayDataPath" value="text{$.delayDataPath}" class="editTableInput"/></td>
  79. </tr>
  80. </table>
  81. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  82. <tr>
  83. <td class="editTableValue"><b>{{$.lp.byScript}}</b></td>
  84. </tr>
  85. </table>
  86. <div class="MWFScript" name="delayScript"></div>
  87. <div class="MWFScriptText" name="delayScriptText"></div>
  88. </div>
  89. <div title="{{$.lp.event}}" class="MWFTab" data-o2-advanced="yes">
  90. <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;">
  91. <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>
  92. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeWorkArrive}}</div>
  93. </div>
  94. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  95. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  96. <tr>
  97. <td class="editTableTitle">{{$.lp.beforeArriveActivity}}:</td>
  98. <td class="editTableValue">
  99. <div class="MWFScript" name="beforeArriveScript"></div>
  100. </td>
  101. </tr>
  102. </table>
  103. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  104. </div>
  105. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  106. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  107. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo2}}</div>
  108. </div>
  109. <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;">
  110. <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>
  111. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterArriveActivity}}</div>
  112. </div>
  113. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  114. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  115. <tr>
  116. <td class="editTableTitle">{{$.lp.afterArriveActivity}}:</td>
  117. <td class="editTableValue">
  118. <div class="MWFScript" name="afterArriveScript"></div>
  119. </td>
  120. </tr>
  121. </table>
  122. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  123. </div>
  124. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  125. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  126. </div>
  127. <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;">
  128. <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>
  129. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeExecute}}</div>
  130. </div>
  131. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  132. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  133. <tr>
  134. <td class="editTableTitle">{{$.lp.beforeExecute}}:</td>
  135. <td class="editTableValue">
  136. <div class="MWFScript" name="beforeExecuteScript"></div>
  137. </td>
  138. </tr>
  139. </table>
  140. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  141. </div>
  142. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  143. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  144. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo3}}</div>
  145. </div>
  146. <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;">
  147. <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>
  148. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterExecute}}</div>
  149. </div>
  150. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  151. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  152. <tr>
  153. <td class="editTableTitle">{{$.lp.afterExecute}}:</td>
  154. <td class="editTableValue">
  155. <div class="MWFScript" name="afterExecuteScript"></div>
  156. </td>
  157. </tr>
  158. </table>
  159. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  160. </div>
  161. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  162. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  163. </div>
  164. <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;">
  165. <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>
  166. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeInquire}}</div>
  167. </div>
  168. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  169. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  170. <tr>
  171. <td class="editTableTitle">{{$.lp.beforeInquire}}:</td>
  172. <td class="editTableValue">
  173. <div class="MWFScript" name="beforeInquireScript"></div>
  174. </td>
  175. </tr>
  176. </table>
  177. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  178. </div>
  179. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  180. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  181. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo4}}</div>
  182. </div>
  183. <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;">
  184. <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>
  185. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterInquire}}</div>
  186. </div>
  187. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  188. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  189. <tr>
  190. <td class="editTableTitle">{{$.lp.afterInquire}}:</td>
  191. <td class="editTableValue">
  192. <div class="MWFScript" name="afterInquireScript"></div>
  193. </td>
  194. </tr>
  195. </table>
  196. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  197. </div>
  198. </div>
  199. </div>