You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

433 lines
20 KiB

  1. <!--
  2. 作者:赵健
  3. 时间:2016-10-25
  4. 描述:单一线路的车次调度
  5. -->
  6. <!DOCTYPE html>
  7. <html>
  8. <head>
  9. <meta charset="UTF-8">
  10. <title>车次调度</title>
  11. <link rel="stylesheet" href="../css/font-awesome.min.css"/>
  12. <link rel="stylesheet" href="../css/bootstrap.min.css"/>
  13. <link rel="stylesheet" href="../css/ace.min.css"/>
  14. <link rel="stylesheet" href="../css/main.css"/>
  15. <link rel="stylesheet" href="../css/master.css"/>
  16. <link rel="stylesheet" href="../css/new_page.css"/>
  17. <link rel="stylesheet" href="css/com_dispatch.css"/>
  18. <style type="text/css">
  19. th,
  20. td {
  21. text-align: center;
  22. vertical-align: middle !important;
  23. padding: 4px !important;
  24. }
  25. td > input {
  26. width: 80px;
  27. height: 26px;
  28. }
  29. .statusOK {
  30. height: 41px;
  31. padding-left: 10px;
  32. border-bottom: 1px solid #DDDDDD;
  33. }
  34. .statusNO {
  35. height: 41px;
  36. padding-left: 10px;
  37. border-bottom: 1px solid #DDDDDD;
  38. }
  39. ul {
  40. margin: 0px;
  41. padding: 0px;
  42. }
  43. .status_div_hide {
  44. display: none;
  45. width: 120px;
  46. height: 40px;
  47. float: right;
  48. background-color: #F3F3F3;
  49. }
  50. .status_div_show1 {
  51. display: inline-block;
  52. height: 40px;
  53. float: right;
  54. margin-right: 20px
  55. }
  56. .status_two {
  57. display: inline-block;
  58. background-color: rgba(51, 204, 0, 1);
  59. color: #FFFFFF;
  60. margin-left: 11px;
  61. padding: 3px 8px;
  62. margin-top: 8px;
  63. cursor: pointer;
  64. }
  65. .status_two_left {
  66. background-color: rgba(255, 153, 0, 1);;
  67. }
  68. .status_two_right {
  69. background-color: #FFFFFF;
  70. color: #000000;
  71. }
  72. </style>
  73. </head>
  74. <body>
  75. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  76. <div class="navbar-header ">
  77. <a href="#" class="navbar-brand">
  78. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  79. </a>
  80. </div>
  81. </div>
  82. <div id="show_html" style="display:none;" class="warp clearfix">
  83. <div class="control-bar"></div>
  84. <div class="control-show main_style">-->
  85. <div class="main_style">
  86. <div class="top">
  87. <div class="topline com_line btn-primary" data-value="0" onclick="selectBarInfo(0)">全部</div>
  88. <div class="topline com_line btn-primary" data-value="255" onclick="selectBarInfo(255)">直通巴士</div>
  89. <div class="topline com_line btn-primary" data-value="266" onclick="selectBarInfo(256)">穿梭巴士</div>
  90. <div class="topline sole_line" data-value="316">组合线路</div>
  91. </div>
  92. <div class="middle">
  93. <div class="first">
  94. <span>出发日期:</span>
  95. <input type="text" id="start_date" class="Wdate start_date_all" style="height: 25px;width: 110px"
  96. name="begin" placeholder="开始日期"
  97. onfocus="WdatePicker({doubleCalendar:true,errDealMode:0,isShowClear:false,dateFmt:'yyyy-MM-dd', minDate:'', maxDate:''});">
  98. <span class="btn-primary day today" onclick="today()">今日</span>
  99. <span class="btn-primary day tomorrow" onclick="tomorrow()">明日</span>
  100. <span style="padding-left: 30px;">产品线:</span>
  101. <select id="product_type" style="width: 120px;" name="">
  102. </select>
  103. <span onclick="searchBtnDidClicked()" id="search_btn" class="btn-primary search_btn">查询</span>
  104. </div>
  105. </div>
  106. <div class="product_line_sort">
  107. <table style="table-layout:fixed;" class="tab_css_1">
  108. <thead id="product_line_name">
  109. <!--<th style="min-width: 70px;background-color: #e5e5e5;">总计</th>
  110. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  111. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  112. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  113. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  114. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  115. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  116. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  117. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  118. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  119. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  120. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  121. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  122. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  123. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>
  124. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>A</th>
  125. <th style="min-width: 70px;background-color: #e5e5e5;">(T)<br>E+A(两)</th>-->
  126. </thead>
  127. <tr id="product_line_no" style="border-bottom: 1px solid #ccc;" class="tr_css" align="center">
  128. <!--<td style="width: 70px;color: #333;">323</td>
  129. <td style="width: 70px;">20</td>
  130. <td style="width: 70px;">20</td>
  131. <td style="width: 70px;">20</td>
  132. <td style="width: 70px;">20</td>
  133. <td style="width: 70px;">20</td>
  134. <td style="width: 70px;">20</td>
  135. <td style="width: 70px;">20</td>
  136. <td style="width: 70px;">20</td>
  137. <td style="width: 70px;">20</td>
  138. <td style="width: 70px;">20</td>
  139. <td style="width: 70px;">20</td>
  140. <td style="width: 70px;">20</td>
  141. <td style="width: 70px;">20</td>
  142. <td style="width: 70px;">20</td>
  143. <td style="width: 70px;">20</td>
  144. <td style="width: 70px;">20</td>-->
  145. </tr>
  146. </table>
  147. </div>
  148. <!--自动分车、加车、减车、重置-->
  149. <div class="middle_2">
  150. <div style="cursor: pointer;" onclick="auto_bus()" class="fenche btn-primary">自动分车</div>
  151. <div onclick="resetDispatch(this)" class="car_reset btn-primary" style="cursor: pointer;">重置</div>
  152. <div class="go_list btn-primary hidden" style="cursor: pointer;">去程</div>
  153. <div class="back_list btn-primary hidden" style="cursor: pointer;">返程</div>
  154. </div>
  155. <div class="tableOrList" style="margin-top: 30px;">
  156. <div class="left">
  157. <div id="travel-1" class="left-table">
  158. <table class="table table-bordered table-hover">
  159. <thead>
  160. <tr>
  161. <th style="width:30px">
  162. <input class="ace_check" type="checkbox" style="width: 18px;height: 18px;"
  163. onclick="selectChecked('0')"/>
  164. </th>
  165. <th style="width:60px">序号</th>
  166. <th style="width:60px">座位数</th>
  167. <th style="width:60px">人数</th>
  168. <th style="width:60px">余位</th>
  169. <th style="width:200px">组成</th>
  170. <th style="width:90px">车辆</th>
  171. <th style="width:90px">司机</th>
  172. <th style="width:90px">导游</th>
  173. </tr>
  174. </thead>
  175. <tbody id="tbodySingle" style="display: none;">
  176. <tr class="trRow" data-param="[data-param]">
  177. <td>
  178. <input class="ace_check" name="[name]" type="checkbox" style="width: 18px;height: 18px;"
  179. onclick="selectChecked('1')"/>
  180. </td>
  181. <td>[序号]</td>
  182. <td>[座位数]</td>
  183. <td style="color: #1144EB;"><span class="amend_line2" bus_num="[bus_num]" run_id="[run_id]"
  184. style="cursor: pointer;">[人数]</span></td>
  185. <td>[余位]</td>
  186. <td>[组成]</td>
  187. <td>
  188. [车辆]
  189. </td>
  190. <td>
  191. [司机]
  192. </td>
  193. <td>
  194. [导游]
  195. </td>
  196. </tr>
  197. </tbody>
  198. </table>
  199. <div class="pageDiv"></div>
  200. </div>
  201. <hr>
  202. <!--表格-->
  203. <div id="travel-2" class="left-table">
  204. <div class="middle_3">
  205. <div class="add_car" onclick="add_car()" style="cursor: pointer;">+ 加车</div>
  206. <div class="cut_car" onclick="cut_car()" style="cursor: pointer;margin-right: 30px;">- 减车</div>
  207. </div>
  208. <table class="table table-bordered table-hover">
  209. <thead>
  210. <tr>
  211. <th style="width:30px">
  212. <input class="ace_check" type="checkbox" style="width: 18px;height: 18px;"
  213. onclick="selectChecked('0')"/>
  214. </th>
  215. <th style="width:60px">序号</th>
  216. <th style="width:60px">座位数</th>
  217. <th style="width:60px">人数</th>
  218. <th style="width:60px">余位</th>
  219. <th style="width:200px">组成</th>
  220. <th style="width:90px">车辆</th>
  221. <th style="width:90px">司机</th>
  222. <th style="width:90px">导游</th>
  223. </tr>
  224. </thead>
  225. <tbody id="tbodyGroup" style="display: none;">
  226. <tr class="trRow" data-param="[data-param]">
  227. <td>
  228. <input class="ace_check" name="[name]" type="checkbox" style="width: 18px;height: 18px;"
  229. onclick="selectChecked('1')"/>
  230. </td>
  231. <td>[序号]</td>
  232. <td>[座位数]</td>
  233. <td style="color: #1144EB;"><span class="amend_line2" bus_num="[bus_num]"
  234. style="cursor: pointer;">[人数]</span></td>
  235. <td>[余位]</td>
  236. <td>[组成]</td>
  237. <td>
  238. [车辆]
  239. </td>
  240. <td>
  241. [司机]
  242. </td>
  243. <td>
  244. [导游]
  245. </td>
  246. </tr>
  247. </tbody>
  248. </table>
  249. <div class="pageDiv"></div>
  250. </div>
  251. </div>
  252. <!--left end-->
  253. <div class="right">
  254. <!--right list-->
  255. <div class="right_top">
  256. <div class="right_list_top right_sole_line" dataStr='vehicle' onclick="carDriverGuide(this)"
  257. style="width: 80px;height: 30px;">车辆
  258. </div>
  259. <div class="right_list_top right_com_line btn-primary" dataStr='driver'
  260. onclick="carDriverGuide(this)" style="width: 80px;height: 30px;">司机
  261. </div>
  262. <div class="right_list_top right_com_line btn-primary" dataStr='guide'
  263. onclick="carDriverGuide(this)" style="width: 80px;height: 30px;">导游
  264. </div>
  265. </div>
  266. <!--车辆-->
  267. <div id="vehicle" class="right_content" style="border: 1px solid #DDDDDD;">
  268. <div class="right_center">
  269. <input type="text" name="vehicle" oninput="changeVehicle(this)" style="margin-left: 10px;"
  270. placeholder="车牌号"/>
  271. <select id="vehicleCompany" name="company" onchange="changeVehicleCompany(this)">
  272. <!--<option value="">恒栋</option>-->
  273. </select>
  274. </div>
  275. <ul id="vehicle_list" >
  276. <!--<li class="statusOK">
  277. <span class="car_list_1">沪A00097</span>
  278. <span class="car_list_1">| 宇通53座</span>
  279. <span class="car_list_1">| 上海道顺</span>
  280. <span class="status_div_show1">
  281. <span class="right_status_OK">可用</span>
  282. </span>
  283. <span class="status_div_hide">
  284. <span class="status_two status_two_left" onclick="dispatchVehicle(this)">调用</span>
  285. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  286. </span>
  287. </li>-->
  288. </ul>
  289. </div>
  290. <!--vehicle end-->
  291. <!--司机-->
  292. <div id="driver" class="right_content" style="border: 1px solid #DDDDDD;display: none;">
  293. <div class="right_center">
  294. <input type="text" name="driver" oninput="changeDriver(this)" style="margin-left: 10px;"
  295. placeholder="姓名/手机"/>
  296. <select id="driverCompany" name="company" onchange="changeDriverCompany(this)">
  297. <!--<option value="">恒栋</option>-->
  298. </select>
  299. </div>
  300. <ul id="driver_list" >
  301. <!--<li class="statusOK">
  302. <span>沪A00097</span>
  303. <span>| 宇通53座</span>
  304. <span>| 上海道顺</span>
  305. <span class="right_status_OK">可用</span>
  306. <span class="status_div_hide">
  307. <span class="status_two status_two_left" onclick="dispatchVehicle(this)">调用</span>
  308. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  309. </span>
  310. </li>-->
  311. </ul>
  312. </div>
  313. <!--driver end-->
  314. <!--导游-->
  315. <div id="guide" class="right_content" style="border: 1px solid #DDDDDD;display: none;">
  316. <div class="right_center">
  317. <input type="text" name="guide" oninput="changeGuide(this)" style="margin-left: 10px;"
  318. placeholder="姓名/手机"/>
  319. <select id="guideCompany" name="company" onchange="changeGuideCompany(this)">
  320. <!--<option value="">恒栋</option>-->
  321. </select>
  322. </div>
  323. <ul id="guide_list" >
  324. <!--<li class="statusOK">
  325. <span>沪A00097</span>
  326. <span>| 宇通53座</span>
  327. <span>| 上海道顺</span>
  328. <span class="right_status_OK">可用</span>
  329. <span class="status_div_hide">
  330. <span class="status_two status_two_left" onclick="dispatchVehicle(this)">调用</span>
  331. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  332. </span>
  333. </li>-->
  334. </ul>
  335. </div>
  336. <!--guide end-->
  337. </div>
  338. <!--right end-->
  339. </div>
  340. <!--tableOrList end-->
  341. </div>
  342. <!--</div>-->
  343. <!--修改车次-->
  344. <div onclick="" class="alert-block">
  345. <div onclick="solveBubbing()" class="amend_car_type">
  346. <div class="amend_car_top">
  347. <span>修改车次</span>
  348. <img style="cursor: pointer;width: 15px;margin-top: 12px; float: right;" onclick="cancel_amend()" class="ticket1_div2" src="../images/cha.png" />
  349. </div>
  350. <div class="amend_car_center">
  351. <!--表格-->
  352. <table style="width: 650px;margin:30px 50px;" class="table table-bordered table-hover">
  353. <thead>
  354. <tr>
  355. <th style="width:30px">
  356. <input class="ace_check2" type="checkbox" style="width: 18px;height: 18px;"
  357. onclick="selectChecked2('0')"/>
  358. </th>
  359. <th>人数</th>
  360. <th>线路</th>
  361. <th>上车站点</th>
  362. <th>接驳区域</th>
  363. <th>联系电话</th>
  364. <th>车次号</th>
  365. </tr>
  366. </thead>
  367. <tbody id="amend_list">
  368. <!--<tr class="trRow">
  369. <td>
  370. <input class="ace_check2" type="checkbox" style="width: 18px;height: 18px;" onclick="selectChecked2('1')" />
  371. </td>
  372. <td>2</td>
  373. <td>(T)C</td>
  374. <td>厦门大学西门</td>
  375. <td>01</td>
  376. <td>01</td>
  377. </tr>-->
  378. </tbody>
  379. </table>
  380. </div>
  381. <div class="amend_car_bottom">
  382. <span class="amend_car_bottom_span1">已选<span id="select_no">0</span>人</span>
  383. <select id="amend_car_list" class="amend_car_bottom_select2">
  384. <option value="0">选择车次号</option>
  385. </select>
  386. <span id="amend_button" onclick="amend_save()" class="amend_car_bottom_span3 btn-primary">保存</span>
  387. </div>
  388. </div>
  389. </div>
  390. <script src="../js/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script>
  391. <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
  392. <!--<script src="../js/master.js" type="text/javascript" charset="utf-8"></script>-->
  393. <script type="text/javascript" src="../js/jquery.page.js"></script>
  394. <script src="../My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
  395. <script src="../js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
  396. <script src="../../js/base_path.js" type="text/javascript" charset="utf-8"></script>
  397. <!--<script src="../js/xm.js" type="text/javascript" charset="utf-8"></script>
  398. <script type="text/javascript">
  399. login();
  400. </script>-->
  401. <script src="js/com_dispatch.js" type="text/javascript" charset="utf-8"></script>
  402. </body>
  403. </html>