Commit 0798de2748cf9e9c167d57ea770b24906d73ec2a
Merge branch 'PSM-12' into minhang
Showing
11 changed files
with
46 additions
and
18 deletions
src/main/resources/application-dev.properties
| @@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | @@ -8,7 +8,7 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 8 | spring.jpa.database= MYSQL | 8 | spring.jpa.database= MYSQL |
| 9 | spring.jpa.show-sql= false | 9 | spring.jpa.show-sql= false |
| 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver | 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver |
| 11 | -spring.datasource.url= jdbc:mysql://192.168.168.201/mh_control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 11 | +spring.datasource.url= jdbc:mysql://192.168.168.201/qp_control?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 12 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 13 | spring.datasource.password= 123456 | 13 | spring.datasource.password= 123456 |
| 14 | #DATASOURCE | 14 | #DATASOURCE |
src/main/resources/application-prod.properties
| @@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | @@ -8,9 +8,9 @@ spring.jpa.hibernate.naming_strategy= org.hibernate.cfg.ImprovedNamingStrategy | ||
| 8 | spring.jpa.database= MYSQL | 8 | spring.jpa.database= MYSQL |
| 9 | spring.jpa.show-sql= false | 9 | spring.jpa.show-sql= false |
| 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver | 10 | spring.datasource.driver-class-name= com.mysql.jdbc.Driver |
| 11 | -spring.datasource.url= jdbc:mysql://192.168.168.171:3306/control?useUnicode=true&characterEncoding=utf-8&useSSL=false | 11 | +spring.datasource.url= jdbc:mysql://192.168.40.100:3306/qp_control?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 12 | spring.datasource.username= root | 12 | spring.datasource.username= root |
| 13 | -spring.datasource.password= root2jsp | 13 | +spring.datasource.password= root@JSP2jsp |
| 14 | #DATASOURCE | 14 | #DATASOURCE |
| 15 | spring.datasource.max-active=100 | 15 | spring.datasource.max-active=100 |
| 16 | spring.datasource.max-idle=8 | 16 | spring.datasource.max-idle=8 |
| @@ -26,6 +26,6 @@ spring.datasource.validation-query=select 1 | @@ -26,6 +26,6 @@ spring.datasource.validation-query=select 1 | ||
| 26 | ## | 26 | ## |
| 27 | #222.66.0.204:5555 | 27 | #222.66.0.204:5555 |
| 28 | ##\u5B9E\u65F6gps | 28 | ##\u5B9E\u65F6gps |
| 29 | -http.gps.real.url= http://192.168.168.171:8080/transport_server/rtgps/ | 29 | +http.gps.real.url= http://192.168.40.82:8080/transport_server/rtgps/ |
| 30 | ##\u6D88\u606F\u4E0B\u53D1 | 30 | ##\u6D88\u606F\u4E0B\u53D1 |
| 31 | -http.send.directive = http://192.168.168.171:8080/transport_server/message/ | ||
| 32 | \ No newline at end of file | 31 | \ No newline at end of file |
| 32 | +http.send.directive = http://192.168.40.82:8080/transport_server/message/ | ||
| 33 | \ No newline at end of file | 33 | \ No newline at end of file |
src/main/resources/datatools/config-prod.properties
| @@ -5,13 +5,13 @@ datatools.kettle_properties=/datatools/kettle.properties | @@ -5,13 +5,13 @@ datatools.kettle_properties=/datatools/kettle.properties | ||
| 5 | # 2、ktr文件通用配置变量(数据库连接,根据不同的环境需要修正) | 5 | # 2、ktr文件通用配置变量(数据库连接,根据不同的环境需要修正) |
| 6 | 6 | ||
| 7 | #数据库ip地址 | 7 | #数据库ip地址 |
| 8 | -datatools.kvars_dbip=192.168.168.171 | 8 | +datatools.kvars_dbip=192.168.40.100 |
| 9 | #数据库用户名 | 9 | #数据库用户名 |
| 10 | datatools.kvars_dbuname=root | 10 | datatools.kvars_dbuname=root |
| 11 | #数据库密码 | 11 | #数据库密码 |
| 12 | -datatools.kvars_dbpwd=root2jsp | 12 | +datatools.kvars_dbpwd=root@JSP2jsp |
| 13 | #数据库库名 | 13 | #数据库库名 |
| 14 | -datatools.kvars_dbdname=control | 14 | +datatools.kvars_dbdname=qp_control |
| 15 | 15 | ||
| 16 | # 3、上传数据配置信息 | 16 | # 3、上传数据配置信息 |
| 17 | # 上传文件目录配置(根据不同的环境需要修正) | 17 | # 上传文件目录配置(根据不同的环境需要修正) |
src/main/resources/ms-jdbc.properties
| 1 | +#ms.mysql.driver= com.mysql.jdbc.Driver | ||
| 2 | +#ms.mysql.url= jdbc:mysql://192.168.40.82:3306/ms?useUnicode=true&characterEncoding=utf-8&useSSL=false | ||
| 3 | +#ms.mysql.username= root | ||
| 4 | +#ms.mysql.password= 123456 | ||
| 5 | + | ||
| 1 | ms.mysql.driver= com.mysql.jdbc.Driver | 6 | ms.mysql.driver= com.mysql.jdbc.Driver |
| 2 | ms.mysql.url= jdbc:mysql://192.168.168.201:3306/ms?useUnicode=true&characterEncoding=utf-8&useSSL=false | 7 | ms.mysql.url= jdbc:mysql://192.168.168.201:3306/ms?useUnicode=true&characterEncoding=utf-8&useSSL=false |
| 3 | ms.mysql.username= root | 8 | ms.mysql.username= root |
| 4 | ms.mysql.password= 123456 | 9 | ms.mysql.password= 123456 |
| 5 | - | ||
| 6 | -#ms.mysql.driver= com.mysql.jdbc.Driver | ||
| 7 | -#ms.mysql.url= jdbc:mysql://192.168.168.171:3306/ms?useUnicode=true&characterEncoding=utf-8 | ||
| 8 | -#ms.mysql.username= root | ||
| 9 | -#ms.mysql.password= root2jsp | ||
| 10 | \ No newline at end of file | 10 | \ No newline at end of file |
src/main/resources/static/index.html
| @@ -145,7 +145,7 @@ tr.row-active td { | @@ -145,7 +145,7 @@ tr.row-active td { | ||
| 145 | <div class="page-header-inner "> | 145 | <div class="page-header-inner "> |
| 146 | <!-- LOGO --> | 146 | <!-- LOGO --> |
| 147 | <div class="page-logo"> | 147 | <div class="page-logo"> |
| 148 | - <a href="index.html" class="logo-default logo-default-text" > 闵行公交调度系统 </a> | 148 | + <a href="index.html" class="logo-default logo-default-text" > 青浦公交调度系统 </a> |
| 149 | <div class="menu-toggler sidebar-toggler"> | 149 | <div class="menu-toggler sidebar-toggler"> |
| 150 | </div> | 150 | </div> |
| 151 | </div> | 151 | </div> |
src/main/resources/static/login.html
| @@ -180,7 +180,7 @@ h3.logo-text{ | @@ -180,7 +180,7 @@ h3.logo-text{ | ||
| 180 | <div class="wrapper ng-scope"> | 180 | <div class="wrapper ng-scope"> |
| 181 | <div id="loginPanel" class="dialog dialog-shadow"> | 181 | <div id="loginPanel" class="dialog dialog-shadow"> |
| 182 | <br> | 182 | <br> |
| 183 | - <h3 class="logo-text">闵行公交调度系统 </h3> | 183 | + <h3 class="logo-text">青浦公交调度系统 </h3> |
| 184 | <hr> | 184 | <hr> |
| 185 | <form style="padding: 0px 35px;"> | 185 | <form style="padding: 0px 35px;"> |
| 186 | <div class="form-group" style="margin-bottom: 0"> | 186 | <div class="form-group" style="margin-bottom: 0"> |
src/main/resources/static/pages/control/line/index.html
| @@ -18,7 +18,7 @@ | @@ -18,7 +18,7 @@ | ||
| 18 | <div class="portlet-title banner" > | 18 | <div class="portlet-title banner" > |
| 19 | <div class="caption col_hide_1280" style="color: #FFF;"> | 19 | <div class="caption col_hide_1280" style="color: #FFF;"> |
| 20 | <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span | 20 | <i class="fa fa-life-ring" style="font-size: 22px;color: #FFF;"></i> <span |
| 21 | - class="caption-subject bold" style="font-size: 24px;">闵行公交线路调度系统</span> | 21 | + class="caption-subject bold" style="font-size: 24px;">青浦公交线路调度系统</span> |
| 22 | </div> | 22 | </div> |
| 23 | <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;"> | 23 | <div class="col_hide_1440" style="color: white;font-size: 18px;position: absolute;right: 25px;top: 75px;"> |
| 24 | <span class="top_username"></span> <span class="operation_mode_text animated" ></span> | 24 | <span class="top_username"></span> <span class="operation_mode_text animated" ></span> |
src/main/resources/static/pages/scheduleApp/module/common/prj-common-ui-route-state.js
| @@ -686,6 +686,26 @@ ScheduleApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvi | @@ -686,6 +686,26 @@ ScheduleApp.config(['$stateProvider', '$urlRouterProvider', function($stateProvi | ||
| 686 | }] | 686 | }] |
| 687 | } | 687 | } |
| 688 | }) | 688 | }) |
| 689 | + .state("ttInfoDetailManage_form2", { | ||
| 690 | + url: 'pages/base/timesmodel/index.html', | ||
| 691 | + views: { | ||
| 692 | + "": {templateUrl: 'pages/base/timesmodel/index.html'} | ||
| 693 | + }, | ||
| 694 | + resolve: { | ||
| 695 | + deps: ['$ocLazyLoad', function($ocLazyLoad) { | ||
| 696 | + return $ocLazyLoad.load({ | ||
| 697 | + name: 'ttInfoDetailManage_form2', | ||
| 698 | + insertBefore: '#ng_load_plugins_before', // 动态载入模块时放置的位置 | ||
| 699 | + files: [ | ||
| 700 | + "assets/bower_components/angular-ui-select/dist/select.min.css", | ||
| 701 | + "assets/bower_components/angular-ui-select/dist/select.min.js", | ||
| 702 | + "assets/bower_components/angular-file-upload/dist/angular-file-upload.min.js", | ||
| 703 | + "pages/scheduleApp/module/core/ttInfoDetailManage/main.js" | ||
| 704 | + ] | ||
| 705 | + }); | ||
| 706 | + }] | ||
| 707 | + } | ||
| 708 | + }) | ||
| 689 | .state("ttInfoDetailManage_edit", { | 709 | .state("ttInfoDetailManage_edit", { |
| 690 | url: '/ttInfoDetailManage_edit/:xlid/:ttid/:xlname/:ttname', | 710 | url: '/ttInfoDetailManage_edit/:xlid/:ttid/:xlname/:ttname', |
| 691 | views: { | 711 | views: { |
src/main/resources/static/pages/scheduleApp/module/core/ttInfoManage/list.html
| @@ -75,6 +75,8 @@ | @@ -75,6 +75,8 @@ | ||
| 75 | <td> | 75 | <td> |
| 76 | <a ui-sref="ttInfoDetailManage_edit({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})" | 76 | <a ui-sref="ttInfoDetailManage_edit({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})" |
| 77 | class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 编辑 </a> | 77 | class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 编辑 </a> |
| 78 | + <a ng-click="ctrl.toTtInfoDetailAuto()" | ||
| 79 | + class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 生成 </a> | ||
| 78 | <a ui-sref="ttInfoDetailManage_form({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})" | 80 | <a ui-sref="ttInfoDetailManage_form({xlid: info.xl.id, ttid : info.id, xlname: info.xl.name, ttname : info.name})" |
| 79 | class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 导入 </a> | 81 | class="btn btn-info btn-sm" ng-if="info.isCancel == '0'"> 导入 </a> |
| 80 | <a href="javascript:" class="btn btn-info btn-sm" ng-click="ctrl.exportData(info.id)"> 导出 </a> | 82 | <a href="javascript:" class="btn btn-info btn-sm" ng-click="ctrl.exportData(info.id)"> 导出 </a> |
src/main/resources/static/pages/scheduleApp/module/core/ttInfoManage/main.js
| @@ -85,7 +85,8 @@ angular.module('ScheduleApp').controller( | @@ -85,7 +85,8 @@ angular.module('ScheduleApp').controller( | ||
| 85 | [ | 85 | [ |
| 86 | 'TtInfoManageService', | 86 | 'TtInfoManageService', |
| 87 | 'FileDownload_g', | 87 | 'FileDownload_g', |
| 88 | - function(service, fileDownload) { | 88 | + '$state', |
| 89 | + function(service, fileDownload, $state) { | ||
| 89 | var self = this; | 90 | var self = this; |
| 90 | var TtInfo = service.getTtInfoQueryClass(); | 91 | var TtInfo = service.getTtInfoQueryClass(); |
| 91 | 92 | ||
| @@ -131,6 +132,11 @@ angular.module('ScheduleApp').controller( | @@ -131,6 +132,11 @@ angular.module('ScheduleApp').controller( | ||
| 131 | 132 | ||
| 132 | self.doPage(); | 133 | self.doPage(); |
| 133 | 134 | ||
| 135 | + // 自动生成时刻表 | ||
| 136 | + self.toTtInfoDetailAuto = function() { | ||
| 137 | + $state.go("ttInfoDetailManage_form2"); | ||
| 138 | + }; | ||
| 139 | + | ||
| 134 | // TODO: | 140 | // TODO: |
| 135 | } | 141 | } |
| 136 | ] | 142 | ] |
src/main/resources/static/real_control_v2/main.html
| @@ -39,7 +39,7 @@ | @@ -39,7 +39,7 @@ | ||
| 39 | <div class="uk-width-4-10"> | 39 | <div class="uk-width-4-10"> |
| 40 | <div class="uk-panel"> | 40 | <div class="uk-panel"> |
| 41 | <h2 class="north-logo"> | 41 | <h2 class="north-logo"> |
| 42 | - <i class="uk-icon-life-ring"></i> 闵行公交线路调度 | 42 | + <i class="uk-icon-life-ring"></i> 青浦公交线路调度 |
| 43 | </h2> | 43 | </h2> |
| 44 | </div> | 44 | </div> |
| 45 | </div> | 45 | </div> |