service.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  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.service}}" class="MWFTab">
  48. <div style="background-color: #f1f1f1; height: 20px; padding: 5px; line-height: 20px"><b>{{$.lp.serviceResponseScript}}</b></div>
  49. <div class="MWFScript" name="script"></div>
  50. <div class="MWFScriptText" name="scriptText" data-o2-api="../api/server.module_request.html#server.module_request"></div><hr/>
  51. <div style="padding: 5px; margin-top: 5px; line-height:20px; border-top: 1px solid #cccccc">
  52. <div style="line-height: 24px; padding: 2px 5px;">{{$.lp.responseInfo}}</div>
  53. <a href="../api/server.module_request.html#server.module_request" target="_blank">{{$.lp.apiDoc}}</a>
  54. </div>
  55. </div>
  56. <div title="{{$.lp.event}}" class="MWFTab" data-o2-advanced="yes">
  57. <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;">
  58. <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>
  59. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeWorkArrive}}</div>
  60. </div>
  61. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  62. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  63. <tr>
  64. <td class="editTableTitle">{{$.lp.beforeArriveActivity}}:</td>
  65. <td class="editTableValue">
  66. <div class="MWFScript" name="beforeArriveScript"></div>
  67. </td>
  68. </tr>
  69. </table>
  70. <div class="MWFScriptText" name="beforeArriveScriptText"></div><hr />
  71. </div>
  72. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  73. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  74. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo2}}</div>
  75. </div>
  76. <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;">
  77. <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>
  78. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterArriveActivity}}</div>
  79. </div>
  80. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  81. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  82. <tr>
  83. <td class="editTableTitle">{{$.lp.afterArriveActivity}}:</td>
  84. <td class="editTableValue">
  85. <div class="MWFScript" name="afterArriveScript"></div>
  86. </td>
  87. </tr>
  88. </table>
  89. <div class="MWFScriptText" name="afterArriveScriptText"></div><hr />
  90. </div>
  91. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  92. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  93. </div>
  94. <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;">
  95. <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>
  96. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeExecute}}</div>
  97. </div>
  98. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  99. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  100. <tr>
  101. <td class="editTableTitle">{{$.lp.beforeExecute}}:</td>
  102. <td class="editTableValue">
  103. <div class="MWFScript" name="beforeExecuteScript"></div>
  104. </td>
  105. </tr>
  106. </table>
  107. <div class="MWFScriptText" name="beforeExecuteScriptText"></div><hr />
  108. </div>
  109. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  110. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  111. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo3}}</div>
  112. </div>
  113. <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;">
  114. <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>
  115. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterExecute}}</div>
  116. </div>
  117. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  118. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  119. <tr>
  120. <td class="editTableTitle">{{$.lp.afterExecute}}:</td>
  121. <td class="editTableValue">
  122. <div class="MWFScript" name="afterExecuteScript"></div>
  123. </td>
  124. </tr>
  125. </table>
  126. <div class="MWFScriptText" name="afterExecuteScriptText"></div><hr />
  127. </div>
  128. <div style="line-height: 20px; height: 26px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC">
  129. <div style="height: 26px; background: url(../x_component_process_ProcessDesigner/$Process/down16.png) no-repeat center center;"></div>
  130. </div>
  131. <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;">
  132. <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>
  133. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.beforeInquire}}</div>
  134. </div>
  135. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  136. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  137. <tr>
  138. <td class="editTableTitle">{{$.lp.beforeInquire}}:</td>
  139. <td class="editTableValue">
  140. <div class="MWFScript" name="beforeInquireScript"></div>
  141. </td>
  142. </tr>
  143. </table>
  144. <div class="MWFScriptText" name="beforeInquireScriptText"></div><hr />
  145. </div>
  146. <div style="line-height: 20px; height: 46px; border-bottom: 1px solid #CCCCCC; border-top: 1px solid #CCCCCC; background-color:#f6f6f6;">
  147. <div style="height: 46px; width: 30px; float: left; background: url(../x_component_process_ProcessDesigner/$Process/down.png) no-repeat center center;"></div>
  148. <div style="margin-left: 20px; padding: 3px 10px; text-align: center; color: #666666;">{{$.lp.eventInfo4}}</div>
  149. </div>
  150. <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;">
  151. <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>
  152. <div style="margin-left: 20px; padding: 0px 5px;">{{$.lp.afterInquire}}</div>
  153. </div>
  154. <div style="display: none; overflow:hidden; border-left: 10px solid #EEEEEE; border-bottom: 10px solid #EEEEEE;">
  155. <table width="100%" border="0" cellpadding="5" cellspacing="0" class="editTable">
  156. <tr>
  157. <td class="editTableTitle">{{$.lp.afterInquire}}:</td>
  158. <td class="editTableValue">
  159. <div class="MWFScript" name="afterInquireScript"></div>
  160. </td>
  161. </tr>
  162. </table>
  163. <div class="MWFScriptText" name="afterInquireScriptText"></div><hr />
  164. </div>
  165. </div>
  166. </div>