Commit 86222fd7ddb25ab39b0cfbb2d484842ae22de150

Authored by yiming
1 parent 8d1bc40a

线路档案整改内容

bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/domain/BsthTLine.java
1 package com.ruoyi.project.system.line.domain; 1 package com.ruoyi.project.system.line.domain;
2 2
3 import com.fasterxml.jackson.annotation.JsonFormat; 3 import com.fasterxml.jackson.annotation.JsonFormat;
  4 +import com.ruoyi.common.utils.StringUtils;
4 import com.ruoyi.framework.aspectj.lang.annotation.Excel; 5 import com.ruoyi.framework.aspectj.lang.annotation.Excel;
5 import com.ruoyi.framework.web.domain.BaseEntity; 6 import com.ruoyi.framework.web.domain.BaseEntity;
6 7
@@ -288,6 +289,22 @@ public class BsthTLine extends BaseEntity @@ -288,6 +289,22 @@ public class BsthTLine extends BaseEntity
288 289
289 private Long deptId; 290 private Long deptId;
290 291
  292 + private String firstTime1;
  293 +
  294 + private String firstTime2;
  295 +
  296 + private String lastTime1;
  297 +
  298 + private String lastTime2;
  299 +
  300 + private String firstHub;
  301 +
  302 + private String firstHubAddress;
  303 +
  304 + private String lastHub;
  305 +
  306 + private String lastHubAddress;
  307 +
291 public Long getId() { 308 public Long getId() {
292 return id; 309 return id;
293 } 310 }
@@ -425,6 +442,17 @@ public class BsthTLine extends BaseEntity @@ -425,6 +442,17 @@ public class BsthTLine extends BaseEntity
425 } 442 }
426 443
427 public String getLineDistance() { 444 public String getLineDistance() {
  445 + int i=0;
  446 + double k=0;
  447 + if(!StringUtils.isEmpty(mileageUp)&&Double.parseDouble(mileageUp)>0){
  448 + i++;
  449 + k+=Double.parseDouble(mileageUp);
  450 + }
  451 + if(!StringUtils.isEmpty(mileageDown)&&Double.parseDouble(mileageDown)>0){
  452 + i++;
  453 + k+=Double.parseDouble(mileageDown);
  454 + }
  455 + lineDistance=i>0?String.valueOf(k/i):null;
428 return lineDistance; 456 return lineDistance;
429 } 457 }
430 458
@@ -556,30 +584,56 @@ public class BsthTLine extends BaseEntity @@ -556,30 +584,56 @@ public class BsthTLine extends BaseEntity
556 this.firstStation = firstStation; 584 this.firstStation = firstStation;
557 } 585 }
558 586
  587 + public String getLastStation() {
  588 + return lastStation;
  589 + }
  590 +
559 public String getFirstTime() { 591 public String getFirstTime() {
  592 + if(!StringUtils.isEmpty(firstTime1)){
  593 + firstTime=firstTime1;
  594 + }
  595 + if(!StringUtils.isEmpty(firstTime)&&!StringUtils.isEmpty(firstTime2)){
  596 + firstTime+=","+firstTime2;
  597 + }
560 return firstTime; 598 return firstTime;
561 } 599 }
562 600
563 public void setFirstTime(String firstTime) { 601 public void setFirstTime(String firstTime) {
564 this.firstTime = firstTime; 602 this.firstTime = firstTime;
565 - }  
566 -  
567 - public String getLastStation() {  
568 - return lastStation;  
569 - }  
570 -  
571 - public void setLastStation(String lastStation) {  
572 - this.lastStation = lastStation; 603 + if(firstTime!=null){
  604 + String[] arr=firstTime.split(",");
  605 + if(arr.length>=1){
  606 + firstTime1=arr[0];
  607 + }if(arr.length==2){
  608 + firstTime2=arr[1];
  609 + }
  610 + }
573 } 611 }
574 612
575 public String getLastTime() { 613 public String getLastTime() {
  614 + if(!StringUtils.isEmpty(lastTime1)){
  615 + lastTime=lastTime1;
  616 + }
  617 + if(!StringUtils.isEmpty(lastTime)&&!StringUtils.isEmpty(lastTime2)){
  618 + lastTime+=","+lastTime2;
  619 + }
576 return lastTime; 620 return lastTime;
577 } 621 }
578 622
579 public void setLastTime(String lastTime) { 623 public void setLastTime(String lastTime) {
580 this.lastTime = lastTime; 624 this.lastTime = lastTime;
  625 + if(lastTime!=null){
  626 + String[] arr=lastTime.split(",");
  627 + if(arr.length>=1){
  628 + lastTime1=arr[0];
  629 + }if(arr.length==2){
  630 + lastTime2=arr[1];
  631 + }
  632 + }
581 } 633 }
582 634
  635 +
  636 +
583 public String getMileageUp() { 637 public String getMileageUp() {
584 return mileageUp; 638 return mileageUp;
585 } 639 }
@@ -867,4 +921,72 @@ public class BsthTLine extends BaseEntity @@ -867,4 +921,72 @@ public class BsthTLine extends BaseEntity
867 public void setDeptId(Long deptId) { 921 public void setDeptId(Long deptId) {
868 this.deptId = deptId; 922 this.deptId = deptId;
869 } 923 }
  924 +
  925 + public String getFirstTime1() {
  926 + return firstTime1;
  927 + }
  928 +
  929 + public void setFirstTime1(String firstTime1) {
  930 + this.firstTime1 = firstTime1;
  931 + }
  932 +
  933 + public String getFirstTime2() {
  934 + return firstTime2;
  935 + }
  936 +
  937 + public void setFirstTime2(String firstTime2) {
  938 + this.firstTime2 = firstTime2;
  939 + }
  940 +
  941 + public String getLastTime1() {
  942 + return lastTime1;
  943 + }
  944 +
  945 + public void setLastTime1(String lastTime1) {
  946 + this.lastTime1 = lastTime1;
  947 + }
  948 +
  949 + public String getLastTime2() {
  950 + return lastTime2;
  951 + }
  952 +
  953 + public void setLastTime2(String lastTime2) {
  954 + this.lastTime2 = lastTime2;
  955 + }
  956 +
  957 + public void setLastStation(String lastStation) {
  958 + this.lastStation = lastStation;
  959 + }
  960 +
  961 + public String getFirstHub() {
  962 + return firstHub;
  963 + }
  964 +
  965 + public void setFirstHub(String firstHub) {
  966 + this.firstHub = firstHub;
  967 + }
  968 +
  969 + public String getFirstHubAddress() {
  970 + return firstHubAddress;
  971 + }
  972 +
  973 + public void setFirstHubAddress(String firstHubAddress) {
  974 + this.firstHubAddress = firstHubAddress;
  975 + }
  976 +
  977 + public String getLastHub() {
  978 + return lastHub;
  979 + }
  980 +
  981 + public void setLastHub(String lastHub) {
  982 + this.lastHub = lastHub;
  983 + }
  984 +
  985 + public String getLastHubAddress() {
  986 + return lastHubAddress;
  987 + }
  988 +
  989 + public void setLastHubAddress(String lastHubAddress) {
  990 + this.lastHubAddress = lastHubAddress;
  991 + }
870 } 992 }
bsthLineProfiles/src/main/resources/mybatis/mybatis/system/BsthTLineMapper.xml
@@ -75,6 +75,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" @@ -75,6 +75,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
75 <result property="lineUpdateType" column="line_update_type" /> 75 <result property="lineUpdateType" column="line_update_type" />
76 <result property="examineStatus" column="examine_status" /> 76 <result property="examineStatus" column="examine_status" />
77 <result property="examineType" column="examine_type" /> 77 <result property="examineType" column="examine_type" />
  78 + <result property="firstHub" column="firstHub" />
  79 + <result property="firstHubAddress" column="firstHubAddress" />
  80 + <result property="lastHub" column="lastHub" />
  81 + <result property="lastHubAddress" column="lastHubAddress" />
