Commit 2388c41f2ad3bc1ae65945fbc2b6890d347c197e

Authored by 徐烜
1 parent aa87c809

update

src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/detail_info.html 0 → 100644
  1 +<div class="page-head">
  2 + <div class="page-title">
  3 + <h1>时刻表明细</h1>
  4 + </div>
  5 +</div>
  6 +
  7 +<ul class="page-breadcrumb breadcrumb">
  8 + <li>
  9 + <a href="/pages/home.html" data-pjax>首页</a>
  10 + <i class="fa fa-circle"></i>
  11 + </li>
  12 + <li>
  13 + <span class="active">运营计划管理</span>
  14 + <i class="fa fa-circle"></i>
  15 + </li>
  16 + <li>
  17 + <a ui-sref="timeTableManage">时刻表管理</a>
  18 + <i class="fa fa-circle"></i>
  19 + </li>
  20 + <li>
  21 + <span class="active">待测试时刻表明细</span>
  22 + </li>
  23 +</ul>
  24 +
  25 +<div class="row" id="timeTableDetail" >
  26 + <div class="col-md-12">
  27 + <div class="portlet light bordered">
  28 + <div class="portlet-title">
  29 + <div class="caption font-dark">
  30 + <i class="fa fa-database font-dark"></i>
  31 + <span class="caption-subject bold uppercase">待测试时刻表明细</span>
  32 + </div>
  33 + <div class="actions">
  34 + <a href="javascirpt:" class="btn btn-circle blue">
  35 + <i class="fa fa-plus"></i>
  36 + 动态生成
  37 + </a>
  38 + <a href="javascirpt:" class="btn btn-circle blue">
  39 + <i class="fa fa-plus"></i>
  40 + 分班
  41 + </a>
  42 + <a href="javascirpt:" class="btn btn-circle blue">
  43 + <i class="fa fa-plus"></i>
  44 + 取消分班
  45 + </a>
  46 + <a href="javascirpt:" class="btn btn-circle blue">
  47 + <i class="fa fa-plus"></i>
  48 + 反向
  49 + </a>
  50 + <a href="javascirpt:" class="btn btn-circle blue">
  51 + <i class="fa fa-plus"></i>
  52 + 批量选择
  53 + </a>
  54 + <a href="javascirpt:" class="btn btn-circle blue">
  55 + <i class="fa fa-plus"></i>
  56 + 批量修改
  57 + </a>
  58 + <a href="javascirpt:" class="btn btn-circle blue">
  59 + <i class="fa fa-plus"></i>
  60 + 删除
  61 + </a>
  62 + <div class="btn-group">
  63 + <a href="javascript:" class="btn red btn-outline btn-circle" data-toggle="dropdown">
  64 + <i class="fa fa-share"></i>
  65 + <span>系统工具</span>
  66 + <i class="fa fa-angle-down"></i>
  67 + </a>
  68 + <ul class="dropdown-menu pull-right">
  69 + <li>
  70 + <a href="javascript:" class="tool-action">
  71 + <i class="fa fa-file-excel-o"></i>
  72 + 导出excel
  73 + </a>
  74 + </li>
  75 + <li class="divider"></li>
  76 + <li>
  77 + <a href="javascript:" class="tool-action">
  78 + <i class="fa fa-refresh"></i>
  79 + 刷行数据
  80 + </a>
  81 + </li>
  82 + </ul>
  83 + </div>
  84 + </div>
  85 + </div>
  86 +
  87 + <div class="portlet-body">
  88 + <!--<div ng-view></div>-->
  89 + <table class="table table-striped table-bordered table-hover table-checkable order-column" ng-controller="TimeTableInfoManageCtrl as ctrl">
  90 + <thead>
  91 + <tr>
  92 + <th>
  93 + <input type="checkbox" class="group-checkable" data-set="#busConfigInfoTable.checkboxes"/>
  94 + </th>
  95 + <th ng-repeat="head in ctrl.detailHeads">
  96 + <span ng-bind="head"></span>
  97 + </th>
  98 +
  99 + </tr>
  100 + </thead>
  101 + <tbody>
  102 + <tr ng-repeat="info in ctrl.detailInfos">
  103 + <td>
  104 + <input type="checkbox" class="checkboxes"/>
  105 + </td>
  106 + <td ng-repeat="cell in info track by $index">
  107 + <span ng-bind="cell"></span>
  108 + </td>
  109 + </tr>
  110 +
  111 + </tbody>
  112 + </table>
  113 +
  114 + </div>
  115 + </div>
  116 + </div>
  117 +</div>
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/list.html
@@ -61,7 +61,7 @@ @@ -61,7 +61,7 @@
61 <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>--> 61 <!--<a href="details.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 详细 </a>-->
62 <!--<a href="edit.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 修改 </a>--> 62 <!--<a href="edit.html?lineId={{obj.id}}" class="btn default blue-stripe btn-sm"> 修改 </a>-->
63 <a ui-sref="busConfig_edit({id: info.id})" class="btn default blue-stripe btn-sm"> 修改 </a> 63 <a ui-sref="busConfig_edit({id: info.id})" class="btn default blue-stripe btn-sm"> 修改 </a>
64 - <a ui-sref="#" class="btn default blue-stripe btn-sm"> 时刻表明细 </a> 64 + <a ui-sref="timeTableInfoManage" class="btn default blue-stripe btn-sm"> 时刻表明细 </a>
65 </td> 65 </td>
66 </tr> 66 </tr>
67 </tbody> 67 </tbody>
src/main/resources/static/pages/scheduleApp/module/core/timeTableManage/timeTableInfoManage.js 0 → 100644
  1 +angular.module('ScheduleApp').controller('TimeTableInfoManageCtrl', [function() {
  2 + var self = this;
  3 +
  4 +
  5 + // 模拟799路的时刻信息
  6 + self.detailHeads = [
  7 + '路牌', '出场',
  8 + '华高新村1', '陆家嘴地铁站1', '华高新村2', '陆家嘴地铁站2',
  9 + '华高新村3', '陆家嘴地铁站3', '华高新村4', '陆家嘴地铁站4',
  10 + '华高新村5', '陆家嘴地铁站5', '华高新村6', '陆家嘴地铁站6',
  11 + '华高新村7', '陆家嘴地铁站7', '华高新村8', '陆家嘴地铁站8',
  12 + '进场', '空驶班次数/里程', '运营班次数/里程'
  13 + ];
  14 +
  15 + self.detailInfos = [
  16 + ['1', '07:01', '', '', '07:11', '08:01', '09:22', '10:12', '11:34', '12:24', '13:34', '14:24', '15:42', '16:32', '18:00', '18:50', '', '', '19:46', '2/1.6', '12/198'],
  17 + ['2', '06:51', '07:01', '07:51', '09:12', '10:02', '11:22', '12:12', '13:22', '14:12', '15:36', '16:26', '17:55', '18:45', '20:05', '20:55', '', '', '21:51', '2/1.6', '14/231'],
  18 + ['3', '05:56', '06:06', '06:56', '08:05', '08:55', '10:34', '11:24', '12:20', '', '', '17:01', '17:11', '18:01', '19:10', '19:58', '21:16', '22:08', '23:04', '4/3.2', '12/198'],
  19 + ['4', '06:20', '06:30', '07:20', '08:20', '09:10', '11:02', '08:38', '12:46', '13:36', '12:57', '15:44', '17:20', '18:10', '19:24', '20:14', '', '', '21:10', '2/1.6', '14/231'],
  20 + ['5', '07:21', '', '', '07:31', '08:21', '09:46', '10:36', '11:58', '12:48', '13:36', '14:46', '16:06', '16:56', '18:18', '19:08', '', '', '20:04', '2/1.6', '12/198'],
  21 + ['6', '06:36', '06:46', '07:36', '08:40', '09:30', '10:58', '11:48', '12:58', '13:48', '15:18', '16:08', '17:40', '18:30', '19:48', '20:38', '21:50', '22:49', '23:45', '2/1.6', '16/264'],
  22 + ['7', '07:30', '', '', '07:40', '08:31', '09:58', '10:48', '12:10', '13:00', '13:56', '16:20', '16:30', '17:20', '18:30', '19:20', '20:41', '21:31', '22:27', '4/3.2', '12/198'],
  23 + ['8', '07:46', '', '', '07:56', '08:46', '10:22', '11:12', '12:34', '13:24', '14:20', '16:38', '16:48', '17:38', '18:49', '19:38', '21:00', '21:50', '22:46', '4/3.2', '12/198'],
  24 + ['9', '07:38', '', '', '07:48', '08:38', '10:10', '10:00', '12:22', '13:12', '14:30', '15:20', '16:44', '17:34', '18:42', '19:32', '', '', '20:28', '2/1.6', '12/198'],
  25 + ['10', '06:46', '06:56', '07:46', '09:00', '09:50', '11:10', '12:00', '13:10', '14:00', '15:24', '16:14', '17:45', '18:35', '19:56', '20:46', '22:00', '23:00', '23:56', '2/1.6', '16/264'],
  26 + ['+1', '05:10', '05:20', '06:10', '07:21', '08:11', '09:07', '', '', '', '', '15:44', '15:54', '16:44', '18:12', '19:02', '20:23', '21:13', '22:09', '4/3.2', '10/165'],
  27 + ['+2', '05:30', '05:40', '06:30', '07:44', '08:34', '09:30', '', '', '', '', '16:29', '16:39', '17:29', '18:36', '19:26', '20:50', '21:40', '22:36', '4/3.2', '10/165'],
  28 + ['+3', '05:30', '', '06:00', '07:16', '08:06', '09:02', '', '', '', '', '15:38', '15:48', '16:38', '18:06', '18:56', '20:14', '21:04', '22:00', '4/14.95', '9/149'],
  29 + ['+4', '05:48', '05:58', '06:48', '08:00', '08:50', '09:46', '', '', '', '', '16:52', '17:02', '17:52', '19:03', '19:50', '21:08', '21:59', '22:54', '4/3.2', '10/165'],
  30 + ['+5', '05:40', '05:50', '06:40', '07:52', '08:42', '09:38', '', '', '14:26', '14:36', '15:26', '16:53', '17:43', '18:56', '19:44', '', '', '20:40', '4/3.2', '10/165'],
  31 + ['+6', '06:31', '06:41', '07:31', '08:31', '09:21', '10:17', '', '', '14:56', '15:06', '15:56', '17:30', '18:20', '19:32', '20:22', '21:32', '22:27', '23:23', '4/3.2', '12/198'],
  32 + ['+7', '05:20', '05:30', '06:20', '07:36', '08:26', '09:22', '', '', '', '', '16:08', '16:18', '17:08', '18:24', '19:14', '20:32', '21:22', '22:18', '4/3.2', '10/165'],
  33 + ['+8', '06:04', '06:14', '07:04', '08:10', '09:00', '09:56', '', '', '', '', '17:05', '17:15', '18:05', '19:17', '20:06', '21:24', '22:17', '23:13', '4/3.2', '10/165'],
  34 + ['+9', '06:41', '06:51', '07:41', '08:50', '09:40', '10:36', '', '', '15:02', '15:12', '16:02', '17:35', '18:25', '19:40', '20:30', '21:40', '22:38', '23:34', '4/3.2', '12/198'],
  35 + ['+10', '07:16', '', '', '07:26', '08:16', '09:34', '10:24', '11:46', '12:36', '13:46', '14:36', '16:00', '16:50', '', '', '', '', '17:46', '2/1.6', '10/165'],
  36 + ['+20', '06:12', '06:22', '07:12', '08:15', '09:05', '10:01', '', '', '14:50', '15:00', '15:50', '17:25', '18:15', '', '', '', '', '19:11', '4/3.2', '8/132'],
  37 + ['+21', '06:26', '06:36', '07:26', '08:25', '09:15', '10:11', '', '', '15:20', '15:30', '16:20', '17:50', '18:40', '', '', '', '', '19:36', '4/3.2', '8/132'],
  38 + ['+22', '06:56', '07:06', '07:56', '08:52', '', '', '', '', '14:38', '14:48', '15:38', '17:06', '17:56', '', '', '', '', '18:52', '4/3.2', '6/99'],
  39 + ['机1', '13:56', '', '', '', '', '', '', '', '', '14:06', '14:56', '16:12', '17:02', '', '', '', '', '17:58', '2/1.6', '4/66'],
  40 + ['机2', '14:04', '', '', '', '', '', '', '', '', '14:14', '15:04', '16:24', '17:14', '', '', '', '', '18:10', '2/1.6', '4/66'],
  41 + ['机3', '14:12', '', '', '', '', '', '', '', '', '14:22', '15:12', '16:35', '17:25', '', '', '', '', '18:21', '2/1.6', '4/66'],
  42 + ['机4', '14:32', '', '', '', '', '', '', '', '', '14:42', '15:32', '16:57', '17:47', '', '', '', '', '18:43', '2/1.6', '4/66']
  43 +
  44 + ]
  45 +
  46 +
  47 +
  48 +
  49 +
  50 +
  51 +
  52 +
  53 +
  54 +
  55 +
  56 +
  57 +
  58 +
  59 +
  60 +
  61 +
  62 +
  63 +
  64 +
  65 +
  66 +
  67 +
  68 +
  69 +
  70 +
  71 +
  72 +
  73 +
  74 +
  75 +
  76 + }]);
