taskMode.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. <div id="task-bd-toolbar" style="padding: 10px 5px;">
  2. <span>
  3. 库名:
  4. <input id="grainTask-container" class="easyui-combotree combotree-f combo-f textbox-f" editable="true" data-options="width:'140px',height:'20px'" name="grainId">&emsp;&emsp;
  5. 任务名称:<input class="easyui-combobox taskNameSearch" style="width:140px" name="taskName" >&emsp;&emsp;
  6. 状态:
  7. <select class="easyui-combobox qii-file-type" editable="false" style="width:80px" name="status" data-options="panelHeight:110">
  8. <option value="0">执行中</option>
  9. <option value="1">已停止</option>
  10. </select>&emsp;
  11. <a href="#" class="easyui-linkbutton bd-add-s qii-search" data-type="0" plain="true">查询</a>
  12. <a href="#" class="easyui-linkbutton bd-add-s task-add-btn" data-type="0" plain="true">添加</a>
  13. <a href="#" class="easyui-linkbutton bd-add-s clear-btn1" plain="true">清空</a>
  14. </span>
  15. <a href="#" class="easyui-linkbutton bd-add-s stopStatusBatch" plain="true" style="float: right;">批量停止</a>
  16. <a href="#" class="easyui-linkbutton bd-add-s startStatusBatch" plain="true" style="float: right; margin-right:5px;">批量启动</a>
  17. </div>
  18. <table id="task-bd-dg" style="height:500px;" class="role-manage-table">
  19. </table>
  20. <!--********任务模式添加**********-->
  21. <div id="taskAdd" class="easyui-dialog" data-options="closed: 'true',modal: 'true'" style="padding: 20px; width:600px; height:400px;">
  22. <span class="deviceIn-device-w-t">
  23. <span class="deviceIn-pitem-lit">任务名称:</span>
  24. <span class="deviceIn-pitem-lic"><input class="easyui-textbox taskName" data-options="required:true" name="taskName" style="width:350px;"></span>
  25. </span><br/>
  26. <span class="deviceIn-device-w-t">
  27. <span class="deviceIn-pitem-lit">任务触发时间:</span>
  28. <span class="deviceIn-pitem-lic">
  29. <select id="triggerTime" class="easyui-combobox" data-options="required:true" style="width:150px;">
  30. <option>请选择</option>
  31. <option value="hours">每小时</option>
  32. <option value="day">每天</option>
  33. <option value="week">每周</option>
  34. <option value="month">每月</option>
  35. <option value="custom">自定义</option>
  36. </select>
  37. </span>
  38. <span class="tri-time-text tri-hours"><input class="easyui-textbox tri-input1 tri-hours-input1 easyui-numberbox" name="tri-hours" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-hours-input2 easyui-numberbox" name="tri-hours" type="text" data-options="validType:'length[2,2]'"/></span>
  39. <span class="tri-time-text tri-day"><input class="easyui-textbox tri-input1 tri-day-input1 easyui-numberbox" name="tri-day" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-day-input2 easyui-numberbox" type="text" name="tri-day" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-day-input3 easyui-numberbox" type="text" name="tri-day" data-options="validType:'length[2,2]'"/></span>
  40. <span class="tri-time-text tri-week">
  41. <select class="easyui-combobox everyWeek" style="width:100px;" name="tri-week">
  42. <option value="周一">周一</option>
  43. <option value="周二">周二</option>
  44. <option value="周三">周三</option>
  45. <option value="周四">周四</option>
  46. <option value="周五">周五</option>
  47. <option value="周六">周六</option>
  48. <option value="周日">周日</option>
  49. </select>
  50. <input class="easyui-textbox tri-input1 tri-week-input1 easyui-numberbox" type="text" name="tri-week" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-week-input2 easyui-numberbox" name="tri-week" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-week-input3 easyui-numberbox" name="tri-week" type="text" data-options="validType:'length[2,2]'"/>
  51. </span>
  52. <span class="tri-time-text tri-month">
  53. <input class="easyui-combobox tri-monthDate" style="width:100px;" name="tri-month" data-options="
  54. valueField: 'label',
  55. textField: 'value',
  56. data: [{ label: '1',value: '1号'},
  57. { label: '2',value: '2号'},
  58. { label: '3',value: '3号'},
  59. { label: '4',value: '4号'},
  60. { label: '5',value: '5号'},
  61. { label: '6',value: '6号'},
  62. { label: '7',value: '7号'},
  63. { label: '8',value: '8号'},
  64. { label: '9',value: '9号'},
  65. { label: '10',value: '10号'},
  66. { label: '11',value: '11号'},
  67. { label: '12',value: '12号'},
  68. { label: '13',value: '13号'},
  69. { label: '14',value: '14号'},
  70. { label: '15',value: '15号'},
  71. { label: '16',value: '16号'},
  72. { label: '17',value: '17号'},
  73. { label: '18',value: '18号'},
  74. { label: '19',value: '19号'},
  75. { label: '20',value: '20号'},
  76. { label: '21',value: '21号'},
  77. { label: '22',value: '22号'},
  78. { label: '23',value: '23号'},
  79. { label: '24',value: '24号'},
  80. { label: '25',value: '25号'},
  81. { label: '26',value: '26号'},
  82. { label: '27',value: '27号'},
  83. { label: '28',value: '28号'},
  84. { label: '29',value: '29号'},
  85. { label: '30',value: '30号'},
  86. { label: '31',value: '31号'}]" />
  87. <input class="easyui-textbox tri-input1 tri-month-input1 easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-month-input2 easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-month-input3 easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/>
  88. </span>
  89. <span class="tri-time-text tri-custom">
  90. <input class="easyui-datetimebox add-start-time" name="tri-custom" editable="false" type="text" style="width:196px;" data-options="required:true" value="">
  91. </span>
  92. </span><br/>
  93. <span class="deviceIn-pitem-lit">请选择仓房:</span>
  94. <div class="taskadd-cbox-wrap">
  95. <a id="allChange" href="#" class="t-ins">全选</a>
  96. <a id="reverseChange" href="#" class="t-ins">反选</a>
  97. <div class="taskadd-cbox" id="addCboxVal">
  98. </div>
  99. </div>
  100. <div class="btn-box">
  101. <a href="#" class="easyui-linkbutton bd-add-s grain-task-add-new l-btn l-btn-small l-btn-plain" plain="true" group="" id="grain-task-add-new"><span class="l-btn-left"><span class="l-btn-text">确定</span></span></a>
  102. </div>
  103. </div>
  104. <!--********任务模式修改**********-->
  105. <div id="taskUpdate" class="easyui-dialog" data-options="closed: 'true',modal: 'true'" style="padding: 20px; width:600px; height:400px;">
  106. <span class="deviceIn-device-w-t">
  107. <span class="deviceIn-pitem-lit">任务名称:</span>
  108. <span class="deviceIn-pitem-lic"><input class="easyui-textbox taskNameU" data-options="required:true" name="taskName" style="width:350px;"></span>
  109. </span><br/>
  110. <span class="deviceIn-device-w-t">
  111. <span class="deviceIn-pitem-lit">任务触发时间:</span>
  112. <span class="deviceIn-pitem-lic">
  113. <select id="triggerTimeU" class="easyui-combobox" data-options="required:true" style="width:150px;">
  114. <option>请选择</option>
  115. <option value="hours">每小时</option>
  116. <option value="day">每天</option>
  117. <option value="week">每周</option>
  118. <option value="month">每月</option>
  119. <option value="custom">自定义</option>
  120. </select>
  121. </span>
  122. <span class="tri-time-text tri-hours"><input class="easyui-textbox tri-input1 tri-hours-input1U easyui-numberbox" name="tri-hours" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-hours-input2U easyui-numberbox" name="tri-hours" type="text" data-options="validType:'length[2,2]'"/></span>
  123. <span class="tri-time-text tri-day"><input class="easyui-textbox tri-input1 tri-day-input1U easyui-numberbox" name="tri-day" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-day-input2U easyui-numberbox" type="text" name="tri-day" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-day-input3U easyui-numberbox" type="text" name="tri-day" data-options="validType:'length[2,2]'"/></span>
  124. <span class="tri-time-text tri-week">
  125. <select class="easyui-combobox everyWeekU" style="width:100px;" name="tri-week">
  126. <option value="周一">周一</option>
  127. <option value="周二">周二</option>
  128. <option value="周三">周三</option>
  129. <option value="周四">周四</option>
  130. <option value="周五">周五</option>
  131. <option value="周六">周六</option>
  132. <option value="周日">周日</option>
  133. </select>
  134. <input class="easyui-textbox tri-input1" type="text"/> : <input class="easyui-textbox tri-input1" type="text"/> : <input class="easyui-textbox tri-input1" type="text"/>
  135. </span>
  136. <span class="tri-time-text tri-month">
  137. <input class="easyui-textbox tri-input1 tri-week-input1U easyui-numberbox" type="text" name="tri-week" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-week-input2U easyui-numberbox" name="tri-week" type="text" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-week-input3U easyui-numberbox" name="tri-week" type="text" data-options="validType:'length[2,2]'"/>
  138. </span>
  139. <span class="tri-time-text tri-month">
  140. <input class="easyui-combobox tri-monthDateU" style="width:100px;" name="tri-month" data-options="
  141. valueField: 'label',
  142. textField: 'value',
  143. data: [{ label: '1',value: '1号'},
  144. { label: '2',value: '2号'},
  145. { label: '3',value: '3号'},
  146. { label: '4',value: '4号'},
  147. { label: '5',value: '5号'},
  148. { label: '6',value: '6号'},
  149. { label: '7',value: '7号'},
  150. { label: '8',value: '8号'},
  151. { label: '9',value: '9号'},
  152. { label: '10',value: '10号'},
  153. { label: '11',value: '11号'},
  154. { label: '12',value: '12号'},
  155. { label: '13',value: '13号'},
  156. { label: '14',value: '14号'},
  157. { label: '15',value: '15号'},
  158. { label: '16',value: '16号'},
  159. { label: '17',value: '17号'},
  160. { label: '18',value: '18号'},
  161. { label: '19',value: '19号'},
  162. { label: '20',value: '20号'},
  163. { label: '21',value: '21号'},
  164. { label: '22',value: '22号'},
  165. { label: '23',value: '23号'},
  166. { label: '24',value: '24号'},
  167. { label: '25',value: '25号'},
  168. { label: '26',value: '26号'},
  169. { label: '27',value: '27号'},
  170. { label: '28',value: '28号'},
  171. { label: '29',value: '29号'},
  172. { label: '30',value: '30号'},
  173. { label: '31',value: '31号'}]" />
  174. <input class="easyui-textbox tri-input1 tri-month-input1U easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-month-input2U easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/> : <input class="easyui-textbox tri-input1 tri-month-input3U easyui-numberbox" type="text" name="tri-month" data-options="validType:'length[2,2]'"/>
  175. </span>
  176. <span class="tri-time-text tri-custom">
  177. <input class="easyui-datetimebox update-custom-time" name="tri-custom" editable="false" type="text" style="width:196px;" value="">
  178. </span>
  179. </span><br/>
  180. <span class="deviceIn-pitem-lit">请选择仓房:</span>
  181. <div class="taskadd-cbox-wrap">
  182. <a id="allChangeU" href="#" class="t-ins">全选</a>
  183. <a id="reverseChangeU" href="#" class="t-ins">反选</a>
  184. <div class="taskadd-cbox" id="updateCboxVal">
  185. </div>
  186. </div>
  187. <div class="btn-box">
  188. <a href="#" class="easyui-linkbutton bd-add-s out-device-add-new l-btn l-btn-small l-btn-plain" plain="true" group="" id="grain-task-update-new"><span class="l-btn-left"><span class="l-btn-text">确定</span></span></a>
  189. </div>
  190. </div>
  191. <!--********任务模式详情**********-->
  192. <div id="taskView" class="easyui-dialog" data-options="closed: 'true',modal: 'true'" style="padding: 20px;">
  193. <div id="taskViewTabBox" style="height:400px;">
  194. <table id="taskViewTab" style="height:500px;" class="role-manage-table"></table>
  195. </div>
  196. <div class="task-temperature-tab" style="display:none;">
  197. <div class="tabs-wrap gas-cangf-menu" style="width: 100%;">
  198. <ul id="tabsInnerId" class="tabs" style="height: 26px;">
  199. <li class="tabs-first tabs-selected">
  200. <a href="javascript:void(0)" class="tabs-inner" style="height: 25px; line-height: 25px;">
  201. <span class="tabs-title">1号仓</span>
  202. </a>
  203. </li>
  204. <li>
  205. <a href="javascript:void(0)" class="tabs-inner" style="height: 25px; line-height: 25px;">
  206. <span class="tabs-title">3号仓</span>
  207. </a>
  208. </li>
  209. <li class="tabs-last">
  210. <a href="javascript:void(0)" class="tabs-inner" style="height: 25px; line-height: 25px;">
  211. <span class="tabs-title">4号仓</span>
  212. </a>
  213. </li>
  214. </ul>
  215. </div>
  216. 检测时间:
  217. <input class="easyui-datebox costLoss-start-time" type="text" editable="false" disabled="disabled">
  218. <table class="gas-his-tab1" cellpadding="0" cellspacing="0">
  219. <tr>
  220. <td></td>
  221. <td>风路1</td>
  222. <td>风路2</td>
  223. <td>风路3</td>
  224. <td>风路4</td>
  225. </tr>
  226. <tr>
  227. <td>氧气%</td>
  228. <td></td>
  229. <td></td>
  230. <td></td>
  231. <td></td>
  232. </tr>
  233. <tr>
  234. <td>磷化氢%</td>
  235. <td></td>
  236. <td></td>
  237. <td></td>
  238. <td></td>
  239. </tr>
  240. <tr>
  241. <td>二氧化碳%</td>
  242. <td></td>
  243. <td></td>
  244. <td></td>
  245. <td></td>
  246. </tr>
  247. <tr>
  248. <td>氮气%</td>
  249. <td></td>
  250. <td></td>
  251. <td></td>
  252. <td></td>
  253. </tr>
  254. </table>
  255. </div>
  256. </div>
  257. <div id="grainTask-start-massage" style="text-align: center;line-height: 75px;font-size: 15px;">
  258. 是否批量启动当前所选?
  259. </div>
  260. <div id="grainTask-stop-massage" style="text-align: center;line-height: 75px;font-size: 15px;">
  261. 是否批量停止当前所选?
  262. </div>
  263. <div id="grainTask-delete-massage" style="text-align: center;line-height: 75px;font-size: 15px;">
  264. 是否删除此任务?
  265. </div>