78 </resultMap> 82 </resultMap>
79 83
80 84
@@ -254,6 +258,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -254,6 +258,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
254 <if test="lineUpdateType != null">line_update_type,</if> 258 <if test="lineUpdateType != null">line_update_type,</if>
255 <if test="revenueType != null">revenue_type,</if> 259 <if test="revenueType != null">revenue_type,</if>
256 <if test="deptId != null">dept_id,</if> 260 <if test="deptId != null">dept_id,</if>
  261 + <if test="firstHub != null">firstHub,</if>
  262 + <if test="firstHubAddress != null">firstHubAddress,</if>
  263 + <if test="lastHub != null">lastHub,</if>
  264 + <if test="lastHubAddress != null">lastHubAddress,</if>
257 create_time, 265 create_time,
258 </trim> 266 </trim>
259 <trim prefix="values (" suffix=")" suffixOverrides=","> 267 <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -320,6 +328,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -320,6 +328,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
320 <if test="lineUpdateType != null">#{lineUpdateType},</if> 328 <if test="lineUpdateType != null">#{lineUpdateType},</if>
321 <if test="revenueType != null">#{revenueType},</if> 329 <if test="revenueType != null">#{revenueType},</if>
322 <if test="deptId != null">#{deptId},</if> 330 <if test="deptId != null">#{deptId},</if>
  331 + <if test="firstHub != null">#{firstHub},</if>
  332 + <if test="firstHubAddress != null">#{firstHubAddress},</if>
  333 + <if test="lastHub != null">#{lastHub},</if>
  334 + <if test="lastHubAddress != null">#{lastHubAddress},</if>
323 sysdate(), 335 sysdate(),
324 </trim> 336 </trim>
325 </insert> 337 </insert>
@@ -393,6 +405,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -393,6 +405,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
393 <if test="revenueType != null">revenue_type = #{revenueType},</if> 405 <if test="revenueType != null">revenue_type = #{revenueType},</if>
394 <if test="lineUpdateType != null">line_update_type = #{lineUpdateType},</if> 406 <if test="lineUpdateType != null">line_update_type = #{lineUpdateType},</if>
395 <if test="deptId != null">dept_id = #{deptId},</if> 407 <if test="deptId != null">dept_id = #{deptId},</if>
  408 + <if test="firstHub != null">firstHub = #{firstHub},</if>
  409 + <if test="firstHubAddress != null">firstHubAddress = #{firstHubAddress},</if>
  410 + <if test="lastHub != null">lastHub = #{lastHub},</if>
  411 + <if test="lastHubAddress != null">lastHubAddress = #{lastHubAddress},</if>
396 </trim> 412 </trim>
397 where id = #{id} 413 where id = #{id}
398 </update> 414 </update>
@@ -464,6 +480,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -464,6 +480,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
464 <if test="lineUpdateType != null">line_update_type = #{lineUpdateType},</if> 480 <if test="lineUpdateType != null">line_update_type = #{lineUpdateType},</if>
465 <if test="revenueType != null">revenue_type = #{revenueType},</if> 481 <if test="revenueType != null">revenue_type = #{revenueType},</if>
466 <if test="deptId != null">dept_id = #{deptId},</if> 482 <if test="deptId != null">dept_id = #{deptId},</if>
  483 + <if test="firstHub != null">firstHub = #{firstHub},</if>
  484 + <if test="firstHubAddress != null">firstHubAddress = #{firstHubAddress},</if>
  485 + <if test="lastHub != null">lastHub = #{lastHub},</if>
  486 + <if test="lastHubAddress != null">lastHubAddress = #{lastHubAddress},</if>
467 </trim> 487 </trim>
468 where line_name = #{lineName} 488 where line_name = #{lineName}
469 </update> 489 </update>
@@ -611,6 +631,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -611,6 +631,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
611 <if test="lineUpdateType != null">line_update_type,</if> 631 <if test="lineUpdateType != null">line_update_type,</if>
612 <if test="examineStatus != null">examine_status,</if> 632 <if test="examineStatus != null">examine_status,</if>
613 <if test="deptId != null">dept_id,</if> 633 <if test="deptId != null">dept_id,</if>
  634 + <if test="firstHub != null">firstHub,</if>
  635 + <if test="firstHubAddress != null">firstHubAddress,</if>
  636 + <if test="lastHub != null">lastHub,</if>
  637 + <if test="lastHubAddress != null">lastHubAddress,</if>
614 create_time, 638 create_time,
615 </trim> 639 </trim>
616 <trim prefix="values (" suffix=")" suffixOverrides=","> 640 <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -679,6 +703,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -679,6 +703,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
679 <if test="lineUpdateType != null">#{lineUpdateType},</if> 703 <if test="lineUpdateType != null">#{lineUpdateType},</if>
680 <if test="examineStatus != null">#{examineStatus},</if> 704 <if test="examineStatus != null">#{examineStatus},</if>
681 <if test="deptId != null">#{deptId},</if> 705 <if test="deptId != null">#{deptId},</if>
  706 + <if test="firstHub != null">#{firstHub},</if>
  707 + <if test="firstHubAddress != null">#{firstHubAddress},</if>
  708 + <if test="lastHub != null">#{lastHub},</if>
  709 + <if test="lastHubAddress != null">#{lastHubAddress},</if>
682 sysdate(), 710 sysdate(),
683 </trim> 711 </trim>
684 </insert> 712 </insert>
@@ -771,6 +799,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -771,6 +799,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
771 <if test="examineType != null">examine_type = #{examineType},</if> 799 <if test="examineType != null">examine_type = #{examineType},</if>
772 <if test="examineStatus != null">examine_status = #{examineStatus},</if> 800 <if test="examineStatus != null">examine_status = #{examineStatus},</if>
773 <if test="deptId != null">dept_id=#{deptId},</if> 801 <if test="deptId != null">dept_id=#{deptId},</if>
  802 + <if test="firstHub != null">firstHub = #{firstHub},</if>
  803 + <if test="firstHubAddress != null">firstHubAddress = #{firstHubAddress},</if>
  804 + <if test="lastHub != null">lastHub = #{lastHub},</if>
  805 + <if test="lastHubAddress != null">lastHubAddress = #{lastHubAddress},</if>
774 </trim> 806 </trim>
775 where id = #{id} 807 where id = #{id}
776 </update> 808 </update>
@@ -945,6 +977,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -945,6 +977,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
945 <if test="updateStatus != null">update_status,</if> 977 <if test="updateStatus != null">update_status,</if>
946 <if test="historyId != null">history_id,</if> 978 <if test="historyId != null">history_id,</if>
947 <if test="deptId != null">dept_id,</if> 979 <if test="deptId != null">dept_id,</if>
  980 + <if test="firstHub != null">firstHub,</if>
  981 + <if test="firstHubAddress != null">firstHubAddress,</if>
  982 + <if test="lastHub != null">lastHub,</if>
  983 + <if test="lastHubAddress != null">lastHubAddress,</if>
948 create_time, 984 create_time,
949 </trim> 985 </trim>
950 <trim prefix="values (" suffix=")" suffixOverrides=","> 986 <trim prefix="values (" suffix=")" suffixOverrides=",">
@@ -1013,6 +1049,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -1013,6 +1049,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
1013 <if test="updateStatus != null">#{updateStatus},</if> 1049 <if test="updateStatus != null">#{updateStatus},</if>
1014 <if test="historyId != null">#{historyId},</if> 1050 <if test="historyId != null">#{historyId},</if>
1015 <if test="deptId != null">#{deptId},</if> 1051 <if test="deptId != null">#{deptId},</if>
  1052 + <if test="firstHub != null">#{firstHub},</if>
  1053 + <if test="firstHubAddress != null">#{firstHubAddress},</if>
  1054 + <if test="lastHub != null">#{lastHub},</if>
  1055 + <if test="lastHubAddress != null">#{lastHubAddress},</if>
