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.
 
 
 
 

340 lines
15 KiB

  1. <!--
  2. 作者:fuhongcheng_fhc@163.com
  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" type="text/css" href="../css/combo.select.css"/>
  18. <link rel="stylesheet" href="css/single_dispatch.css"/>
  19. <style type="text/css">
  20. th,
  21. td {
  22. text-align: center;
  23. vertical-align: middle !important;
  24. padding: 4px !important;
  25. }
  26. td > span {
  27. color: #FFFFFF;
  28. width: 80px;
  29. height: 30px;
  30. line-height: 22px;
  31. }
  32. td > input {
  33. width: 80px;
  34. height: 30px;
  35. }
  36. .statusOK {
  37. height: 41px;
  38. padding-left: 10px;
  39. border-bottom: 1px solid #DDDDDD;
  40. cursor: pointer;
  41. }
  42. .statusNO {
  43. height: 41px;
  44. padding-left: 10px;
  45. border-bottom: 1px solid #DDDDDD;
  46. cursor: pointer;
  47. }
  48. .statusOK:hover {
  49. background-color: #f3f3f3;
  50. }
  51. ul {
  52. margin: 0px;
  53. padding: 0px;
  54. }
  55. .status_div_hide {
  56. display: none;
  57. width: 120px;
  58. height: 40px;
  59. float: right;
  60. background-color: #F3F3F3;
  61. }
  62. .status_div_show1 {
  63. display: inline-block;
  64. width: 90px;
  65. height: 40px;
  66. float: right;
  67. }
  68. .status_two {
  69. display: inline-block;
  70. background-color: rgba(51, 204, 0, 1);
  71. color: #FFFFFF;
  72. margin-left: 11px;
  73. padding: 3px 8px;
  74. margin-top: 8px;
  75. cursor: pointer;
  76. }
  77. .status_two_left {
  78. background-color: rgba(255, 153, 0, 1);;
  79. }
  80. .status_two_right {
  81. background-color: #FFFFFF;
  82. color: #000000;
  83. }
  84. .reset-sort {
  85. margin-top: 30px;
  86. width: 820px;
  87. }
  88. .reset-sort > span:nth-child(1) {
  89. display: inline-block;
  90. cursor: pointer;
  91. height: 28px;
  92. padding: 5px 12px;
  93. }
  94. .reset-sort > span:nth-child(2),
  95. .reset-sort > span:nth-child(3),
  96. .reset-sort > span:nth-child(4) {
  97. float: right;
  98. margin-left: 10px;
  99. }
  100. </style>
  101. </head>
  102. <body>
  103. <!--<div class="navbar navbar-default" style="margin-bottom: 0px;">
  104. <div class="navbar-header ">
  105. <a href="#" class="navbar-brand">
  106. <i class="icon-leaf"></i> CS System<sub style="font-size:12px;position: initial;">&nbsp;<span id="version_txt"></span></sub>
  107. </a>
  108. </div>
  109. </div>
  110. <div id="show_html" style="display:none;" class="warp clearfix">
  111. <div class="control-bar"></div>
  112. <div class="control-show main_style">-->
  113. <div class="main_style">
  114. <div class="top">
  115. <div class="topline sole_line" data-value="0" onclick="selectBarInfo(this)">全部</div>
  116. <div class="topline com_line btn-primary" data-value="255" onclick="selectBarInfo(this)">直通巴士</div>
  117. <div class="topline com_line btn-primary" data-value="256" onclick="selectBarInfo(this)">穿梭巴士</div>
  118. <div class="topline com_line btn-primary" data-value="316" onclick="selectBarInfo(this)">组合线路</div>
  119. </div>
  120. <div class="middle">
  121. <div class="first">
  122. <span>出发日期:</span>
  123. <input id="start_date" type="text" class="Wdate" style="height: 25px;width: 110px" name="begin"
  124. placeholder="开始日期"
  125. onfocus="WdatePicker({doubleCalendar:true,errDealMode:0,isShowClear:false,dateFmt:'yyyy-MM-dd', minDate:'', maxDate:''});">
  126. <span style="margin-left: 5px;">-</span>
  127. <input id="end_date" type="text" class="Wdate" style="height: 25px;width: 110px" name="begin"
  128. placeholder="截止日期"
  129. onfocus="WdatePicker({doubleCalendar:true,errDealMode:0,isShowClear:false,dateFmt:'yyyy-MM-dd', minDate:'#F{$dp.$D(\'start_date\')}', maxDate:''});">
  130. <span class="btn-primary day today" onclick="today()">今日</span>
  131. <span class="btn-primary day tomorrow" onclick="tomorrow()">明日</span>
  132. <span class="btn-primary day futureweek" onclick="futureweek()">未来一周</span>
  133. <span style="padding-left: 30px;">线路:</span>
  134. <input id="line" type="text" style="width: 130px;" placeholder="线路编号/线路名称"/>
  135. <span style="padding-left: 30px;display: none;">线路组合:</span>
  136. <!--<div style="display: inline-block;">-->
  137. <div style="display: inline-block;display: none;">
  138. <select name="lineGroup" style="width:130px;border: 0;">
  139. <option value="0">请选择</option>
  140. </select>
  141. </div>
  142. </div>
  143. <div class="second">
  144. <span>调度状态:</span>
  145. <span class="status status_select status_a" dataTypeid='0' onclick="allBtnDidClicked(this)">全部</span>
  146. <div class="circle" id="circle_all"></div>
  147. <span class="status status_unselect status_s" dataTypeid='1' onclick="allBtnDidClicked(this)">未派</span>
  148. <div class="circle" id="circle_no"></div>
  149. <span class="status status_unselect status_s" dataTypeid='2' onclick="allBtnDidClicked(this)">已派</span>
  150. <div class="circle" id="circle_having"></div>
  151. <span id="search_btn" class="btn-primary search_btn" onclick="searchBtnDidClicked()">查询</span>
  152. </div>
  153. </div>
  154. <!--middle end-->
  155. <div class="reset-sort">
  156. <span class="btn-primary" onclick="resetDispatch(this)">重置</span>
  157. <span class="status status_unselect status_s" dataSortid='1' onclick="sort(this)">时间排序</span>
  158. <span class="status status_unselect status_s" dataSortid='2' onclick="sort(this)">已售排序</span>
  159. <span class="status status_select status_s" dataSortid='0' onclick="sort(this)">综合排序</span>
  160. </div>
  161. <div class="tableOrList" style="margin-top: 10px;">
  162. <div class="left">
  163. <div id="travel-1" class="left-table">
  164. <!--表格-->
  165. <table class="table table-bordered table-hover">
  166. <thead>
  167. <tr>
  168. <th style="width:30px">
  169. <input class="ace_check" type="checkbox" style="width: 18px;height: 18px;"
  170. onclick="selectChecked('0')"/>
  171. </th>
  172. <th style="width:180px">线路</th>
  173. <th style="width:90px">出发日期</th>
  174. <th style="width:80px">出发时间</th>
  175. <th style="width:60px">车次</th>
  176. <th style="width:60px">座位数</th>
  177. <th style="width:80px">已售人数</th>
  178. <th style="width:100px">车辆</th>
  179. <th style="width:100px">司机</th>
  180. <th style="width:100px">导游</th>
  181. </tr>
  182. </thead>
  183. <tbody id="tbody" style="display: none;">
  184. <tr class="trRow" data-param="[data-param]">
  185. <td>
  186. <input class="ace_check" type="checkbox" style="width: 18px;height: 18px;"
  187. onclick="selectChecked('1')"/>
  188. </td>
  189. <td>[线路]</td>
  190. <td>[出发日期]</td>
  191. <td>[出发时间]</td>
  192. <td>[车次]</td>
  193. <td>[座位数]</td>
  194. <td>[已售人数]</td>
  195. <td>
  196. [车辆]
  197. </td>
  198. <td>
  199. [司机]
  200. </td>
  201. <td>
  202. [导游]
  203. </td>
  204. </tr>
  205. </tbody>
  206. </table>
  207. <!--tableOrList end-->
  208. <div class="pageDiv"></div>
  209. </div>
  210. </div>
  211. <!--left end-->
  212. <div class="right">
  213. <!--right list-->
  214. <div class="right_top">
  215. <div class="right_list_top right_sole_line" dataStr='vehicle' onclick="carDriverGuide(this)"
  216. style="width: 80px;height: 30px;">车辆
  217. </div>
  218. <div class="right_list_top right_com_line btn-primary" dataStr='driver'
  219. onclick="carDriverGuide(this)" style="width: 80px;height: 30px;">司机
  220. </div>
  221. <div class="right_list_top right_com_line btn-primary" dataStr='guide'
  222. onclick="carDriverGuide(this)" style="width: 80px;height: 30px;">导游
  223. </div>
  224. </div>
  225. <!--车辆-->
  226. <div id="vehicle" class="right_content" style="border: 1px solid #DDDDDD;">
  227. <div class="right_center">
  228. <input type="text" name="vehicle" oninput="changeVehicle(this)" style="margin-left: 10px;"
  229. placeholder="车牌号"/>
  230. <select id="vehicleCompany" name="company" onchange="changeVehicleCompany(this)">
  231. <!--<option value="">恒栋</option>-->
  232. </select>
  233. </div>
  234. <ul id="vehicle_list" >
  235. <!--<li class="statusOK">
  236. <span>沪A00097</span>
  237. <span>| 宇通53座</span>
  238. <span>| 上海道顺</span>
  239. <span class="status_div_show1">
  240. <span class="right_status_OK">可用</span>
  241. </span>
  242. <span class="status_div_hide">
  243. <span class="status_two status_two_left" onclick="dispatchVehicle(this)">调用</span>
  244. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  245. </span>
  246. </li>-->
  247. </ul>
  248. </div>
  249. <!--vehicle end-->
  250. <!--司机-->
  251. <div id="driver" class="right_content" style="border: 1px solid #DDDDDD;display: none;">
  252. <div class="right_center">
  253. <input type="text" name="driver" oninput="changeDriver(this)" style="margin-left: 10px;"
  254. placeholder="姓名和手机"/>
  255. <select id="driverCompany" name="company" onchange="changeDriverCompany(this)">
  256. <!--<option value="">恒栋</option>-->
  257. </select>
  258. </div>
  259. <ul id="driver_list" >
  260. <!--<li class="statusOK">
  261. <span>沪A00097</span>
  262. <span>| 宇通53座</span>
  263. <span>| 上海道顺</span>
  264. <span class="status_div_show1">
  265. <span class="right_status_OK">可用</span>
  266. </span>
  267. <span class="status_div_hide">
  268. <span class="status_two status_two_left" onclick="dispatchDriver(this)">调用</span>
  269. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  270. </span>
  271. </li>-->
  272. </ul>
  273. </div>
  274. <!--driver end-->
  275. <!--导游-->
  276. <div id="guide" class="right_content" style="border: 1px solid #DDDDDD;display: none;">
  277. <div class="right_center">
  278. <input type="text" name="guide" oninput="changeGuide(this)" style="margin-left: 10px;"
  279. placeholder="姓名和手机"/>
  280. <select id="guideCompany" name="company" onchange="changeGuideCompany(this)">
  281. <!--<option value="">恒栋</option>-->
  282. </select>
  283. </div>
  284. <ul id="guide_list" >
  285. <!--<li class="statusOK">
  286. <span>沪A00097</span>
  287. <span>| 宇通53座</span>
  288. <span>| 上海道顺</span>
  289. <span class="status_div_show1">
  290. <span class="right_status_OK">可用</span>
  291. </span>
  292. <span class="status_div_hide">
  293. <span class="status_two status_two_left" onclick="dispatchGuide(this)">调用</span>
  294. <span class="status_two status_two_right" onclick="dispatchCancel(this)">取消</span>
  295. </span>
  296. </li>-->
  297. </ul>
  298. </div>
  299. <!--guide end-->
  300. </div>
  301. <!--right end-->
  302. </div>
  303. </div>
  304. <!--</div>-->
  305. <script src="../js/jquery-2.2.4.min.js" type="text/javascript" charset="utf-8"></script>
  306. <script src="../js/common.js" type="text/javascript" charset="utf-8"></script>
  307. <!--<script src="../js/master.js" type="text/javascript" charset="utf-8"></script>-->
  308. <script src="../js/jquery.combo.select.js" type="text/javascript" charset="utf-8"></script>
  309. <script type="text/javascript" src="../js/jquery.page.js"></script>
  310. <script src="../My97DatePicker/WdatePicker.js" type="text/javascript" charset="utf-8"></script>
  311. <script src="../js/jquery.cookie.js" type="text/javascript" charset="utf-8"></script>
  312. <script src="../../js/base_path.js" type="text/javascript" charset="utf-8"></script>
  313. <!--<script src="../js/xm.js" type="text/javascript" charset="utf-8"></script>
  314. <script type="text/javascript">
  315. login();
  316. </script>-->
  317. <script src="js/single_dispatch.js" type="text/javascript" charset="utf-8"></script>
  318. </body>
  319. </html>