0 \ No newline at end of file 77 \ No newline at end of file
src/main/resources/static/pages/scheduleApp/module/main.js
@@ -506,6 +506,23 @@ ScheduleApp.config([&#39;$stateProvider&#39;, &#39;$urlRouterProvider&#39;, function($stateProvi @@ -506,6 +506,23 @@ ScheduleApp.config([&#39;$stateProvider&#39;, &#39;$urlRouterProvider&#39;, function($stateProvi
506 }] 506 }]
507 } 507 }
508 }) 508 })
  509 + .state("timeTableInfoManage", {
  510 + url: '/timeTableInfoManage',
  511 + views: {
  512 + "": {templateUrl: 'pages/scheduleApp/module/core/timeTableManage/detail_info.html'}
  513 + },
  514 + resolve: {
  515 + deps: ['$ocLazyLoad', function($ocLazyLoad) {
  516 + return $ocLazyLoad.load({
  517 + name: 'timeTableInfoManage_detail_module',
  518 + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置
  519 + files: [
  520 + "pages/scheduleApp/module/core/timeTableManage/timeTableInfoManage.js"
  521 + ]
  522 + });
  523 + }]
  524 + }
  525 + })
509 526
510 // 排班计划管理模块 527 // 排班计划管理模块
511 .state("schedulePlanManage", { 528 .state("schedulePlanManage", {