1016 sysdate(), 1056 sysdate(),
1017 </trim> 1057 </trim>
1018 </insert> 1058 </insert>
@@ -1086,6 +1126,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -1086,6 +1126,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
1086 <if test="revenueType != null">revenue_type = #{revenueType},</if> 1126 <if test="revenueType != null">revenue_type = #{revenueType},</if>
1087 <if test="updateStatus != null ">update_status = #{updateStatus},</if> 1127 <if test="updateStatus != null ">update_status = #{updateStatus},</if>
1088 <if test="deptId != null">dept_id=#{deptId},</if> 1128 <if test="deptId != null">dept_id=#{deptId},</if>
  1129 + <if test="firstHub != null">firstHub = #{firstHub},</if>
  1130 + <if test="firstHubAddress != null">firstHubAddress = #{firstHubAddress},</if>
  1131 + <if test="lastHub != null">lastHub = #{lastHub},</if>
  1132 + <if test="lastHubAddress != null">lastHubAddress = #{lastHubAddress},</if>
1089 </trim> 1133 </trim>
1090 where id = #{id} 1134 where id = #{id}
1091 </update> 1135 </update>
@@ -1361,9 +1405,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -1361,9 +1405,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
1361 h1.vehicles_number vehiclesNumber,h1.number_vehicles_large numberVehiclesLarge,h1.number_vehicles_middle numberVehiclesMiddle, 1405 h1.vehicles_number vehiclesNumber,h1.number_vehicles_large numberVehiclesLarge,h1.number_vehicles_middle numberVehiclesMiddle,
1362 h1.car_plate carPlate,h1.number_person numberPerson,h1.number_person_driver numberPersonDriver,h1.number_person_sales numberPersonSales, 1406 h1.car_plate carPlate,h1.number_person numberPerson,h1.number_person_driver numberPersonDriver,h1.number_person_sales numberPersonSales,
1363 h1.bus_ev_number busEvNumber,h1.directions directions,h1.halfway_station halfwayStation, 1407 h1.bus_ev_number busEvNumber,h1.directions directions,h1.halfway_station halfwayStation,
1364 - h1.divide_level divideLevel, 1408 + h1.divide_level divideLevel,h1.nightParking nightParking
1365 h1.has_timelists hasTimelists,h1.is_metro isMetro,h1.metro_time metroTime,h1.cold_bonus_type coldBonusType, 1409 h1.has_timelists hasTimelists,h1.is_metro isMetro,h1.metro_time metroTime,h1.cold_bonus_type coldBonusType,
1366 h1.line_update_type lineUpdateType,h1.revenue_type revenueType, 1410 h1.line_update_type lineUpdateType,h1.revenue_type revenueType,
  1411 + h1.firstHub firstHub,h1.firstHubAddress firstHubAddress,h1.lastHub lastHub,h1.lastHubAddress lastHubAddress,
1367 h2.id idOld,h2.line_name lineNameOld,h2.company companyOld,h2.f_company fCompanyOld,h2.p_line_id pLineIdOld, 1412 h2.id idOld,h2.line_name lineNameOld,h2.company companyOld,h2.f_company fCompanyOld,h2.p_line_id pLineIdOld,
1368 h2.service_type serviceTypeOld,h2.line_level lineLevelOld,h2.line_type lineTypeOld,h2.district districtOld, 1413 h2.service_type serviceTypeOld,h2.line_level lineLevelOld,h2.line_type lineTypeOld,h2.district districtOld,
1369 h2.inout_district inoutDistrictOld,h2.service_state serviceStateOld,h2.bus_type busTypeOld,h2.air_conditioner_type airConditionerTypeOld, 1414 h2.inout_district inoutDistrictOld,h2.service_state serviceStateOld,h2.bus_type busTypeOld,h2.air_conditioner_type airConditionerTypeOld,
@@ -1379,9 +1424,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot; @@ -1379,9 +1424,10 @@ PUBLIC &quot;-//mybatis.org//DTD Mapper 3.0//EN&quot;
1379 h2.vehicles_number vehiclesNumberOld,h2.number_vehicles_large numberVehiclesLargeOld,h2.number_vehicles_middle numberVehiclesMiddleOld, 1424 h2.vehicles_number vehiclesNumberOld,h2.number_vehicles_large numberVehiclesLargeOld,h2.number_vehicles_middle numberVehiclesMiddleOld,
1380 h2.car_plate carPlateOld,h2.number_person numberPersonOld,h2.number_person_driver numberPersonDriverOld,h2.number_person_sales numberPersonSalesOld, 1425 h2.car_plate carPlateOld,h2.number_person numberPersonOld,h2.number_person_driver numberPersonDriverOld,h2.number_person_sales numberPersonSalesOld,
1381 h2.bus_ev_number busEvNumberOld,h2.directions directionsOld,h2.halfway_station halfwayStationOld, 1426 h2.bus_ev_number busEvNumberOld,h2.directions directionsOld,h2.halfway_station halfwayStationOld,
1382 - h2.divide_level divideLevelOld, 1427 + h2.divide_level divideLevelOld,h2.nightParking nightParkingOld
1383 h2.has_timelists hasTimelistsOld,h2.is_metro isMetroOld,h2.metro_time metroTimeOld,h2.cold_bonus_type coldBonusTypeOld, 1428 h2.has_timelists hasTimelistsOld,h2.is_metro isMetroOld,h2.metro_time metroTimeOld,h2.cold_bonus_type coldBonusTypeOld,
1384 - h2.line_update_type lineUpdateTypeOld,h2.revenue_type revenueTypeOld 1429 + h2.line_update_type lineUpdateTypeOld,h2.revenue_type revenueTypeOld,
  1430 + h2.firstHub firstHubOld,h2.firstHubAddress firstHubAddressOld,h2.lastHub lastHubOld,h2.lastHubAddress lastHubAddressOld
