editorJob.jsp 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="utf-8"%>
  2. <%@include file="/WEB-INF/ehr/commons/jsp/commonInclude.jsp" %>
  3. <link rel="stylesheet" href="${contextRoot}/develop/lib/plugin/steps/jquery.steps.css">
  4. <style>
  5. .wizard > .steps a, .wizard > .steps a:hover, .wizard > .steps a:active{margin:10px;line-height:30px;}
  6. .wizard > .steps .disabled a, .wizard > .steps .disabled a:hover, .wizard > .steps .disabled a:active{background: #f5f8fa;border:1px dashed #e1e1e1}
  7. .wizard > .steps .done a, .wizard > .steps .done a:hover, .wizard > .steps .done a:active{background:#f0f0f0;border:1px solid #e1e1e1;color:#323232}
  8. .wizard > .steps .current a, .wizard > .steps .current a:hover, .wizard > .steps .current a:active{background: #1eaaff;border:0px;}
  9. .wizard > .steps span.number{color:#aaa;background:transparent;}
  10. .wizard > .steps .current span.number{color:#fff}
  11. .wizard > .steps .done span.number{color:#323232}
  12. .wizard > .actions{position: fixed;bottom:0px;height:55px;padding:10px;background: #f5f8fa;width:100%}
  13. .wizard > .actions > ul > li {margin-left: 10px; }
  14. .wizard > .actions a, .wizard > .actions a:hover, .wizard > .actions a:active
  15. {
  16. border-radius:3px;
  17. background:#1eaaff;
  18. height:30px;
  19. overflow:hidden;
  20. width:70px;
  21. line-height:30px;
  22. cursor:pointer;
  23. padding:0px;
  24. text-align: center;
  25. }
  26. .wizard > .actions a.l-button-green{background:#50b946;}
  27. .wizard > .actions a.l-button-no{background-color: #f0f0f0;color:#323232}
  28. .wizard > .content{ background-color: transparent; }
  29. .wizard > .content > .body { position:inherit; }
  30. .wizard > .content > .body input{ border:0px; }
  31. .wizard > .content > .body input.l-textbox{border:1px solid #e1e1e1}
  32. .wizard > .content > .body input.l-textbox:focus{ border-color:#1eaaff; }
  33. .wizard > .content > .body input.l-hidden{ display:none; }
  34. .divIntervalOption{display: none;padding-top:10px;}
  35. .divIntervalOption .label-left{float:left;padding-left:4px;padding-right:4px;height:30px;line-height:30px;}
  36. .divIntervalOption .l-text{float:left}
  37. .inlineDialog .l-dialog-tl,.inlineDialog .l-dialog-tc,.inlineDialog .l-dialog-tr,.inlineDialog .l-dialog-tc-inner{height:0px;overflow: hidden}
  38. .inlineDialog .l-dialog-table tr,.inlineDialog .l-dialog-table td{border:0px;}
  39. .wizard > .content{height:410px;}
  40. </style>
  41. <%--按步执行面板--%>
  42. <div id="div_form" style="display: none;" class="m-form-inline">
  43. <h1>基本信息</h1>
  44. <div class="step-content">
  45. <div class="m-form-group">
  46. <label>任务名称:</label>
  47. <div class="m-form-control">
  48. <input type="text" class="l-textbox" id="txtJobName"/>
  49. </div>
  50. </div>
  51. <div class="m-form-group">
  52. <label>任务说明:</label>
  53. <div class="m-form-control">
  54. <textarea rows="6" class="l-textarea" style="width:240px;" id="txtJobInfo"></textarea>
  55. </div>
  56. </div>
  57. <div class="m-form-group">
  58. <label>任务类型:</label>
  59. <div class="m-form-control">
  60. <div class="u-checkbox-wrap m-form-control">
  61. <input type="radio" name="jobContentType" value="0" checked>采集
  62. <input type="radio" name="jobContentType" value="1" >上传
  63. </div>
  64. </div>
  65. </div>
  66. <div class="m-form-group">
  67. <label id="lbJobContent">关联模板流程:</label>
  68. <div class="m-form-control">
  69. <input type="text" name="flowTempId" id="jobContentClass">
  70. <input type="hidden" name="flowId" id="flowId" >
  71. <input type="text" class="l-textbox" id="txtJobContent" style="display: none"/>
  72. </div>
  73. </div>
  74. <div style="display:none;">
  75. <input type="hidden" id="txtId"/>
  76. <input type="hidden" id="txtValid"/>
  77. <input type="hidden" id="txtSchemeId"/>
  78. <input type="hidden" id="txtSchemeVersion"/>
  79. <input type="hidden" id="txtCronExpression" />
  80. <input type="hidden" id="txtJobDataset"/>
  81. </div>
  82. </div>
  83. <h1>适配方案</h1>
  84. <div class="step-content">
  85. <div class="m-form-group">
  86. <label>适配方案列表:</label>
  87. <div id="listPlan" class="m-form-control"></div>
  88. </div>
  89. </div>
  90. <h1>数据集</h1>
  91. <div class="step-content">
  92. <div class="m-form-group">
  93. <label>数据集列表:</label>
  94. <div id="listDataset" class="m-form-control"></div>
  95. <div id="crawlerListDataset" class="m-form-control f-dn"></div>
  96. </div>
  97. </div>
  98. <h1>执行计划</h1>
  99. <div class="step-content">
  100. <div class="m-form-group">
  101. <label>任务执行方式:</label>
  102. <div class="u-checkbox-wrap m-form-control">
  103. <input type="radio" name="jobType" value="0">单次执行
  104. <input type="radio" name="jobType" value="1" checked>周期执行
  105. </div>
  106. </div>
  107. <div class="m-form-group">
  108. <label>任务触发时间:</label>
  109. <div class="m-form-control">
  110. <input id="dateNextTime" type="text" id="jobNextTime" />
  111. </div>
  112. </div>
  113. <div class="m-form-group" id="divRepeatStart" style="display: none">
  114. <label>采集开始时间:</label>
  115. <div class="m-form-control">
  116. <input id="repeatStartTime" type="text" />
  117. </div>
  118. </div>
  119. <div class="m-form-group" id="divRepeatEnd" style="display: none">
  120. <label>采集结束时间:</label>
  121. <div class="m-form-control">
  122. <input id="repeatEndTime" type="text" />
  123. </div>
  124. </div>
  125. <div id="divDelayTime" class="m-form-group" style="display: none">
  126. <label>延迟时间:</label>
  127. <div class="m-form-control">
  128. <input type="text" id="txtDelayTime" />
  129. </div>
  130. <div style="float:left;line-height:30px;padding-left:4px;">天</div>
  131. </div>
  132. <div class="m-form-group" id="divTimeInterval">
  133. <label>执行周期:</label>
  134. <div class="m-form-control">
  135. <div>
  136. <input type="radio" name="interval_type" value="0" checked/>分
  137. <input type="radio" name="interval_type" value="1" />时
  138. <input type="radio" name="interval_type" value="2" />天
  139. <input type="radio" name="interval_type" value="3" />周
  140. <input type="radio" name="interval_type" value="4" />月
  141. </div>
  142. <div id="divIntervalOption0" class="divIntervalOption" style="display: block">
  143. <div class="label-left">每隔</div><input type="text" id="txtM" /><div class="label-left">分</div>
  144. </div>
  145. <div id="divIntervalOption1" class="divIntervalOption">
  146. <div class="label-left">每隔</div><input type="text" id="txtH" /><div class="label-left">时</div>
  147. </div>
  148. <div id="divIntervalOption2" class="divIntervalOption">
  149. <div class="label-left">每隔</div><input type="text" id="txtD" /><div class="label-left">天</div>
  150. </div>
  151. <div id="divIntervalOption3" class="divIntervalOption">
  152. <input type="checkbox" name="week_day" value="2"/>周一
  153. <input type="checkbox" name="week_day" value="3"/>周二
  154. <input type="checkbox" name="week_day" value="4"/>周三
  155. <input type="checkbox" name="week_day" value="5"/>周四
  156. <input type="checkbox" name="week_day" value="6"/>周五<br/>
  157. <input type="checkbox" name="week_day" value="7"/>周六
  158. <input type="checkbox" name="week_day" value="1"/>周日
  159. </div>
  160. <div id="divIntervalOption4" class="divIntervalOption">
  161. <div class="m-form-group">
  162. <input type="radio" name="month_day" value="0" checked/>每月第一天
  163. </div>
  164. <div class="m-form-group">
  165. <input type="radio" name="month_day" value="1" />每月最后一天
  166. </div>
  167. <div class="m-form-group">
  168. <div style="float: left">
  169. <input type="radio" name="month_day" value="2"/>
  170. </div>
  171. <div class="label-left" style="padding-left:0px;">每月第</div><input type="text" id="txtMD" disabled/><div class="label-left">天</div>
  172. </div>
  173. </div>
  174. </div>
  175. </div>
  176. </div>
  177. </div>
  178. <%--设置条件面板--%>
  179. <div id="divCondition" style="display:none;height:440px;width:100%" class="m-form-inline m-form-top">
  180. <div class="m-form-group" style="padding-top:10px;">
  181. <label>轮询字段:</label>
  182. <div class="m-form-control">
  183. <input type="text" data-type="select" id="jobDatasetKey">
  184. </div>
  185. </div>
  186. <div class="m-form-group">
  187. <label>轮询字段类型:</label>
  188. <div class="m-form-control">
  189. <input type="text" data-type="select" id="jobDatasetKeytype">
  190. </div>
  191. </div>
  192. <div class="m-form-group">
  193. <label>过滤条件:</label>
  194. <div class="m-form-control">
  195. <input type="text" id="jobDatasetCondition" />
  196. </div>
  197. </div>
  198. <div class="m-form-bottom">
  199. <div id="btnCancelCondition" class="l-button l-button-no" >
  200. <span>取消</span>
  201. </div>
  202. <div id="btnSaveCondition" class="l-button" >
  203. <span>确定</span>
  204. </div>
  205. </div>
  206. </div>