1385 FROM bsth_t_line_history h1 LEFT JOIN bsth_t_line_history h2 on h1.history_id=h2.id 1431 FROM bsth_t_line_history h1 LEFT JOIN bsth_t_line_history h2 on h1.history_id=h2.id
1386 <where> 1432 <where>
1387 <if test="createTimeStr != null and createTimeStr != ''"> and h1.create_time >= #{createTimeStr}</if> 1433 <if test="createTimeStr != null and createTimeStr != ''"> and h1.create_time >= #{createTimeStr}</if>
bsthLineProfiles/src/main/resources/static/ruoyi/js/ry-ui.js
@@ -842,7 +842,7 @@ var table = { @@ -842,7 +842,7 @@ var table = {
842 var index = layer.open($.extend({ 842 var index = layer.open($.extend({
843 type: 2, 843 type: 2,
844 maxmin: $.common.isEmpty(options.maxmin) ? true : options.maxmin, 844 maxmin: $.common.isEmpty(options.maxmin) ? true : options.maxmin,
845 - shade: 0.3, 845 + shade: 0.0,
846 title: _title, 846 title: _title,
847 fix: false, 847 fix: false,
848 area: [_width + 'px', _height + 'px'], 848 area: [_width + 'px', _height + 'px'],
bsthLineProfiles/src/main/resources/templates/system/line/detail.html
@@ -240,6 +240,33 @@ @@ -240,6 +240,33 @@
240 <label>下行里程数:</label> 240 <label>下行里程数:</label>
241 <input name="mileageDown" th:field="*{mileageDown}" type="text" disabled> 241 <input name="mileageDown" th:field="*{mileageDown}" type="text" disabled>
242 </li> 242 </li>
  243 +
  244 +
  245 + <!---------------------------------->
  246 + <li id="firstHub">
  247 + <label>首站枢纽站:</label>
  248 + <input name="firstHub" th:field="*{firstHub}" type="text" disabled>
  249 + </li>
  250 + <!---------------------------------->
  251 + <li id="firstHubAddress">
  252 + <label>首站枢纽站地址:</label>
  253 + <input name="firstHubAddress" th:field="*{firstHubAddress}" type="text" disabled>
  254 + </li>
  255 +
  256 + <!---------------------------------->
  257 + <li id="lastHub">
  258 + <label>末站枢纽站:</label>
  259 + <input name="lastHub" th:field="*{lastHub}" type="text" disabled>
  260 + </li>
  261 + <!---------------------------------->
  262 + <li id="lastHubAddress">
  263 + <label>末站枢纽站地址:</label>
  264 + <input name="lastHubAddress" th:field="*{lastHubAddress}" type="text" disabled>
  265 + </li>
  266 +
  267 +
  268 +
  269 +
243 <!----------------------------------> 270 <!---------------------------------->
244 <li id="stationUp"> 271 <li id="stationUp">
245 <label>站级数(上行):</label> 272 <label>站级数(上行):</label>
bsthLineProfiles/src/main/resources/templates/system/line/line.html
@@ -142,6 +142,16 @@ @@ -142,6 +142,16 @@
142 <!----------------------------------> 142 <!---------------------------------->
143 <li><label>下行里程:</label> <input type="text" name="mileageDown" /></li> 143 <li><label>下行里程:</label> <input type="text" name="mileageDown" /></li>
144 <!----------------------------------> 144 <!---------------------------------->
  145 + <li><label>夜间停车场:</label> <input type="text" name="nightParking" /></li>
  146 + <!---------------------------------->
  147 + <li><label>首站枢纽站:</label> <input type="text" name="firstHub" /></li>
  148 + <!---------------------------------->
  149 + <li><label>首站枢纽站地址:</label> <input type="text" name="firstHubAddress" /></li>
  150 + <!---------------------------------->
  151 + <li><label>末站枢纽站:</label> <input type="text" name="lastHub" /></li>
  152 + <!---------------------------------->
  153 + <li><label>末站枢纽站地址:</label> <input type="text" name="lastHubAddress" /></li>
  154 + <!---------------------------------->
145 <li><label>站级数(上行):</label> <input type="text" name="stationUp" /></li> 155 <li><label>站级数(上行):</label> <input type="text" name="stationUp" /></li>
146 <!----------------------------------> 156 <!---------------------------------->
147 <li><label>站级数(下行):</label> <input type="text" name="stationDown" /></li> 157 <li><label>站级数(下行):</label> <input type="text" name="stationDown" /></li>
@@ -590,6 +600,18 @@ @@ -590,6 +600,18 @@
590 field: 'lastStation', 600 field: 'lastStation',
591 title: '末站' 601 title: '末站'
592 },{ 602 },{
  603 + field: 'firstHub',
  604 + title: '首站枢纽站'
  605 + },{
  606 + field: 'firstHubAddress',
  607 + title: '首站枢纽站地址'
  608 + },{
  609 + field: 'lastHub',
  610 + title: '末站枢纽站'
  611 + },{
  612 + field: 'lastHubAddress',
  613 + title: '末站枢纽站地址'
  614 + },{
593 field: 'firstTime', 615 field: 'firstTime',
594 title: '起点站首末班' 616 title: '起点站首末班'
595 },{ 617 },{
@@ -768,6 +790,13 @@ @@ -768,6 +790,13 @@
768 minView : "month", 790 minView : "month",
769 autoclose : true 791 autoclose : true
770 }); 792 });
  793 + document.onkeydown= function (e) { // 回车提交表单
  794 + var theEvent = window.event || e;
  795 + var code = theEvent.keyCode || theEvent.which || theEvent.charCode;
  796 + if (code == 13) {
  797 + $.table.search();
  798 + }
  799 + }
771 </script> 800 </script>
772 801
773 <style> 802 <style>
bsthLineProfiles/src/main/resources/templates/system/lineAdd/add.html
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 <th:block th:include="include :: bootstrap-fileinput-css"/> 6 <th:block th:include="include :: bootstrap-fileinput-css"/>
7 <th:block th:include="include :: bootstrap-select-css"/> 7 <th:block th:include="include :: bootstrap-select-css"/>
8 <th:block th:include="include :: select2-css"/> 8 <th:block th:include="include :: select2-css"/>
  9 + <th:block th:include="include :: jasny-bootstrap-css" />
9 </head> 10 </head>
10 <body class="white-bg"> 11 <body class="white-bg">
11 <div class="wrapper wrapper-content animated fadeInRight ibox-content"> 12 <div class="wrapper wrapper-content animated fadeInRight ibox-content">
@@ -176,29 +177,36 @@ @@ -176,29 +177,36 @@
176 <div class="form-group"> 177 <div class="form-group">
177 <label class="col-sm-1 control-label">起点站首末班:</label> 178 <label class="col-sm-1 control-label">起点站首末班:</label>
178 <div class="col-sm-2"> 179 <div class="col-sm-2">
179 - <input name="firstTime" class="form-control" type="text"> 180 + <input name="firstTime1" class="form-control" type="text" data-mask="99:99-99:99">
180 </div> 181 </div>
181 <!----------------------------------> 182 <!---------------------------------->
182 - <label class="col-sm-1 control-label">终点站首末班:</label> 183 + <label class="col-sm-1 control-label">起点站首末班(仅在多时段使用):</label>
183 <div class="col-sm-2"> 184 <div class="col-sm-2">
184 - <input name="lastTime" class="form-control" type="text"> 185 + <input name="firstTime2" class="form-control" type="text" data-mask="99:99-99:99">
185 </div> 186 </div>
186 <!----------------------------------> 187 <!---------------------------------->
187 - <label class="col-sm-1 control-label">上行里程数:</label> 188 + <label class="col-sm-1 control-label">终点站首末班:</label>
188 <div class="col-sm-2"> 189 <div class="col-sm-2">
189 - <input name="mileageUp" class="form-control" type="text"> 190 + <input name="lastTime1" class="form-control" type="text" data-mask="99:99-99:99">
190 </div> 191 </div>
191 <!----------------------------------> 192 <!---------------------------------->
192 - <label class="col-sm-1 control-label">下行里程数:</label> 193 + <label class="col-sm-1 control-label">终点站首末班(仅在多时段使用):</label>
193 <div class="col-sm-2"> 194 <div class="col-sm-2">
194 - <input name="mileageDown" class="form-control" type="text"> 195 + <input name="lastTime2" class="form-control" type="text" data-mask="99:99-99:99">
195 </div> 196 </div>
196 </div> 197 </div>
  198 +
197 <!----------------------------------> 199 <!---------------------------------->
198 <div class="form-group"> 200 <div class="form-group">
199 - <label class="col-sm-1 control-label">线路长度:</label> 201 + <!---------------------------------->
  202 + <label class="col-sm-1 control-label">上行里程数:</label>
200 <div class="col-sm-2"> 203 <div class="col-sm-2">
201 - <input name="lineDistance" class="form-control" type="text"> 204 + <input name="mileageUp" class="form-control" type="text" data-mask="99.99">
  205 + </div>
  206 + <!---------------------------------->
  207 + <label class="col-sm-1 control-label">下行里程数:</label>
  208 + <div class="col-sm-2">
  209 + <input name="mileageDown" class="form-control" type="text" data-mask="99.99">
202 </div> 210 </div>
203 <!----------------------------------> 211 <!---------------------------------->
204 <label class="col-sm-1 control-label">是否权证:</label> 212 <label class="col-sm-1 control-label">是否权证:</label>
@@ -210,7 +218,32 @@ @@ -210,7 +218,32 @@
210 </option> 218 </option>
211 </select> 219 </select>
212 </div> 220 </div>
  221 + </div>
  222 + <!---------------------------------->
  223 + <div class="form-group">
  224 + <!---------------------------------->
  225 + <label class="col-sm-1 control-label">首站枢纽站:</label>
  226 + <div class="col-sm-2">
  227 + <input name="firstHub" class="form-control" type="text">
  228 + </div>
  229 + <!---------------------------------->
  230 + <label class="col-sm-1 control-label">首站枢纽站地址:</label>
  231 + <div class="col-sm-2">
  232 + <input name="firstHubAddress" class="form-control" type="text">
  233 + </div>
213 <!----------------------------------> 234 <!---------------------------------->
  235 + <label class="col-sm-1 control-label">末站枢纽站:</label>
  236 + <div class="col-sm-2">
  237 + <input name="lastHub" class="form-control" type="text">
  238 + </div>
  239 + <!---------------------------------->
  240 + <label class="col-sm-1 control-label">末站枢纽站地址:</label>
  241 + <div class="col-sm-2">
  242 + <input name="lastHubAddress" class="form-control" type="text">
  243 + </div>
  244 + </div>
  245 + <!---------------------------------->
  246 + <div class="form-group">
214 <label class="col-sm-1 control-label">授权起始日期:</label> 247 <label class="col-sm-1 control-label">授权起始日期:</label>
215 <div class="col-sm-2"> 248 <div class="col-sm-2">
216 <div class="input-group date"> 249 <div class="input-group date">
@@ -228,9 +261,7 @@ @@ -228,9 +261,7 @@
228 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 261 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
229 </div> 262 </div>
230 </div> 263 </div>
231 - </div>  
232 - <!---------------------------------->  
233 - <div class="form-group"> 264 + <!---------------------------------->
234 <label class="col-sm-1 control-label">授权年限:</label> 265 <label class="col-sm-1 control-label">授权年限:</label>
235 <div class="col-sm-2"> 266 <div class="col-sm-2">
236 <input name="warrantYear" class="form-control" type="text"> 267 <input name="warrantYear" class="form-control" type="text">
@@ -244,7 +275,9 @@ @@ -244,7 +275,9 @@
244 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 275 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
245 </div> 276 </div>
246 </div> 277 </div>
247 - <!----------------------------------> 278 + </div>
  279 + <!---------------------------------->
  280 + <div class="form-group">
248 <label class="col-sm-1 control-label">经营权证(大):</label> 281 <label class="col-sm-1 control-label">经营权证(大):</label>
249 <div class="col-sm-2"> 282 <div class="col-sm-2">
250 <input name="warrantVehiclesLarge" class="form-control" type="text"> 283 <input name="warrantVehiclesLarge" class="form-control" type="text">
@@ -254,9 +287,7 @@ @@ -254,9 +287,7 @@
254 <div class="col-sm-2"> 287 <div class="col-sm-2">
255 <input name="warrantVehiclesMiddle" class="form-control" type="text"> 288 <input name="warrantVehiclesMiddle" class="form-control" type="text">
256 </div> 289 </div>
257 - </div>  
258 - <!---------------------------------->  
259 - <div class="form-group"> 290 + <!---------------------------------->
260 <label class="col-sm-1 control-label">是否轨交末班车衔接:</label> 291 <label class="col-sm-1 control-label">是否轨交末班车衔接:</label>
261 <div class="col-sm-2"> 292 <div class="col-sm-2">
262 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> 293 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b">
@@ -273,6 +304,8 @@ @@ -273,6 +304,8 @@
273 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 304 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
274 </div> 305 </div>
275 </div> 306 </div>
  307 + </div>
  308 + <div class="form-group">
276 <!----------------------------------> 309 <!---------------------------------->
277 <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> 310 <label class="col-sm-1 control-label">冷僻线路补贴类型:</label>
278 <div class="col-sm-2"> 311 <div class="col-sm-2">
@@ -293,9 +326,7 @@ @@ -293,9 +326,7 @@
293 </option> 326 </option>
294 </select> 327 </select>
295 </div> 328 </div>
296 - </div>  
297 - <!---------------------------------->  
298 - <div class="form-group"> 329 + <!---------------------------------->
299 <label class="col-sm-1 control-label">线路暂停日期:</label> 330 <label class="col-sm-1 control-label">线路暂停日期:</label>
300 <div class="col-sm-2"> 331 <div class="col-sm-2">
301 <div class="input-group date"> 332 <div class="input-group date">
@@ -313,6 +344,9 @@ @@ -313,6 +344,9 @@
313 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 344 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
314 </div> 345 </div>
315 </div> 346 </div>
  347 + </div>
  348 + <!---------------------------------->
  349 + <div class="form-group">
316 <!----------------------------------> 350 <!---------------------------------->
317 <label class="col-sm-1 control-label">性质:</label> 351 <label class="col-sm-1 control-label">性质:</label>
318 <div class="col-sm-2"> 352 <div class="col-sm-2">
@@ -431,9 +465,12 @@ @@ -431,9 +465,12 @@
431 </div> 465 </div>
432 <th:block th:include="include :: footer"/> 466 <th:block th:include="include :: footer"/>
433 <th:block th:include="include :: datetimepicker-js"/> 467 <th:block th:include="include :: datetimepicker-js"/>
434 -<th:block th:include="include :: bootstrap-fileinput-js"/> 468 +<th:block th:include="include :: jasny-bootstrap-js" />
  469 +<th:block th:include="include :: bootstrap-fileinput-js" />
435 <th:block th:include="include :: bootstrap-select-js"/> 470 <th:block th:include="include :: bootstrap-select-js"/>
436 <th:block th:include="include :: select2-js"/> 471 <th:block th:include="include :: select2-js"/>
  472 +
  473 +
437 <script th:inline="javascript"> 474 <script th:inline="javascript">
438 var prefix = ctx + "system/lineAdd" 475 var prefix = ctx + "system/lineAdd"
439 476
bsthLineProfiles/src/main/resources/templates/system/lineAdd/edit.html
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="zh" xmlns:th="http://www.thymeleaf.org"> 2 <html lang="zh" xmlns:th="http://www.thymeleaf.org">
3 <head> 3 <head>
4 -<th:block th:include="include :: header('修改【请填写功能名称】')" />  
5 -<th:block th:include="include :: datetimepicker-css" />  
6 -<th:block th:include="include :: bootstrap-fileinput-css" />  
7 -<th:block th:include="include :: bootstrap-select-css" /> 4 + <th:block th:include="include :: header('修改【请填写功能名称】')" />
  5 + <th:block th:include="include :: datetimepicker-css" />
  6 + <th:block th:include="include :: bootstrap-fileinput-css" />
  7 + <th:block th:include="include :: bootstrap-select-css" />
8 <th:block th:include="include :: select2-css"/> 8 <th:block th:include="include :: select2-css"/>
  9 + <th:block th:include="include :: jasny-bootstrap-css" />
9 </head> 10 </head>
10 <body class="white-bg"> 11 <body class="white-bg">
11 <div class="wrapper wrapper-content animated fadeInRight ibox-content"> 12 <div class="wrapper wrapper-content animated fadeInRight ibox-content">
@@ -177,31 +178,37 @@ @@ -177,31 +178,37 @@
177 </div> 178 </div>
178 <!----------------------------------> 179 <!---------------------------------->
179 <div class="form-group"> 180 <div class="form-group">
180 - <label class="col-sm-1 control-label" name="firstTime">起点站首末班:</label> 181 + <label class="col-sm-1 control-label">起点站首末班:</label>
181 <div class="col-sm-2"> 182 <div class="col-sm-2">
182 - <input name="firstTime" th:field="*{firstTime}" class="form-control" type="text"> 183 + <input name="firstTime1" th:field="*{firstTime1}" class="form-control" type="text" data-mask="99:99-99:99">
183 </div> 184 </div>
184 <!----------------------------------> 185 <!---------------------------------->
185 - <label class="col-sm-1 control-label" name="lastTime">终点站首末班:</label> 186 + <label class="col-sm-1 control-label">起点站首末班(仅在多时段使用):</label>
186 <div class="col-sm-2"> 187 <div class="col-sm-2">
187 - <input name="lastTime" th:field="*{lastTime}" class="form-control" type="text"> 188 + <input name="firstTime2" th:field="*{firstTime2}" class="form-control" type="text" data-mask="99:99-99:99">
188 </div> 189 </div>
189 <!----------------------------------> 190 <!---------------------------------->
190 - <label class="col-sm-1 control-label" name="mileageUp">上行里程数:</label> 191 + <label class="col-sm-1 control-label">终点站首末班:</label>
191 <div class="col-sm-2"> 192 <div class="col-sm-2">
192 - <input name="mileageUp" th:field="*{mileageUp}" class="form-control" type="text"> 193 + <input name="lastTime1" th:field="*{lastTime1}" class="form-control" type="text" data-mask="99:99-99:99">
193 </div> 194 </div>
194 <!----------------------------------> 195 <!---------------------------------->
195 - <label class="col-sm-1 control-label" name="mileageDown">下行里程数:</label> 196 + <label class="col-sm-1 control-label">终点站首末班(仅在多时段使用):</label>
196 <div class="col-sm-2"> 197 <div class="col-sm-2">
197 - <input name="mileageDown" th:field="*{mileageDown}" class="form-control" type="text"> 198 + <input name="lastTime2" th:field="*{lastTime2}" class="form-control" type="text" data-mask="99:99-99:99">
198 </div> 199 </div>
199 </div> 200 </div>
  201 +
200 <!----------------------------------> 202 <!---------------------------------->
201 <div class="form-group"> 203 <div class="form-group">
202 - <label class="col-sm-1 control-label" name="lineDistance">线路长度:</label> 204 + <label class="col-sm-1 control-label" name="mileageUp">上行里程数:</label>
203 <div class="col-sm-2"> 205 <div class="col-sm-2">
204 - <input name="lineDistance" th:field="*{lineDistance}" class="form-control" type="text"> 206 + <input name="mileageUp" th:field="*{mileageUp}" class="form-control" type="text" data-mask="99.99">
  207 + </div>
  208 + <!---------------------------------->
  209 + <label class="col-sm-1 control-label" name="mileageDown">下行里程数:</label>
  210 + <div class="col-sm-2">
  211 + <input name="mileageDown" th:field="*{mileageDown}" class="form-control" type="text" data-mask="99.99">
205 </div> 212 </div>
206 <!----------------------------------> 213 <!---------------------------------->
207 <label class="col-sm-1 control-label" name="isWarrant">是否权证:</label> 214 <label class="col-sm-1 control-label" name="isWarrant">是否权证:</label>
@@ -212,7 +219,32 @@ @@ -212,7 +219,32 @@
212 th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option> 219 th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option>
213 </select> 220 </select>
214 </div> 221 </div>
  222 + </div>
  223 + <!---------------------------------->
  224 + <div class="form-group">
215 <!----------------------------------> 225 <!---------------------------------->
  226 + <label class="col-sm-1 control-label">首站枢纽站:</label>
  227 + <div class="col-sm-2">
  228 + <input name="firstHub" th:field="*{firstHub}" class="form-control" type="text">
  229 + </div>
  230 + <!---------------------------------->
  231 + <label class="col-sm-1 control-label">首站枢纽站地址:</label>
  232 + <div class="col-sm-2">
  233 + <input name="firstHubAddress" th:field="*{firstHubAddress}" class="form-control" type="text">
  234 + </div>
  235 + <!---------------------------------->
  236 + <label class="col-sm-1 control-label">末站枢纽站:</label>
  237 + <div class="col-sm-2">
  238 + <input name="lastHub" th:field="*{lastHub}" class="form-control" type="text">
  239 + </div>
  240 + <!---------------------------------->
  241 + <label class="col-sm-1 control-label">末站枢纽站地址:</label>
  242 + <div class="col-sm-2">
  243 + <input name="lastHubAddress" th:field="*{lastHubAddress}" class="form-control" type="text">
  244 + </div>
  245 + </div>
  246 + <!---------------------------------->
  247 + <div class="form-group">
216 <label class="col-sm-1 control-label" name="warrantStartTime">授权起始日期:</label> 248 <label class="col-sm-1 control-label" name="warrantStartTime">授权起始日期:</label>
217 <div class="col-sm-2"> 249 <div class="col-sm-2">
218 <div class="input-group date"> 250 <div class="input-group date">
@@ -230,9 +262,7 @@ @@ -230,9 +262,7 @@
230 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 262 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
231 </div> 263 </div>
232 </div> 264 </div>
233 - </div>  
234 - <!---------------------------------->  
235 - <div class="form-group"> 265 + <!---------------------------------->
236 <label class="col-sm-1 control-label" name="warrantYear">授权年限:</label> 266 <label class="col-sm-1 control-label" name="warrantYear">授权年限:</label>
237 <div class="col-sm-2"> 267 <div class="col-sm-2">
238 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> 268 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text">
@@ -248,7 +278,9 @@ @@ -248,7 +278,9 @@
248 class="fa fa-calendar"></i></span> 278 class="fa fa-calendar"></i></span>
249 </div> 279 </div>
250 </div> 280 </div>
251 - <!----------------------------------> 281 + </div>
  282 + <!---------------------------------->
  283 + <div class="form-group">
252 <label class="col-sm-1 control-label" name="warrantVehiclesLarge">经营权证(大):</label> 284 <label class="col-sm-1 control-label" name="warrantVehiclesLarge">经营权证(大):</label>
253 <div class="col-sm-2"> 285 <div class="col-sm-2">
254 <input name="warrantVehiclesLarge" th:field="*{warrantVehiclesLarge}" class="form-control" type="text"> 286 <input name="warrantVehiclesLarge" th:field="*{warrantVehiclesLarge}" class="form-control" type="text">
@@ -259,10 +291,7 @@ @@ -259,10 +291,7 @@
259 <input name="warrantVehiclesMiddle" th:field="*{warrantVehiclesMiddle}" class="form-control" 291 <input name="warrantVehiclesMiddle" th:field="*{warrantVehiclesMiddle}" class="form-control"
260 type="text"> 292 type="text">
261 </div> 293 </div>
262 -  
263 - </div>  
264 - <!---------------------------------->  
265 - <div class="form-group"> 294 + <!---------------------------------->
266 <label class="col-sm-1 control-label" name="isMetro">是否轨交末班车衔接:</label> 295 <label class="col-sm-1 control-label" name="isMetro">是否轨交末班车衔接:</label>
267 <div class="col-sm-2"> 296 <div class="col-sm-2">
268 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> 297 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b">
@@ -279,7 +308,9 @@ @@ -279,7 +308,9 @@
279 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 308 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
280 </div> 309 </div>
281 </div> 310 </div>
282 - <!----------------------------------> 311 + </div>
  312 + <!---------------------------------->
  313 + <div class="form-group">
283 <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label> 314 <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label>
284 <div class="col-sm-2"> 315 <div class="col-sm-2">
285 <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b"> 316 <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b">
@@ -297,9 +328,7 @@ @@ -297,9 +328,7 @@
297 th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option> 328 th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option>
298 </select> 329 </select>
299 </div> 330 </div>
300 - </div>  
301 - <!---------------------------------->  
302 - <div class="form-group"> 331 + <!---------------------------------->
303 <label class="col-sm-1 control-label" name="planCancelTime">线路暂停日期:</label> 332 <label class="col-sm-1 control-label" name="planCancelTime">线路暂停日期:</label>
304 <div class="col-sm-2"> 333 <div class="col-sm-2">
305 <div class="input-group date"> 334 <div class="input-group date">
@@ -317,7 +346,9 @@ @@ -317,7 +346,9 @@
317 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 346 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
318 </div> 347 </div>
319 </div> 348 </div>
320 - <!----------------------------------> 349 + </div>
  350 + <!---------------------------------->
  351 + <div class="form-group">
321 <label class="col-sm-1 control-label" name="lineUpdateType">性质:</label> 352 <label class="col-sm-1 control-label" name="lineUpdateType">性质:</label>
322 <div class="col-sm-2"> 353 <div class="col-sm-2">
323 <select name="lineUpdateType" 354 <select name="lineUpdateType"
@@ -449,6 +480,7 @@ @@ -449,6 +480,7 @@
449 </div> 480 </div>
450 <th:block th:include="include :: footer" /> 481 <th:block th:include="include :: footer" />
451 <th:block th:include="include :: datetimepicker-js" /> 482 <th:block th:include="include :: datetimepicker-js" />
  483 + <th:block th:include="include :: jasny-bootstrap-js" />
452 <th:block th:include="include :: bootstrap-fileinput-js" /> 484 <th:block th:include="include :: bootstrap-fileinput-js" />
453 <th:block th:include="include :: bootstrap-select-js" /> 485 <th:block th:include="include :: bootstrap-select-js" />
454 <th:block th:include="include :: select2-js"/> 486 <th:block th:include="include :: select2-js"/>
bsthLineProfiles/src/main/resources/templates/system/lineExamine/detail.html
@@ -238,6 +238,28 @@ @@ -238,6 +238,28 @@
238 </div> 238 </div>
239 <!----------------------------------> 239 <!---------------------------------->
240 <div class="form-group"> 240 <div class="form-group">
  241 + <label class="col-sm-1 control-label"name="firstHub">首站枢纽站:</label>
  242 + <div class="col-sm-2">
  243 + <input name="firstHub" th:field="*{firstHub}" class="form-control" type="text">
  244 + </div>
  245 + <!---------------------------------->
  246 + <label class="col-sm-1 control-label"name="firstHubAddress">首站枢纽站地址:</label>
  247 + <div class="col-sm-2">
  248 + <input name="firstHubAddress" th:field="*{firstHubAddress}" class="form-control" type="text">
  249 + </div>
  250 + <!---------------------------------->
  251 + <label class="col-sm-1 control-label"name="lastHub">末站枢纽站:</label>
  252 + <div class="col-sm-2">
  253 + <input name="lastHub" th:field="*{lastHub}" class="form-control" type="text">
  254 + </div>
  255 + <!---------------------------------->
  256 + <label class="col-sm-1 control-label"name="lastHubAddress">末站枢纽站地址:</label>
  257 + <div class="col-sm-2">
  258 + <input name="lastHubAddress" th:field="*{lastHubAddress}" class="form-control" type="text">
  259 + </div>
  260 + </div>
  261 + <!---------------------------------->
  262 + <div class="form-group">
241 <label class="col-sm-1 control-label"name="warrantYear">授权年限:</label> 263 <label class="col-sm-1 control-label"name="warrantYear">授权年限:</label>
242 <div class="col-sm-2"> 264 <div class="col-sm-2">
243 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> 265 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text">
bsthLineProfiles/src/main/resources/templates/system/lineHistory/edit.html
@@ -6,6 +6,7 @@ @@ -6,6 +6,7 @@
6 <th:block th:include="include :: bootstrap-fileinput-css"/> 6 <th:block th:include="include :: bootstrap-fileinput-css"/>
7 <th:block th:include="include :: bootstrap-select-css"/> 7 <th:block th:include="include :: bootstrap-select-css"/>
8 <th:block th:include="include :: select2-css"/> 8 <th:block th:include="include :: select2-css"/>
  9 + <th:block th:include="include :: jasny-bootstrap-css" />
9 </head> 10 </head>
10 <body class="white-bg"> 11 <body class="white-bg">
11 <div class="wrapper wrapper-content animated fadeInRight ibox-content"> 12 <div class="wrapper wrapper-content animated fadeInRight ibox-content">
@@ -176,32 +177,39 @@ @@ -176,32 +177,39 @@
176 </div> 177 </div>
177 </div> 178 </div>
178 <!----------------------------------> 179 <!---------------------------------->
  180 + <!---------------------------------->
179 <div class="form-group"> 181 <div class="form-group">
180 - <label class="col-sm-1 control-label" name="firstTime">起点站首末班:</label> 182 + <label class="col-sm-1 control-label" name="firstTime1">起点站首末班:</label>
181 <div class="col-sm-2"> 183 <div class="col-sm-2">
182 - <input name="firstTime" th:field="*{firstTime}" class="form-control" type="text"> 184 + <input name="firstTime1" th:field="*{firstTime1}" class="form-control" type="text" data-mask="99:99-99:99">
183 </div> 185 </div>
184 <!----------------------------------> 186 <!---------------------------------->
185 - <label class="col-sm-1 control-label" name="lastTime">终点站首末班:</label> 187 + <label class="col-sm-1 control-label" name="firstTime2">起点站首末班(仅在多时段使用):</label>
186 <div class="col-sm-2"> 188 <div class="col-sm-2">
187 - <input name="lastTime" th:field="*{lastTime}" class="form-control" type="text"> 189 + <input name="firstTime2" th:field="*{firstTime2}" class="form-control" type="text" data-mask="99:99-99:99">
188 </div> 190 </div>
189 <!----------------------------------> 191 <!---------------------------------->
190 - <label class="col-sm-1 control-label" name="mileageUp">上行里程数:</label> 192 + <label class="col-sm-1 control-label" name="lastTime1">终点站首末班:</label>
191 <div class="col-sm-2"> 193 <div class="col-sm-2">
192 - <input name="mileageUp" th:field="*{mileageUp}" class="form-control" type="text"> 194 + <input name="lastTime1" th:field="*{lastTime1}" class="form-control" type="text" data-mask="99:99-99:99">
193 </div> 195 </div>
194 <!----------------------------------> 196 <!---------------------------------->
195 - <label class="col-sm-1 control-label" name="mileageDown">下行里程数:</label> 197 + <label class="col-sm-1 control-label" name="lastTime2">终点站首末班(仅在多时段使用):</label>
196 <div class="col-sm-2"> 198 <div class="col-sm-2">
197 - <input name="mileageDown" th:field="*{mileageDown}" class="form-control" type="text"> 199 + <input name="lastTime2" th:field="*{lastTime2}" class="form-control" type="text" data-mask="99:99-99:99">
198 </div> 200 </div>
199 </div> 201 </div>
  202 +
200 <!----------------------------------> 203 <!---------------------------------->
201 <div class="form-group"> 204 <div class="form-group">
202 - <label class="col-sm-1 control-label" name="lineDistance">线路长度:</label> 205 + <label class="col-sm-1 control-label" name="mileageUp">上行里程数:</label>
203 <div class="col-sm-2"> 206 <div class="col-sm-2">
204 - <input name="lineDistance" th:field="*{lineDistance}" class="form-control" type="text"> 207 + <input name="mileageUp" th:field="*{mileageUp}" class="form-control" type="text" data-mask="99.99">
  208 + </div>
  209 + <!---------------------------------->
  210 + <label class="col-sm-1 control-label" name="mileageDown">下行里程数:</label>
  211 + <div class="col-sm-2">
  212 + <input name="mileageDown" th:field="*{mileageDown}" class="form-control" type="text" data-mask="99.99">
205 </div> 213 </div>
206 <!----------------------------------> 214 <!---------------------------------->
207 <label class="col-sm-1 control-label" name="isWarrant">是否权证:</label> 215 <label class="col-sm-1 control-label" name="isWarrant">是否权证:</label>
@@ -212,7 +220,32 @@ @@ -212,7 +220,32 @@
212 th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option> 220 th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option>
213 </select> 221 </select>
214 </div> 222 </div>
  223 + </div>
  224 + <!---------------------------------->
  225 + <div class="form-group">
  226 + <!---------------------------------->
  227 + <label class="col-sm-1 control-label" name="firstHub">首站枢纽站:</label>
  228 + <div class="col-sm-2">
  229 + <input name="firstHub" th:field="*{firstHub}" class="form-control" type="text">
  230 + </div>
215 <!----------------------------------> 231 <!---------------------------------->
  232 + <label class="col-sm-1 control-label" name="firstHubAddress">首站枢纽站地址:</label>
  233 + <div class="col-sm-2">
  234 + <input name="firstHubAddress" th:field="*{firstHubAddress}" class="form-control" type="text">
  235 + </div>
  236 + <!---------------------------------->
  237 + <label class="col-sm-1 control-label" name="lastHub">末站枢纽站:</label>
  238 + <div class="col-sm-2">
  239 + <input name="lastHub" th:field="*{lastHub}" class="form-control" type="text">
  240 + </div>
  241 + <!---------------------------------->
  242 + <label class="col-sm-1 control-label" name="lastHubAddress">末站枢纽站地址:</label>
  243 + <div class="col-sm-2">
  244 + <input name="lastHubAddress" th:field="*{lastHubAddress}" class="form-control" type="text">
  245 + </div>
  246 + </div>
  247 + <!---------------------------------->
  248 + <div class="form-group">
216 <label class="col-sm-1 control-label" name="warrantStartTime">授权起始日期:</label> 249 <label class="col-sm-1 control-label" name="warrantStartTime">授权起始日期:</label>
217 <div class="col-sm-2"> 250 <div class="col-sm-2">
218 <div class="input-group date"> 251 <div class="input-group date">
@@ -230,9 +263,7 @@ @@ -230,9 +263,7 @@
230 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 263 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
231 </div> 264 </div>
232 </div> 265 </div>
233 - </div>  
234 - <!---------------------------------->  
235 - <div class="form-group"> 266 + <!---------------------------------->
236 <label class="col-sm-1 control-label" name="warrantYear">授权年限:</label> 267 <label class="col-sm-1 control-label" name="warrantYear">授权年限:</label>
237 <div class="col-sm-2"> 268 <div class="col-sm-2">
238 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text"> 269 <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text">
@@ -248,7 +279,9 @@ @@ -248,7 +279,9 @@
248 class="fa fa-calendar"></i></span> 279 class="fa fa-calendar"></i></span>
249 </div> 280 </div>
250 </div> 281 </div>
251 - <!----------------------------------> 282 + </div>
  283 + <!---------------------------------->
  284 + <div class="form-group">
252 <label class="col-sm-1 control-label" name="warrantVehiclesLarge">经营权证(大):</label> 285 <label class="col-sm-1 control-label" name="warrantVehiclesLarge">经营权证(大):</label>
253 <div class="col-sm-2"> 286 <div class="col-sm-2">
254 <input name="warrantVehiclesLarge" th:field="*{warrantVehiclesLarge}" class="form-control" type="text"> 287 <input name="warrantVehiclesLarge" th:field="*{warrantVehiclesLarge}" class="form-control" type="text">
@@ -259,10 +292,7 @@ @@ -259,10 +292,7 @@
259 <input name="warrantVehiclesMiddle" th:field="*{warrantVehiclesMiddle}" class="form-control" 292 <input name="warrantVehiclesMiddle" th:field="*{warrantVehiclesMiddle}" class="form-control"
260 type="text"> 293 type="text">
261 </div> 294 </div>
262 -  
263 - </div>  
264 - <!---------------------------------->  
265 - <div class="form-group"> 295 + <!---------------------------------->
266 <label class="col-sm-1 control-label" name="isMetro">是否轨交末班车衔接:</label> 296 <label class="col-sm-1 control-label" name="isMetro">是否轨交末班车衔接:</label>
267 <div class="col-sm-2"> 297 <div class="col-sm-2">
268 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> 298 <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b">
@@ -279,7 +309,9 @@ @@ -279,7 +309,9 @@
279 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 309 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
280 </div> 310 </div>
281 </div> 311 </div>
282 - <!----------------------------------> 312 + </div>
  313 + <!---------------------------------->
  314 + <div class="form-group">
283 <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label> 315 <label class="col-sm-1 control-label" name="coldBonusType">冷僻线路补贴类型:</label>
284 <div class="col-sm-2"> 316 <div class="col-sm-2">
285 <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b"> 317 <select name="coldBonusType" th:with="type=${@dict.getType('coldBonusType')}" class="form-control m-b">
@@ -297,9 +329,7 @@ @@ -297,9 +329,7 @@
297 th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option> 329 th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option>
298 </select> 330 </select>
299 </div> 331 </div>
300 - </div>  
301 - <!---------------------------------->  
302 - <div class="form-group"> 332 + <!---------------------------------->
303 <label class="col-sm-1 control-label" name="planCancelTime">线路暂停日期:</label> 333 <label class="col-sm-1 control-label" name="planCancelTime">线路暂停日期:</label>
304 <div class="col-sm-2"> 334 <div class="col-sm-2">
305 <div class="input-group date"> 335 <div class="input-group date">
@@ -317,7 +347,9 @@ @@ -317,7 +347,9 @@
317 <span class="input-group-addon"><i class="fa fa-calendar"></i></span> 347 <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
318 </div> 348 </div>
319 </div> 349 </div>
320 - <!----------------------------------> 350 + </div>
  351 + <!---------------------------------->
  352 + <div class="form-group">
321 <label class="col-sm-1 control-label" name="lineUpdateType">性质:</label> 353 <label class="col-sm-1 control-label" name="lineUpdateType">性质:</label>
322 <div class="col-sm-2"> 354 <div class="col-sm-2">
323 <select name="lineUpdateType" 355 <select name="lineUpdateType"
@@ -449,6 +481,7 @@ @@ -449,6 +481,7 @@
449 </div> 481 </div>
450 <th:block th:include="include :: footer"/> 482 <th:block th:include="include :: footer"/>
451 <th:block th:include="include :: datetimepicker-js"/> 483 <th:block th:include="include :: datetimepicker-js"/>
  484 +<th:block th:include="include :: jasny-bootstrap-js" />
452 <th:block th:include="include :: bootstrap-fileinput-js"/> 485 <th:block th:include="include :: bootstrap-fileinput-js"/>
453 <th:block th:include="include :: bootstrap-select-js"/> 486 <th:block th:include="include :: bootstrap-select-js"/>
454 <th:block th:include="include :: select2-js"/> 487 <th:block th:include="include :: select2-js"/>
@@ -578,7 +611,6 @@ @@ -578,7 +611,6 @@
578 }, 611 },
579 function (data) { 612 function (data) {
580 var bsthTLineOld = data[0]; 613 var bsthTLineOld = data[0];
581 - console.log(bsthTLineOld)  
582 614
583 var bsthTLineNew = data[1]; 615 var bsthTLineNew = data[1];
584 if (bsthTLineNew != null) { 616 if (bsthTLineNew != null) {
@@ -588,8 +620,6 @@ @@ -588,8 +620,6 @@
588 if (o != n) { 620 if (o != n) {
589 i = i == 'fcompany' ? 'fCompany' : i; 621 i = i == 'fcompany' ? 'fCompany' : i;
590 i = i == 'plineId' ? 'pLineId' : i; 622 i = i == 'plineId' ? 'pLineId' : i;
591 - console.log(o);  
592 - console.log(n);  
593 var input = document.getElementsByName(i)[0]; 623 var input = document.getElementsByName(i)[0];
594 if (input != undefined) { 624 if (input != undefined) {
595 input.style.color = 'red' 625 input.style.color = 'red'