Commit 7831c5c71c70a5bde8cd7ba68ea7fb89d22160be
1 parent
8c348283
bf
Showing
13 changed files
with
637 additions
and
2353 deletions
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/controller/BsthTLineController.java
| ... | ... | @@ -233,17 +233,13 @@ public class BsthTLineController extends BaseController |
| 233 | 233 | |
| 234 | 234 | @PostMapping("/findByName") |
| 235 | 235 | @ResponseBody |
| 236 | - public List<BsthTLine> findByName(String name) | |
| 236 | + public BsthTLine findByName(String name) | |
| 237 | 237 | { |
| 238 | 238 | BsthTLine bsthTLine = new BsthTLine(); |
| 239 | 239 | |
| 240 | 240 | bsthTLine.setLineName(name); |
| 241 | - BsthTLine bsthTLineOld=bsthTLineService.selectBsthTLineList(bsthTLine).get(0); | |
| 242 | - BsthTLine bsthTLineNew=bsthTLineService.selectBsthTLineExamineByLineName(name); | |
| 243 | - List<BsthTLine> bsthTLines=new ArrayList<>(); | |
| 244 | - bsthTLines.add(bsthTLineOld); | |
| 245 | - bsthTLines.add(bsthTLineNew); | |
| 246 | - return bsthTLines; | |
| 241 | + | |
| 242 | + return bsthTLineService.selectBsthTLineList(bsthTLine).get(0); | |
| 247 | 243 | } |
| 248 | 244 | |
| 249 | 245 | /** | ... | ... |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/controller/BsthTLineHistoryReportController.java
| ... | ... | @@ -9,6 +9,7 @@ import java.util.HashMap; |
| 9 | 9 | import java.util.List; |
| 10 | 10 | import java.util.Map; |
| 11 | 11 | |
| 12 | +import com.ruoyi.common.utils.poi.ExcelUtil; | |
| 12 | 13 | import org.apache.shiro.authz.annotation.RequiresPermissions; |
| 13 | 14 | import org.springframework.beans.factory.annotation.Autowired; |
| 14 | 15 | import org.springframework.stereotype.Controller; |
| ... | ... | @@ -72,80 +73,78 @@ public class BsthTLineHistoryReportController extends BaseController |
| 72 | 73 | } |
| 73 | 74 | |
| 74 | 75 | |
| 75 | - | |
| 76 | - /** | |
| 77 | - * 导出【请填写功能名称】列表 | |
| 78 | - */ | |
| 79 | 76 | @RequiresPermissions("system:HistoryReport:export") |
| 80 | 77 | @Log(title = "【请填写功能名称】", businessType = BusinessType.EXPORT) |
| 81 | 78 | @PostMapping("/export") |
| 82 | 79 | @ResponseBody |
| 83 | - public AjaxResult export(LineEditReport lineEditReport) | |
| 84 | - { | |
| 80 | + public AjaxResult export(LineEditReport lineEditReport) throws NoSuchFieldException { | |
| 81 | + | |
| 82 | + | |
| 85 | 83 | List<LineEditReport> list = bsthTLineService.selectLineEditReportList(lineEditReport); |
| 86 | - | |
| 84 | + | |
| 87 | 85 | List<DictData> dicts = dictDataService.selectDictDataList(null); |
| 88 | - | |
| 86 | + | |
| 89 | 87 | Map<String,List<DictData>> dictMap = new HashMap(); |
| 90 | - | |
| 88 | + | |
| 89 | + List<String> titles=new ArrayList<>(); | |
| 90 | + | |
| 91 | 91 | for(DictData d : dicts) { |
| 92 | - | |
| 93 | - if(dictMap.get(d.getDictType()) == null) { | |
| 94 | - dictMap.put(d.getDictType(), new ArrayList<DictData>()); | |
| 95 | - } | |
| 96 | - | |
| 97 | - dictMap.get(d.getDictType()).add(d); | |
| 92 | + | |
| 93 | + if(dictMap.get(d.getDictType()) == null) { | |
| 94 | + dictMap.put(d.getDictType(), new ArrayList<DictData>()); | |
| 95 | + } | |
| 96 | + | |
| 97 | + dictMap.get(d.getDictType()).add(d); | |
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | try { |
| 101 | - for(LineEditReport line:list) { | |
| 102 | - | |
| 103 | - Field[] field = line.getClass().getDeclaredFields(); | |
| 104 | - | |
| 105 | - for(int j=0 ; j<field.length ; j++){ //遍历所有属性 | |
| 106 | - | |
| 107 | - | |
| 108 | - String name = field[j].getName(); //获取属性的名字 | |
| 109 | - | |
| 110 | - | |
| 111 | - | |
| 112 | - String type = name; | |
| 113 | - name = name.substring(0,1).toUpperCase() + name.substring(1); | |
| 114 | - | |
| 115 | - if(dictMap.get(type) != null) { | |
| 116 | - Method param = line.getClass().getMethod("get"+name); | |
| 117 | - String value = (String) param.invoke(line); | |
| 118 | - if(value != null && value.split(",").length > 0) { | |
| 119 | - String result = ""; | |
| 120 | - for(String str:value.split(",")) { | |
| 121 | - for(DictData d:dictMap.get(type)) { | |
| 122 | - if(d.getDictValue().equals(str)) { | |
| 123 | - result += d.getDictLabel() + ","; | |
| 124 | - } | |
| 125 | - } | |
| 126 | - } | |
| 127 | - Method m = line.getClass().getMethod("set"+name, new Class[] {String.class}); | |
| 128 | - | |
| 129 | - if(!result.isEmpty()) { | |
| 130 | - m.invoke(line,new Object[] {new String(result.substring(0,result.length()-1))}); | |
| 131 | - }else { | |
| 132 | - m.invoke(line,new Object[] {new String(value)}); | |
| 133 | - } | |
| 134 | - } | |
| 135 | - | |
| 101 | + for(LineEditReport line:list) { | |
| 102 | + | |
| 103 | + Field[] field = line.getClass().getDeclaredFields(); | |
| 104 | + | |
| 105 | + for(int j=0 ; j<field.length ; j++){ //遍历所有属性 | |
| 106 | + | |
| 107 | + | |
| 108 | + String name = field[j].getName(); //获取属性的名字 | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + String type = name; | |
| 113 | + name = name.substring(0,1).toUpperCase() + name.substring(1); | |
| 114 | + | |
| 115 | + if(dictMap.get(type) != null) { | |
| 116 | + Method param = line.getClass().getMethod("get"+name); | |
| 117 | + String value = (String) param.invoke(line); | |
| 118 | + if(value != null && value.split(",").length > 0) { | |
| 119 | + String result = ""; | |
| 120 | + for(String str:value.split(",")) { | |
| 121 | + for(DictData d:dictMap.get(type)) { | |
| 122 | + if(d.getDictValue().equals(str)) { | |
| 123 | + result += d.getDictLabel() + ","; | |
| 124 | + } | |
| 125 | + } | |
| 126 | + } | |
| 127 | + Method m = line.getClass().getMethod("set"+name, new Class[] {String.class}); | |
| 128 | + | |
| 129 | + if(!result.isEmpty()) { | |
| 130 | + m.invoke(line,new Object[] {new String(result.substring(0,result.length()-1))}); | |
| 131 | + }else { | |
| 132 | + m.invoke(line,new Object[] {new String(value)}); | |
| 133 | + } | |
| 134 | + } | |
| 135 | + | |
| 136 | + } | |
| 136 | 137 | } |
| 137 | - } | |
| 138 | - } | |
| 138 | + } | |
| 139 | 139 | } catch (Exception e) { |
| 140 | - // TODO Auto-generated catch block | |
| 141 | - e.printStackTrace(); | |
| 142 | - } | |
| 143 | - ExcelUtils e = new ExcelUtils(); | |
| 144 | - String path = this.getClass().getResource("/").getPath() + "static/export/historyReport.xls"; | |
| 145 | - String p = RuoYiConfig.getDownloadPath() + "线路变更台账.xls"; | |
| 146 | - e.excelLineHistoryReport(path, p ,list); | |
| 147 | - | |
| 148 | - return AjaxResult.success("线路变更台账.xls"); | |
| 140 | + // TODO Auto-generated catch block | |
| 141 | + e.printStackTrace(); | |
| 142 | + } | |
| 143 | + | |
| 144 | + | |
| 145 | + ExcelUtil<LineEditReport> util = new ExcelUtil<LineEditReport>(LineEditReport.class); | |
| 146 | + util.setTitles(titles); | |
| 147 | + return util.exportExcel(list, "line"); | |
| 149 | 148 | } |
| 150 | 149 | |
| 151 | 150 | } | ... | ... |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/domain/LineEditReport.java
| ... | ... | @@ -18,30 +18,40 @@ public class LineEditReport extends BaseEntity |
| 18 | 18 | private static final long serialVersionUID = 1L; |
| 19 | 19 | |
| 20 | 20 | private Long id; |
| 21 | - | |
| 21 | + @Excel(name = "线路名称") | |
| 22 | 22 | private String lineName; |
| 23 | 23 | |
| 24 | + @Excel(name = "公司名称") | |
| 24 | 25 | private String company; |
| 25 | 26 | |
| 27 | + @Excel(name = "线路长度") | |
| 26 | 28 | private Long lineDistance; |
| 27 | - | |
| 29 | + | |
| 30 | + @Excel(name = "原线路长度") | |
| 28 | 31 | private Long lineDistanceBefore; |
| 29 | 32 | |
| 33 | + @Excel(name = "起讫站") | |
| 30 | 34 | private String startEnd; |
| 31 | - | |
| 35 | + | |
| 36 | + @Excel(name = "原起讫站") | |
| 32 | 37 | private String startEndBefore; |
| 33 | 38 | |
| 39 | + @Excel(name = "实际配车数") | |
| 34 | 40 | private Long vehiclesNumber; |
| 35 | - | |
| 41 | + | |
| 42 | + @Excel(name = "原配车数") | |
| 36 | 43 | private Long vehiclesNumberBefore; |
| 37 | 44 | |
| 45 | + @Excel(name = "线路总配人数") | |
| 38 | 46 | private Long numberPerson; |
| 39 | - | |
| 47 | + | |
| 48 | + @Excel(name = "原配人数") | |
| 40 | 49 | private Long numberPersonBefore; |
| 41 | 50 | |
| 42 | 51 | @Excel(name = "启用日期", width = 30, dateFormat = "yyyy-MM-dd") |
| 43 | 52 | private Date startDate; |
| 44 | - | |
| 53 | + | |
| 54 | + @Excel(name = "线路性质") | |
| 45 | 55 | private String lineUpdateType; |
| 46 | 56 | |
| 47 | 57 | public Long getId() { | ... | ... |
bsthLineProfiles/src/main/java/com/ruoyi/project/system/line/service/impl/BsthTLineServiceImpl.java
| 1 | 1 | package com.ruoyi.project.system.line.service.impl; |
| 2 | 2 | |
| 3 | +import java.time.LocalDateTime; | |
| 4 | +import java.time.format.DateTimeFormatter; | |
| 3 | 5 | import java.util.ArrayList; |
| 4 | 6 | import java.util.Date; |
| 5 | 7 | import java.util.HashMap; |
| ... | ... | @@ -257,7 +259,12 @@ public class BsthTLineServiceImpl implements IBsthTLineService |
| 257 | 259 | lineEditReport.setStartEndBefore(line.getStartEnd()); |
| 258 | 260 | lineEditReport.setVehiclesNumber(history.getVehiclesNumber()); |
| 259 | 261 | lineEditReport.setNumberPerson(history.getNumberPerson()); |
| 260 | - lineEditReport.setStartDate(history.getStartDate()); | |
| 262 | + if(history.getStartDate()==null){ | |
| 263 | + String date=LocalDateTime.now().format(DateTimeFormatter.ofPattern("yyyy-MM-dd hh:mm:ss")); | |
| 264 | + lineEditReport.setStartDate(new Date(date)); | |
| 265 | + }else { | |
| 266 | + lineEditReport.setStartDate(history.getStartDate()); | |
| 267 | + } | |
| 261 | 268 | lineEditReport.setCreateTime(history.getCreateTime()); |
| 262 | 269 | lineEditReport.setVehiclesNumberBefore(line.getVehiclesNumber()); |
| 263 | 270 | lineEditReport.setNumberPersonBefore(line.getNumberPerson()); |
| ... | ... | @@ -390,21 +397,16 @@ public class BsthTLineServiceImpl implements IBsthTLineService |
| 390 | 397 | return i; |
| 391 | 398 | }else{//变更 |
| 392 | 399 | if("2".equals(bsthTLine.getExamineStatus())){//通过 |
| 393 | - //在历史表记录原始数据 | |
| 400 | + //把新的数据存入历史表等待定时器执行 | |
| 394 | 401 | bsthTLine=bsthTLineMapper.selectBsthTLineExamineById(bsthTLine.getId());//新数据 |
| 395 | 402 | String id=bsthTLine.getId().toString(); |
| 396 | - bl = bsthTLineMapper.selectBsthTLineByNames(new String[]{bsthTLine.getLineName()}).get(0);//原始数据 | |
| 397 | - bl.setCreateBy(bsthTLine.getUpdateBy()); | |
| 398 | - bsthTLineMapper.saveEditHistory(bl); | |
| 399 | - if(bsthTLine.getStartDate() != null) {//设置了启用时间 | |
| 400 | - bsthTLine.setUpdateStatus("1"); | |
| 401 | - bsthTLine.setId(bl.getId()); | |
| 402 | - i=bsthTLineMapper.updateBsthTLineHistory(bsthTLine); | |
| 403 | - }else {//立即启用 | |
| 404 | - i=bsthTLineMapper.updateBsthTLine(bsthTLine); | |
| 405 | - } | |
| 406 | - //删除审核表 | |
| 403 | + bsthTLine.setUpdateStatus("1"); | |
| 404 | + i=bsthTLineMapper.saveEditHistory(bsthTLine); | |
| 405 | + //删除审核表记录 | |
| 407 | 406 | bsthTLineMapper.deleteBsthTLineExamineById(new String[]{id}); |
| 407 | + if(bsthTLine.getStartDate()==null){//未选时间立刻启用 | |
| 408 | + this.updateToLineInfo(bsthTLine.getId().toString()); | |
| 409 | + } | |
| 408 | 410 | }else{//未通过 |
| 409 | 411 | //修改审核表状态 |
| 410 | 412 | bl=new BsthTLine(); | ... | ... |
bsthLineProfiles/src/main/resources/mybatis/mybatis/system/BsthTLineMapper.xml
| ... | ... | @@ -966,7 +966,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| 966 | 966 | <if test="personAvg != null">person_avg = #{personAvg},</if> |
| 967 | 967 | <if test="nightParking != null">night_parking = #{nightParking},</if> |
| 968 | 968 | <if test="files != null">files = #{files},</if> |
| 969 | - <if test="startDate != null">start_date = #{startDate},</if> | |
| 969 | + start_date = #{startDate}, | |
| 970 | 970 | <if test="startReason != null">start_reason = #{startReason},</if> |
| 971 | 971 | <if test="lineUpdateType != null">line_update_type = #{lineUpdateType},</if> |
| 972 | 972 | <if test="revenueType != null">revenue_type = #{revenueType},</if> |
| ... | ... | @@ -1501,8 +1501,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| 1501 | 1501 | <if test="vehiclesNumberBefore != null and vehiclesNumberBefore != ''">and vehicles_number_before = #{vehiclesNumberBefore}</if> |
| 1502 | 1502 | <if test="numberPersonBefore != null and numberPersonBefore != ''">and number_person_before = #{numberPersonBefore}</if> |
| 1503 | 1503 | <if test="createTime != null ">and create_time = #{createTime}</if> |
| 1504 | - <if test="startDate != null ">and start_date > STR_TO_DATE(CONCAT(#{startDate},"-01"),"%Y-%m-%d")</if> | |
| 1505 | - <if test="startDate == null ">and start_date > DATE_FORMAT(sysdate(),"%Y-%m-01")</if> | |
| 1504 | + <if test="startDate != null ">and start_date >= STR_TO_DATE(CONCAT(#{startDate},"-01"),"%Y-%m-%d")</if> | |
| 1506 | 1505 | <if test="lineUpdateType != null and lineUpdateType != ''" >and line_update_type = #{lineUpdateType}</if> |
| 1507 | 1506 | </where> |
| 1508 | 1507 | </select> | ... | ... |
bsthLineProfiles/src/main/resources/static/ruoyi/js/ry-ui.js
bsthLineProfiles/src/main/resources/templates/system/line/detail.html
| ... | ... | @@ -4,652 +4,596 @@ |
| 4 | 4 | <th:block th:include="include :: header('修改【请填写功能名称】')" /> |
| 5 | 5 | <th:block th:include="include :: datetimepicker-css" /> |
| 6 | 6 | <th:block th:include="include :: bootstrap-fileinput-css" /> |
| 7 | +<th:block th:include="include :: bootstrap-select-css" /> | |
| 7 | 8 | </head> |
| 8 | 9 | <body class="white-bg"> |
| 9 | 10 | <div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
| 10 | - <form class="form-horizontal m" id="form-line-edit" | |
| 11 | - th:object="${bsthTLine}"> | |
| 11 | + <form class="form-horizontal m" id="form-line-edit" th:object="${bsthTLine}"> | |
| 12 | 12 | <input name="id" th:field="*{id}" type="hidden"> |
| 13 | + | |
| 13 | 14 | <div class="form-group"> |
| 14 | - <label class="col-sm-3 control-label">线路名称:</label> | |
| 15 | - <div class="col-sm-8"> | |
| 16 | - <input name="lineName" th:field="*{lineName}" class="form-control" disabled | |
| 17 | - type="text"> | |
| 18 | - </div> | |
| 19 | - </div> | |
| 20 | - <div class="form-group"> | |
| 21 | - <label class="col-sm-3 control-label">公司:</label> | |
| 22 | - <div class="col-sm-8"> | |
| 23 | - <input name="company" th:field="*{company}" class="form-control" disabled | |
| 24 | - type="text"> | |
| 25 | - </div> | |
| 26 | - </div> | |
| 27 | - <div class="form-group"> | |
| 28 | - <label class="col-sm-3 control-label">分公司:</label> | |
| 29 | - <div class="col-sm-8"> | |
| 30 | - <input name="fCompany" th:field="*{fCompany}" class="form-control" disabled | |
| 31 | - type="text"> | |
| 32 | - </div> | |
| 33 | - </div> | |
| 34 | - <div class="form-group"> | |
| 35 | - <label class="col-sm-3 control-label">主线路id:</label> | |
| 36 | - <div class="col-sm-8"> | |
| 37 | - <input name="pLineId" th:field="*{pLineId}" class="form-control" disabled | |
| 38 | - type="text"> | |
| 39 | - </div> | |
| 15 | + <span id="lineName" display="none"> | |
| 16 | + <label class="col-sm-1 control-label">线路名称:</label> | |
| 17 | + <div class="col-sm-2"> | |
| 18 | + <input name="lineName" th:field="*{lineName}" class="form-control" type="text" disabled> | |
| 19 | + </div> | |
| 20 | + </span> | |
| 21 | + <!----------------------------------> | |
| 22 | + <span id="pLineId"> | |
| 23 | + <label class="col-sm-1 control-label">主线路id:</label> | |
| 24 | + <div class="col-sm-2"> | |
| 25 | + <input name="pLineId" th:field="*{pLineId}" class="form-control" type="text" disabled> | |
| 26 | + </div> | |
| 27 | + </span> | |
| 28 | + <!----------------------------------> | |
| 29 | + <span id="company"> | |
| 30 | + <label class="col-sm-1 control-label">公司:</label> | |
| 31 | + <div class="col-sm-2"> | |
| 32 | + <input name="company" th:field="*{company}" class="form-control" type="text" disabled> | |
| 33 | + </div> | |
| 34 | + </span> | |
| 35 | + <!----------------------------------> | |
| 36 | + <span id="fCompany"> | |
| 37 | + <label class="col-sm-1 control-label">分公司:</label> | |
| 38 | + <div class="col-sm-2"> | |
| 39 | + <input name="fCompany" th:field="*{fCompany}" class="form-control" type="text" disabled> | |
| 40 | + </div> | |
| 41 | + </span> | |
| 40 | 42 | </div> |
| 43 | + | |
| 41 | 44 | <div class="form-group"> |
| 42 | - <label class="col-sm-3 control-label">营运方式:</label> | |
| 43 | - <div class="col-sm-8"> | |
| 44 | - <select name="serviceType" disabled | |
| 45 | - th:with="type=${@dict.getType('serviceType')}" | |
| 46 | - class="form-control m-b"> | |
| 45 | + <span id="serviceType"> | |
| 46 | + <label class="col-sm-1 control-label">营运方式:</label> | |
| 47 | + <div class="col-sm-2"> | |
| 48 | + <select name="serviceType" th:with="type=${@dict.getType('serviceType')}" class="form-control m-b" disabled> | |
| 47 | 49 | <option value=""></option> |
| 48 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 49 | - th:value="${dict.dictValue}" | |
| 50 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceType== null ? '' : bsthTLine.serviceType),#strings.toString(dict.dictValue))}"></option> | |
| 50 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 51 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceType== null ? '' : bsthTLine.serviceType),#strings.toString(dict.dictValue))}"> | |
| 52 | + </option> | |
| 51 | 53 | </select> |
| 52 | 54 | </div> |
| 53 | - </div> | |
| 54 | - <div class="form-group"> | |
| 55 | - <label class="col-sm-3 control-label">线路属性:</label> | |
| 56 | - <div class="col-sm-8"> | |
| 57 | - <select name="lineLevel" disabled | |
| 58 | - th:with="type=${@dict.getType('lineLevel')}" | |
| 59 | - class="form-control m-b"> | |
| 55 | + </span> | |
| 56 | + <!----------------------------------> | |
| 57 | + <span id="lineLevel"> | |
| 58 | + <label class="col-sm-1 control-label">线路属性:</label> | |
| 59 | + <div class="col-sm-2"> | |
| 60 | + <select name="lineLevel" th:with="type=${@dict.getType('lineLevel')}" class="form-control m-b" disabled> | |
| 60 | 61 | <option value=""></option> |
| 61 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 62 | - th:value="${dict.dictValue}" | |
| 63 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineLevel== null ? '' : bsthTLine.lineLevel),#strings.toString(dict.dictValue))}"></option> | |
| 62 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 63 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineLevel== null ? '' : bsthTLine.lineLevel),#strings.toString(dict.dictValue))}"> | |
| 64 | + </option> | |
| 64 | 65 | </select> |
| 65 | 66 | </div> |
| 66 | - </div> | |
| 67 | - <div class="form-group"> | |
| 68 | - <label class="col-sm-3 control-label">线路类型:</label> | |
| 69 | - <div class="col-sm-8"> | |
| 70 | - <select name="lineType" disabled th:with="type=${@dict.getType('lineType')}" | |
| 71 | - class="form-control m-b"> | |
| 67 | + </span> | |
| 68 | + <!----------------------------------> | |
| 69 | + <span id="lineType"> | |
| 70 | + <label class="col-sm-1 control-label">线路类型:</label> | |
| 71 | + <div class="col-sm-2"> | |
| 72 | + <select name="lineType" th:with="type=${@dict.getType('lineType')}" class="form-control m-b" disabled> | |
| 72 | 73 | <option value=""></option> |
| 73 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 74 | - th:value="${dict.dictValue}" | |
| 75 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineType== null ? '' : bsthTLine.lineType),#strings.toString(dict.dictValue))}"></option> | |
| 74 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 75 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineType== null ? '' : bsthTLine.lineType),#strings.toString(dict.dictValue))}"> | |
| 76 | + </option> | |
| 76 | 77 | </select> |
| 77 | 78 | </div> |
| 79 | + </span> | |
| 80 | + <!----------------------------------> | |
| 81 | + <span id="roadType"> | |
| 82 | + <label class="col-sm-1 control-label">道路类型:</label> | |
| 83 | + <div class="col-sm-2" > | |
| 84 | + <!--data-max-options="2" 限制多选数量--> | |
| 85 | + <select name="roadType" th:with="type=${@dict.getType('roadType')}" class="selectpicker form-control" multiple title="" disabled> | |
| 86 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 87 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.roadType== null ? '' : bsthTLine.roadType),#strings.toString(dict.dictValue))}"> | |
| 88 | + </option> | |
| 89 | + </select> | |
| 90 | + </div></span> | |
| 78 | 91 | </div> |
| 79 | - <div class="form-group"> | |
| 80 | - <label class="col-sm-3 control-label">区属:</label> | |
| 81 | - <div class="col-sm-8"> | |
| 82 | 92 | |
| 83 | - <select name="district" th:with="type=${@dict.getType('district')}" disabled | |
| 84 | - class="form-control m-b"> | |
| 93 | + <div class="form-group"> | |
| 94 | + <span id="district"> | |
| 95 | + <label class="col-sm-1 control-label">区属:</label> | |
| 96 | + <div class="col-sm-2"> | |
| 97 | + <select name="district" th:with="type=${@dict.getType('district')}" class="form-control m-b" disabled> | |
| 85 | 98 | <option value=""></option> |
| 86 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 87 | - th:value="${dict.dictValue}" | |
| 88 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.district== null ? '' : bsthTLine.district),#strings.toString(dict.dictValue))}"></option> | |
| 99 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 100 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.district== null ? '' : bsthTLine.district),#strings.toString(dict.dictValue))}"></option> | |
| 89 | 101 | </select> |
| 90 | 102 | </div> |
| 91 | - </div> | |
| 92 | - <div class="form-group"> | |
| 93 | - <label class="col-sm-3 control-label">是否区内:</label> | |
| 94 | - <div class="col-sm-8"> | |
| 95 | - <select name="inoutDistrict" disabled | |
| 96 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 97 | - class="form-control m-b"> | |
| 103 | + </span> | |
| 104 | + <!----------------------------------> | |
| 105 | + <span id="inoutDistrict"> | |
| 106 | + <label class="col-sm-1 control-label">是否区内:</label> | |
| 107 | + <div class="col-sm-2"> | |
| 108 | + <select name="inoutDistrict" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b" disabled> | |
| 98 | 109 | <option value=""></option> |
| 99 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 100 | - th:value="${dict.dictValue}" | |
| 101 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.inoutDistrict== null ? '' : bsthTLine.inoutDistrict),#strings.toString(dict.dictValue))}"></option> | |
| 110 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 111 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.inoutDistrict== null ? '' : bsthTLine.inoutDistrict),#strings.toString(dict.dictValue))}"></option> | |
| 112 | + </select> | |
| 113 | + </div></span> | |
| 114 | + <!----------------------------------> | |
| 115 | + <span id="busType"> | |
| 116 | + <label class="col-sm-1 control-label">车辆类型:</label> | |
| 117 | + <div class="col-sm-2" th:with="type=${@dict.getType('busType')}"> | |
| 118 | + <!--data-max-options="2" 限制多选数量--> | |
| 119 | + <select name="busType" th:with="type=${@dict.getType('busType')}" class="selectpicker form-control" multiple title="" disabled > | |
| 120 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 121 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.busType== null ? '' : bsthTLine.busType),#strings.toString(dict.dictValue))}"> | |
| 122 | + </option> | |
| 102 | 123 | </select> |
| 103 | 124 | </div> |
| 104 | - </div> | |
| 105 | - <div class="form-group"> | |
| 106 | - <label class="col-sm-3 control-label">营运状态:</label> | |
| 107 | - <div class="col-sm-8"> | |
| 108 | - | |
| 109 | - <select name="serviceState" disabled | |
| 110 | - th:with="type=${@dict.getType('serviceState')}" | |
| 111 | - class="form-control m-b"> | |
| 125 | + </span> | |
| 126 | + <!----------------------------------> | |
| 127 | + <span id="airConditionerType"> | |
| 128 | + <label class="col-sm-1 control-label">是否空调:</label> | |
| 129 | + <div class="col-sm-2"> | |
| 130 | + <select name="airConditionerType" th:with="type=${@dict.getType('airConditionerType')}" class="form-control m-b" disabled> | |
| 112 | 131 | <option value=""></option> |
| 113 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 114 | - th:value="${dict.dictValue}" | |
| 115 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option> | |
| 132 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 133 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.airConditionerType == null ? '' : bsthTLine.airConditionerType ),#strings.toString(dict.dictValue))}"></option> | |
| 116 | 134 | </select> |
| 117 | 135 | </div> |
| 136 | + </span> | |
| 118 | 137 | </div> |
| 119 | - <div class="form-group"> | |
| 120 | - <label class="col-sm-3 control-label">车辆类型:</label> | |
| 121 | - <div class="col-sm-8" th:with="type=${@dict.getType('busType')}"> | |
| 122 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 123 | - style="display: block"> <input type="checkbox" disabled | |
| 124 | - name="busType" | |
| 125 | - th:checked="${#arrays.contains(#strings.arraySplit(bsthTLine.busType == null ? '' : bsthTLine.busType ,','),#strings.toString(dict.dictValue))}" | |
| 126 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /></label> | |
| 127 | - </div> | |
| 128 | - </div> | |
| 129 | - <div class="form-group"> | |
| 130 | - <label class="col-sm-3 control-label">是否空调:</label> | |
| 131 | - <div class="col-sm-8"> | |
| 132 | 138 | |
| 133 | - <select name="airConditionerType" disabled | |
| 134 | - th:with="type=${@dict.getType('airConditionerType')}" | |
| 135 | - class="form-control m-b"> | |
| 139 | + <div class="form-group"> | |
| 140 | + <span id="sellTicketType"> | |
| 141 | + <label class="col-sm-1 control-label">售票类型:</label> | |
| 142 | + <div class="col-sm-2"> | |
| 143 | + <select name="sellTicketType" th:with="type=${@dict.getType('sellTicketType')}" class="form-control m-b" disabled> | |
| 136 | 144 | <option value=""></option> |
| 137 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 138 | - th:value="${dict.dictValue}" | |
| 139 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.airConditionerType == null ? '' : bsthTLine.airConditionerType ),#strings.toString(dict.dictValue))}"></option> | |
| 145 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 146 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.sellTicketType == null ? '' : bsthTLine.sellTicketType),#strings.toString(dict.dictValue))}"></option> | |
| 140 | 147 | </select> |
| 141 | 148 | </div> |
| 142 | - </div> | |
| 143 | - <div class="form-group"> | |
| 144 | - <label class="col-sm-3 control-label">售票类型:</label> | |
| 145 | - <div class="col-sm-8"> | |
| 146 | - <select name="sellTicketType" disabled | |
| 147 | - th:with="type=${@dict.getType('sellTicketType')}" | |
| 148 | - class="form-control m-b"> | |
| 149 | - <option value=""></option> | |
| 150 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 151 | - th:value="${dict.dictValue}" | |
| 152 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.sellTicketType == null ? '' : bsthTLine.sellTicketType),#strings.toString(dict.dictValue))}"></option> | |
| 149 | + </span> | |
| 150 | + <!----------------------------------> | |
| 151 | + <span id="ticketPrice"> | |
| 152 | + <label class="col-sm-1 control-label">票价:</label> | |
| 153 | + <div class="col-sm-2" th:with="type=${@dict.getType('ticketPrice')}"> | |
| 154 | + <!--data-max-options="2" 限制多选数量--> | |
| 155 | + <select name="ticketPrice" th:with="type=${@dict.getType('ticketPrice')}" class="selectpicker form-control" multiple title="" disabled > | |
| 156 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 157 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.ticketPrice== null ? '' : bsthTLine.ticketPrice),#strings.toString(dict.dictValue))}"> | |
| 158 | + </option> | |
| 153 | 159 | </select> |
| 154 | 160 | </div> |
| 155 | - </div> | |
| 156 | - <div class="form-group"> | |
| 157 | - <label class="col-sm-3 control-label">运营时间:</label> | |
| 158 | - <div class="col-sm-8"> | |
| 159 | - <select name="serviceTime" disabled | |
| 160 | - th:with="type=${@dict.getType('serviceTime')}" | |
| 161 | - class="form-control m-b"> | |
| 161 | + </span> | |
| 162 | + <!----------------------------------> | |
| 163 | + <span id="serviceTime"> | |
| 164 | + <label class="col-sm-1 control-label">运营时间:</label> | |
| 165 | + <div class="col-sm-2"> | |
| 166 | + <select name="serviceTime" th:with="type=${@dict.getType('serviceTime')}" class="form-control m-b" disabled> | |
| 162 | 167 | <option value=""></option> |
| 163 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 164 | - th:value="${dict.dictValue}" | |
| 165 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceTime== null ? '' : bsthTLine.serviceTime),#strings.toString(dict.dictValue))}"></option> | |
| 168 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 169 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceTime== null ? '' : bsthTLine.serviceTime),#strings.toString(dict.dictValue))}"></option> | |
| 166 | 170 | </select> |
| 167 | 171 | </div> |
| 172 | + </span> | |
| 173 | + <!----------------------------------> | |
| 174 | + <span id="lineCode"> | |
| 175 | + <label class="col-sm-1 control-label">线路编码:</label> | |
| 176 | + <div class="col-sm-2"> | |
| 177 | + <input name="lineCode" th:field="*{lineCode}" class="form-control" type="text" disabled> | |
| 178 | + </div></span> | |
| 168 | 179 | </div> |
| 180 | + | |
| 169 | 181 | <div class="form-group"> |
| 170 | - <label class="col-sm-3 control-label">线路长度:</label> | |
| 171 | - <div class="col-sm-8"> | |
| 172 | - <input name="lineDistance" th:field="*{lineDistance}" disabled | |
| 173 | - class="form-control" type="text"> | |
| 182 | + <span id="lineDistance"> | |
| 183 | + <label class="col-sm-1 control-label">线路长度:</label> | |
| 184 | + <div class="col-sm-2"> | |
| 185 | + <input name="lineDistance" th:field="*{lineDistance}" class="form-control" type="text" disabled> | |
| 174 | 186 | </div> |
| 175 | - </div> | |
| 176 | - <div class="form-group"> | |
| 177 | - <label class="col-sm-3 control-label">线路编码:</label> | |
| 178 | - <div class="col-sm-8"> | |
| 179 | - <input name="lineCode" th:field="*{lineCode}" class="form-control" disabled | |
| 180 | - type="text"> | |
| 187 | + </span> | |
| 188 | + <!----------------------------------> | |
| 189 | + <span id="firstStation"> | |
| 190 | + <label class="col-sm-1 control-label">首站:</label> | |
| 191 | + <div class="col-sm-2"> | |
| 192 | + <input name="firstStation" th:field="*{firstStation}" class="form-control" type="text" disabled> | |
| 181 | 193 | </div> |
| 182 | - </div> | |
| 183 | - <div class="form-group"> | |
| 184 | - <label class="col-sm-3 control-label">授权年限:</label> | |
| 185 | - <div class="col-sm-8"> | |
| 186 | - <input name="warrantYear" th:field="*{warrantYear}" disabled | |
| 187 | - class="form-control" type="text"> | |
| 194 | + </span> | |
| 195 | + <!----------------------------------> | |
| 196 | + <span id="lastStation"> | |
| 197 | + <label class="col-sm-1 control-label">末站:</label> | |
| 198 | + <div class="col-sm-2"> | |
| 199 | + <input name="lastStation" th:field="*{lastStation}" class="form-control" type="text" disabled> | |
| 188 | 200 | </div> |
| 201 | + </span> | |
| 202 | + <!----------------------------------> | |
| 203 | + <span id="startEnd"> | |
| 204 | + <label class="col-sm-1 control-label">起讫站:</label> | |
| 205 | + <div class="col-sm-2"> | |
| 206 | + <input name="startEnd" th:field="*{startEnd}" class="form-control" type="text" disabled> | |
| 207 | + </div> | |
| 208 | + </span> | |
| 189 | 209 | </div> |
| 210 | + | |
| 190 | 211 | <div class="form-group"> |
| 191 | - <label class="col-sm-3 control-label">授权起始日期:</label> | |
| 192 | - <div class="col-sm-8"> | |
| 212 | + <span id="halfwayStation"> | |
| 213 | + <label class="col-sm-1 control-label">站点名称:</label> | |
| 214 | + <div class="col-sm-2"> | |
| 215 | + <textarea name="halfwayStation" class="form-control" disabled>[[*{halfwayStation}]]</textarea> | |
| 216 | + </div></span> | |
| 217 | + <!----------------------------------> | |
| 218 | + <span id="directions"> | |
| 219 | + <label class="col-sm-1 control-label">线路走向:</label> | |
| 220 | + <div class="col-sm-2"> | |
| 221 | + <textarea name="directions" class="form-control" disabled>[[*{directions}]]</textarea> | |
| 222 | + </div></span> | |
| 223 | + <!----------------------------------> | |
| 224 | + <span id="firstTime"> | |
| 225 | + <label class="col-sm-1 control-label">首战时间:</label> | |
| 226 | + <div class="col-sm-2"> | |
| 227 | + <input name="firstTime" th:field="*{firstTime}" class="form-control" type="text" disabled> | |
| 228 | + </div></span> | |
| 229 | + <!----------------------------------> | |
| 230 | + <span id="lastTime"> | |
| 231 | + <label class="col-sm-1 control-label">末站首战时间:</label> | |
| 232 | + <div class="col-sm-2"> | |
| 233 | + <input name="lastTime" th:field="*{lastTime}" class="form-control" type="text" disabled> | |
| 234 | + </div></span> | |
| 235 | + </div> | |
| 236 | + | |
| 237 | + <div class="form-group"> | |
| 238 | + <span id="park"> | |
| 239 | + <label class="col-sm-1 control-label">停车场:</label> | |
| 240 | + <div class="col-sm-2"> | |
| 241 | + <input name="park" th:field="*{park}" class="form-control" type="text" disabled> | |
| 242 | + </div></span> | |
| 243 | + <!----------------------------------> | |
| 244 | + <span id="warrantYear"> | |
| 245 | + <label class="col-sm-1 control-label">授权年限:</label> | |
| 246 | + <div class="col-sm-2"> | |
| 247 | + <input name="warrantYear" th:field="*{warrantYear}" class="form-control" type="text" disabled> | |
| 248 | + </div></span> | |
| 249 | + <!----------------------------------> | |
| 250 | + <span id="warrantStartTime"> | |
| 251 | + <label class="col-sm-1 control-label">授权起始日期:</label> | |
| 252 | + <div class="col-sm-2"> | |
| 193 | 253 | <div class="input-group date"> |
| 194 | - <input name="warrantStartTime" | |
| 195 | - th:value="${#dates.format(bsthTLine.warrantStartTime, 'yyyy-MM-dd')}" disabled | |
| 196 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 197 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 198 | - class="fa fa-calendar"></i></span> | |
| 254 | + <input name="warrantStartTime" th:value="${#dates.format(bsthTLine.warrantStartTime, 'yyyy-MM-dd')}" | |
| 255 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 256 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 199 | 257 | </div> |
| 200 | - </div> | |
| 201 | - </div> | |
| 202 | - <div class="form-group"> | |
| 203 | - <label class="col-sm-3 control-label">授权结束日期:</label> | |
| 204 | - <div class="col-sm-8"> | |
| 258 | + </div></span> | |
| 259 | + <!----------------------------------> | |
| 260 | + <span id="warrantEndTime"> | |
| 261 | + <label class="col-sm-1 control-label">授权结束日期:</label> | |
| 262 | + <div class="col-sm-2"> | |
| 205 | 263 | <div class="input-group date"> |
| 206 | - <input name="warrantEndTime" | |
| 207 | - th:value="${#dates.format(bsthTLine.warrantEndTime, 'yyyy-MM-dd')}" disabled | |
| 208 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 209 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 210 | - class="fa fa-calendar"></i></span> | |
| 264 | + <input name="warrantEndTime" th:value="${#dates.format(bsthTLine.warrantEndTime, 'yyyy-MM-dd')}" | |
| 265 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 266 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 211 | 267 | </div> |
| 212 | 268 | </div> |
| 269 | + </span> | |
| 213 | 270 | </div> |
| 271 | + | |
| 214 | 272 | <div class="form-group"> |
| 215 | - <label class="col-sm-3 control-label">撤销日期:</label> | |
| 216 | - <div class="col-sm-8"> | |
| 273 | + <span id="planCancelTime"> | |
| 274 | + <label class="col-sm-1 control-label">撤销日期:</label> | |
| 275 | + <div class="col-sm-2"> | |
| 217 | 276 | <div class="input-group date"> |
| 218 | - <input name="planCancelTime" | |
| 219 | - th:value="${#dates.format(bsthTLine.planCancelTime, 'yyyy-MM-dd')}" disabled | |
| 220 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 221 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 222 | - class="fa fa-calendar"></i></span> | |
| 277 | + <input name="planCancelTime" th:value="${#dates.format(bsthTLine.planCancelTime, 'yyyy-MM-dd')}" | |
| 278 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 279 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 223 | 280 | </div> |
| 224 | - </div> | |
| 225 | - </div> | |
| 226 | - <div class="form-group"> | |
| 227 | - <label class="col-sm-3 control-label">实际撤销日期:</label> | |
| 228 | - <div class="col-sm-8"> | |
| 281 | + </div></span> | |
| 282 | + <!----------------------------------> | |
| 283 | + <span id="cancelTime"> | |
| 284 | + <label class="col-sm-1 control-label">实际撤销日期:</label> | |
| 285 | + <div class="col-sm-2"> | |
| 229 | 286 | <div class="input-group date"> |
| 230 | - <input name="cancelTime" | |
| 231 | - th:value="${#dates.format(bsthTLine.cancelTime, 'yyyy-MM-dd')}" disabled | |
| 232 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 233 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 234 | - class="fa fa-calendar"></i></span> | |
| 287 | + <input name="cancelTime" th:value="${#dates.format(bsthTLine.cancelTime, 'yyyy-MM-dd')}" | |
| 288 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 289 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 235 | 290 | </div> |
| 236 | - </div> | |
| 237 | - </div> | |
| 238 | - <div class="form-group"> | |
| 239 | - <label class="col-sm-3 control-label">撤销原因:</label> | |
| 240 | - <div class="col-sm-8"> | |
| 291 | + </div></span> | |
| 292 | + <!----------------------------------> | |
| 293 | + <span id="cancelReason"> | |
| 294 | + <label class="col-sm-1 control-label">撤销原因:</label> | |
| 295 | + <div class="col-sm-2"> | |
| 241 | 296 | <textarea name="cancelReason" class="form-control" disabled>[[*{cancelReason}]]</textarea> |
| 242 | - </div> | |
| 243 | - </div> | |
| 244 | - <div class="form-group"> | |
| 245 | - <label class="col-sm-3 control-label">备注:</label> | |
| 246 | - <div class="col-sm-8"> | |
| 247 | - <textarea name="remark" class="form-control" disabled>[[*{remark}]]</textarea> | |
| 248 | - </div> | |
| 249 | - </div> | |
| 250 | - <div class="form-group"> | |
| 251 | - <label class="col-sm-3 control-label">是否逻辑删除:</label> | |
| 252 | - <div class="col-sm-8"> | |
| 253 | - | |
| 254 | - <select name="isLogicDelete" disabled | |
| 255 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 256 | - class="form-control m-b"> | |
| 257 | - <option value=""></option> | |
| 258 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 259 | - th:value="${dict.dictValue}" | |
| 260 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.isLogicDelete== null ? '' : bsthTLine.isLogicDelete),#strings.toString(dict.dictValue))}"></option> | |
| 261 | - </select> | |
| 262 | - </div> | |
| 263 | - </div> | |
| 264 | - <div class="form-group"> | |
| 265 | - <label class="col-sm-3 control-label">行车作业计划表报备时间:</label> | |
| 266 | - <div class="col-sm-8"> | |
| 297 | + </div></span> | |
| 298 | + <!----------------------------------> | |
| 299 | + <span id="timeSchedule"> | |
| 300 | + <label class="col-sm-1 control-label">行车作业计划表报备时间:</label> | |
| 301 | + <div class="col-sm-2"> | |
| 267 | 302 | <div class="input-group date"> |
| 268 | - <input name="timeSchedule" disabled | |
| 269 | - th:value="${#dates.format(bsthTLine.timeSchedule, 'yyyy-MM-dd')}" | |
| 270 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 271 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 272 | - class="fa fa-calendar"></i></span> | |
| 303 | + <input name="timeSchedule" th:value="${#dates.format(bsthTLine.timeSchedule, 'yyyy-MM-dd')}" | |
| 304 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 305 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 273 | 306 | </div> |
| 274 | - </div> | |
| 275 | - </div> | |
| 276 | - <div class="form-group"> | |
| 277 | - <label class="col-sm-3 control-label">停车场:</label> | |
| 278 | - <div class="col-sm-8"> | |
| 279 | - <input name="park" th:field="*{park}" class="form-control" disabled | |
| 280 | - type="text"> | |
| 281 | - </div> | |
| 307 | + </div></span> | |
| 282 | 308 | </div> |
| 309 | + | |
| 283 | 310 | <div class="form-group"> |
| 284 | - <label class="col-sm-3 control-label">是否权证:</label> | |
| 285 | - <div class="col-sm-8"> | |
| 286 | - <select name="isWarrant" id="isWarrant" disabled | |
| 287 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 288 | - class="form-control m-b"> | |
| 289 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 290 | - th:value="${dict.dictValue}" | |
| 291 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option> | |
| 311 | + <span id="isWarrant"> | |
| 312 | + <label class="col-sm-1 control-label">是否权证:</label> | |
| 313 | + <div class="col-sm-2"> | |
| 314 | + <select name="isWarrant" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b" disabled> | |
| 315 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 316 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option> | |
| 292 | 317 | </select> |
| 293 | - </div> | |
| 294 | - </div> | |
| 295 | - <div class="form-group"> | |
| 296 | - <label class="col-sm-3 control-label">权证开通日期:</label> | |
| 297 | - <div class="col-sm-8"> | |
| 318 | + </div></span> | |
| 319 | + <!----------------------------------> | |
| 320 | + <span id="isWarrantStartTime"> | |
| 321 | + <label class="col-sm-1 control-label">权证开通日期:</label> | |
| 322 | + <div class="col-sm-2"> | |
| 298 | 323 | <div class="input-group date"> |
| 299 | - <input name="isWarrantStartTime" id="isWarrantStartTime" disabled | |
| 300 | - th:value="${#dates.format(bsthTLine.isWarrantStartTime, 'yyyy-MM-dd')}" | |
| 301 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 302 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 303 | - class="fa fa-calendar"></i></span> | |
| 324 | + <input name="isWarrantStartTime" th:value="${#dates.format(bsthTLine.isWarrantStartTime, 'yyyy-MM-dd')}" | |
| 325 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 326 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 304 | 327 | </div> |
| 305 | - | |
| 306 | - </div> | |
| 307 | - </div> | |
| 308 | - <div class="form-group"> | |
| 309 | - <label class="col-sm-3 control-label">权证到期日期:</label> | |
| 310 | - <div class="col-sm-8"> | |
| 328 | + </div></span> | |
| 329 | + <!----------------------------------> | |
| 330 | + <span id="isWarrantEndTime"> | |
| 331 | + <label class="col-sm-1 control-label">权证到期日期:</label> | |
| 332 | + <div class="col-sm-2"> | |
| 311 | 333 | <div class="input-group date"> |
| 312 | - <input name="isWarrantEndTime" id="isWarrantEndTime" disabled | |
| 313 | - th:value="${#dates.format(bsthTLine.isWarrantEndTime, 'yyyy-MM-dd')}" | |
| 314 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 315 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 316 | - class="fa fa-calendar"></i></span> | |
| 317 | - </div> | |
| 318 | - | |
| 319 | - </div> | |
| 320 | - </div> | |
| 321 | - <div class="form-group"> | |
| 322 | - <label class="col-sm-3 control-label">道路类型:</label> | |
| 323 | - <div class="col-sm-8"> | |
| 324 | - <div class="col-sm-8" th:with="type=${@dict.getType('roadType')}"> | |
| 325 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 326 | - style="display: block"> <input type="checkbox" | |
| 327 | - name="roadType" disabled | |
| 328 | - th:checked="${#arrays.contains(#strings.arraySplit(bsthTLine.roadType == null ? '' : bsthTLine.roadType ,','),#strings.toString(dict.dictValue))}" | |
| 329 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /></label> | |
| 334 | + <input name="isWarrantEndTime" th:value="${#dates.format(bsthTLine.isWarrantEndTime, 'yyyy-MM-dd')}" | |
| 335 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 336 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 330 | 337 | </div> |
| 331 | - </div> | |
| 332 | - </div> | |
| 333 | - <div class="form-group"> | |
| 334 | - <label class="col-sm-3 control-label">票价(多级票价用 - 隔开):</label> | |
| 335 | - <div class="col-sm-8"> | |
| 336 | - <input name="ticketPrice" th:field="*{ticketPrice}" disabled | |
| 337 | - class="form-control" type="text"> | |
| 338 | - </div> | |
| 339 | - </div> | |
| 340 | - <div class="form-group"> | |
| 341 | - <label class="col-sm-3 control-label">首站:</label> | |
| 342 | - <div class="col-sm-8"> | |
| 343 | - <input name="firstStation" th:field="*{firstStation}" disabled | |
| 344 | - class="form-control" type="text"> | |
| 345 | - </div> | |
| 346 | - </div> | |
| 347 | - <div class="form-group"> | |
| 348 | - <label class="col-sm-3 control-label">起讫站:</label> | |
| 349 | - <div class="col-sm-8"> | |
| 350 | - <input name="startEnd" th:field="*{startEnd}" class="form-control" disabled | |
| 351 | - type="text"> | |
| 352 | - </div> | |
| 353 | - </div> | |
| 354 | - <div class="form-group"> | |
| 355 | - <label class="col-sm-3 control-label">首战时间:</label> | |
| 356 | - <div class="col-sm-8"> | |
| 357 | - <input name="firstTime" th:field="*{firstTime}" disabled | |
| 358 | - class="form-control" type="text"> | |
| 359 | - </div> | |
| 360 | - </div> | |
| 361 | - <div class="form-group"> | |
| 362 | - <label class="col-sm-3 control-label">末站:</label> | |
| 363 | - <div class="col-sm-8"> | |
| 364 | - <input name="lastStation" th:field="*{lastStation}" disabled | |
| 365 | - class="form-control" type="text"> | |
| 366 | - </div> | |
| 367 | - </div> | |
| 368 | - <div class="form-group"> | |
| 369 | - <label class="col-sm-3 control-label">末站首战时间:</label> | |
| 370 | - <div class="col-sm-8"> | |
| 371 | - <input name="lastTime" th:field="*{lastTime}" class="form-control" disabled | |
| 372 | - type="text"> | |
| 373 | - </div> | |
| 374 | - </div> | |
| 375 | - <div class="form-group"> | |
| 376 | - <label class="col-sm-3 control-label">上行里程数:</label> | |
| 377 | - <div class="col-sm-8"> | |
| 378 | - <input name="mileageUp" th:field="*{mileageUp}" disabled | |
| 379 | - class="form-control" type="text"> | |
| 380 | - </div> | |
| 381 | - </div> | |
| 382 | - <div class="form-group"> | |
| 383 | - <label class="col-sm-3 control-label">下行里程数:</label> | |
| 384 | - <div class="col-sm-8"> | |
| 385 | - <input name="mileageDown" th:field="*{mileageDown}" disabled | |
| 386 | - class="form-control" type="text"> | |
| 387 | - </div> | |
| 388 | - </div> | |
| 389 | - <div class="form-group"> | |
| 390 | - <label class="col-sm-3 control-label">平均里程数:</label> | |
| 391 | - <div class="col-sm-8"> | |
| 392 | - <input name="averageMileage" th:field="*{averageMileage}" disabled | |
| 393 | - class="form-control" type="text"> | |
| 394 | - </div> | |
| 395 | - </div> | |
| 396 | - <div class="form-group"> | |
| 397 | - <label class="col-sm-3 control-label">站级数(上行):</label> | |
| 398 | - <div class="col-sm-8"> | |
| 399 | - <input name="stationUp" th:field="*{stationUp}" disabled | |
| 400 | - class="form-control" type="text"> | |
| 401 | - </div> | |
| 402 | - </div> | |
| 403 | - <div class="form-group"> | |
| 404 | - <label class="col-sm-3 control-label">站级数(下行):</label> | |
| 405 | - <div class="col-sm-8"> | |
| 406 | - <input name="stationDown" th:field="*{stationDown}" disabled | |
| 407 | - class="form-control" type="text"> | |
| 408 | - </div> | |
| 409 | - </div> | |
| 410 | - <div class="form-group"> | |
| 411 | - <label class="col-sm-3 control-label">行驶时间(上行):</label> | |
| 412 | - <div class="col-sm-8"> | |
| 413 | - <input name="travelTimeUp" th:field="*{travelTimeUp}" disabled | |
| 414 | - class="form-control" type="text"> | |
| 415 | - </div> | |
| 416 | - </div> | |
| 417 | - <div class="form-group"> | |
| 418 | - <label class="col-sm-3 control-label">行驶时间(下行):</label> | |
| 419 | - <div class="col-sm-8"> | |
| 420 | - <input name="travelTimeDown" th:field="*{travelTimeDown}" disabled | |
| 421 | - class="form-control" type="text"> | |
| 422 | - </div> | |
| 423 | - </div> | |
| 424 | - <div class="form-group"> | |
| 425 | - <label class="col-sm-3 control-label">行驶间隔(高峰):</label> | |
| 426 | - <div class="col-sm-8"> | |
| 427 | - <input name="travelIntervalUp" th:field="*{travelIntervalUp}" disabled | |
| 428 | - class="form-control" type="text"> | |
| 429 | - </div> | |
| 430 | - </div> | |
| 431 | - <div class="form-group"> | |
| 432 | - <label class="col-sm-3 control-label">行驶间隔(低谷):</label> | |
| 433 | - <div class="col-sm-8"> | |
| 434 | - <input name="travelIntervalDown" th:field="*{travelIntervalDown}" disabled | |
| 435 | - class="form-control" type="text"> | |
| 436 | - </div> | |
| 437 | - </div> | |
| 438 | - <div class="form-group"> | |
| 439 | - <label class="col-sm-3 control-label">经营权证(大巴):</label> | |
| 440 | - <div class="col-sm-8"> | |
| 441 | - <input name="warrantVehiclesLarge" | |
| 442 | - th:field="*{warrantVehiclesLarge}" class="form-control" disabled | |
| 443 | - type="text"> | |
| 444 | - </div> | |
| 445 | - </div> | |
| 446 | - <div class="form-group"> | |
| 447 | - <label class="col-sm-3 control-label">经营权证(中巴):</label> | |
| 448 | - <div class="col-sm-8"> | |
| 449 | - <input name="warrantVehiclesMiddle" | |
| 450 | - th:field="*{warrantVehiclesMiddle}" class="form-control" disabled | |
| 451 | - type="text"> | |
| 452 | - </div> | |
| 453 | - </div> | |
| 454 | - <div class="form-group"> | |
| 455 | - <label class="col-sm-3 control-label">实际配车数:</label> | |
| 456 | - <div class="col-sm-8"> | |
| 457 | - <input name="vehiclesNumber" th:field="*{vehiclesNumber}" disabled | |
| 458 | - class="form-control" type="text"> | |
| 459 | - </div> | |
| 460 | - </div> | |
| 461 | - <div class="form-group"> | |
| 462 | - <label class="col-sm-3 control-label">实际车辆数(大巴):</label> | |
| 463 | - <div class="col-sm-8"> | |
| 464 | - <input name="numberVehiclesLarge" th:field="*{numberVehiclesLarge}" disabled | |
| 465 | - class="form-control" type="text"> | |
| 466 | - </div> | |
| 467 | - </div> | |
| 468 | - <div class="form-group"> | |
| 469 | - <label class="col-sm-3 control-label">实际车辆数(中巴):</label> | |
| 470 | - <div class="col-sm-8"> | |
| 471 | - <input name="numberVehiclesMiddle" | |
| 472 | - th:field="*{numberVehiclesMiddle}" class="form-control" disabled | |
| 473 | - type="text"> | |
| 474 | - </div> | |
| 475 | - </div> | |
| 476 | - <div class="form-group"> | |
| 477 | - <label class="col-sm-3 control-label">车辆自编号:</label> | |
| 478 | - <div class="col-sm-8"> | |
| 479 | - <input name="carPlate" th:field="*{carPlate}" class="form-control" disabled | |
| 480 | - type="text"> | |
| 481 | - </div> | |
| 482 | - </div> | |
| 483 | - <div class="form-group"> | |
| 484 | - <label class="col-sm-3 control-label">线路总配人数:</label> | |
| 485 | - <div class="col-sm-8"> | |
| 486 | - <input name="numberPerson" th:field="*{numberPerson}" disabled | |
| 487 | - class="form-control" type="text"> | |
| 488 | - </div> | |
| 489 | - </div> | |
| 490 | - <div class="form-group"> | |
| 491 | - <label class="col-sm-3 control-label">人数司机:</label> | |
| 492 | - <div class="col-sm-8"> | |
| 493 | - <input name="numberPersonDriver" th:field="*{numberPersonDriver}" disabled | |
| 494 | - class="form-control" type="text"> | |
| 495 | - </div> | |
| 496 | - </div> | |
| 497 | - <div class="form-group"> | |
| 498 | - <label class="col-sm-3 control-label">售票员数:</label> | |
| 499 | - <div class="col-sm-8"> | |
| 500 | - <input name="numberPersonSales" th:field="*{numberPersonSales}" disabled | |
| 501 | - class="form-control" type="text"> | |
| 502 | - </div> | |
| 503 | - </div> | |
| 504 | - <div class="form-group"> | |
| 505 | - <label class="col-sm-3 control-label">新能源车数:</label> | |
| 506 | - <div class="col-sm-8"> | |
| 507 | - <input name="busEvNumber" th:field="*{busEvNumber}" disabled | |
| 508 | - class="form-control" type="text"> | |
| 509 | - </div> | |
| 510 | - </div> | |
| 511 | - <div class="form-group"> | |
| 512 | - <label class="col-sm-3 control-label">线路走向:</label> | |
| 513 | - <div class="col-sm-8"> | |
| 514 | - <textarea name="directions" class="form-control" disabled>[[*{directions}]]</textarea> | |
| 515 | - </div> | |
| 516 | - </div> | |
| 517 | - <div class="form-group"> | |
| 518 | - <label class="col-sm-3 control-label">经营权证数:</label> | |
| 519 | - <div class="col-sm-8"> | |
| 520 | - <input name="numberOfManage" th:field="*{numberOfManage}" disabled | |
| 521 | - class="form-control" type="text"> | |
| 522 | - </div> | |
| 523 | - </div> | |
| 524 | - <div class="form-group"> | |
| 525 | - <label class="col-sm-3 control-label">站点名称:</label> | |
| 526 | - <div class="col-sm-8"> | |
| 527 | - <textarea name="halfwayStation" class="form-control" disabled>[[*{halfwayStation}]]</textarea> | |
| 528 | - </div> | |
| 529 | - </div> | |
| 530 | - <div class="form-group"> | |
| 531 | - <label class="col-sm-3 control-label">高峰系数:</label> | |
| 532 | - <div class="col-sm-8"> | |
| 533 | - <input name="fullCustomerPercent" th:field="*{fullCustomerPercent}" disabled | |
| 534 | - class="form-control" type="text"> | |
| 535 | - </div> | |
| 536 | - </div> | |
| 537 | - <div class="form-group"> | |
| 538 | - <label class="col-sm-3 control-label">低谷系数:</label> | |
| 539 | - <div class="col-sm-8"> | |
| 540 | - <input name="lowCustomerPercent" th:field="*{lowCustomerPercent}" disabled | |
| 541 | - class="form-control" type="text"> | |
| 542 | - </div> | |
| 543 | - </div> | |
| 544 | - <div class="form-group"> | |
| 545 | - <label class="col-sm-3 control-label">间隔等级:</label> | |
| 546 | - <div class="col-sm-8"> | |
| 547 | - <input name="divideLevel" th:field="*{divideLevel}" disabled | |
| 548 | - class="form-control" type="text"> | |
| 549 | - </div> | |
| 550 | - </div> | |
| 551 | - <div class="form-group"> | |
| 552 | - <label class="col-sm-3 control-label">是否挂牌:</label> | |
| 553 | - <div class="col-sm-8"> | |
| 554 | - <select name="hasTimelists" | |
| 555 | - th:with="type=${@dict.getType('trueFalse')}" disabled | |
| 556 | - class="form-control m-b"> | |
| 557 | - <option value=""></option> | |
| 558 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 559 | - th:value="${dict.dictValue}" | |
| 560 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.hasTimelists== null ? '' : bsthTLine.hasTimelists),#strings.toString(dict.dictValue))}"></option> | |
| 561 | - </select> | |
| 562 | - </div> | |
| 563 | - </div> | |
| 564 | - <div class="form-group"> | |
| 565 | - <label class="col-sm-3 control-label">是否轨交末班车衔接:</label> | |
| 566 | - <div class="col-sm-8"> | |
| 567 | - <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" disabled | |
| 568 | - class="form-control m-b"> | |
| 338 | + </div></span> | |
| 339 | + <!----------------------------------> | |
| 340 | + <span id="warrantVehiclesLarge"> | |
| 341 | + <label class="col-sm-1 control-label">经营权证(大巴):</label> | |
| 342 | + <div class="col-sm-2"> | |
| 343 | + <input name="warrantVehiclesLarge" th:field="*{warrantVehiclesLarge}" class="form-control" type="text" disabled> | |
| 344 | + </div> | |
| 345 | + </span> | |
| 346 | + </div> | |
| 347 | + | |
| 348 | + <div class="form-group"> | |
| 349 | + <span id="warrantVehiclesMiddle"> | |
| 350 | + <label class="col-sm-1 control-label">经营权证(中巴):</label> | |
| 351 | + <div class="col-sm-2"> | |
| 352 | + <input name="warrantVehiclesMiddle" th:field="*{warrantVehiclesMiddle}" class="form-control" type="text" disabled> | |
| 353 | + </div></span> | |
| 354 | + <!----------------------------------> | |
| 355 | + <span id="vehiclesNumber"> | |
| 356 | + <label class="col-sm-1 control-label">实际配车数:</label> | |
| 357 | + <div class="col-sm-2"> | |
| 358 | + <input name="vehiclesNumber" th:field="*{vehiclesNumber}" class="form-control" type="text" disabled> | |
| 359 | + </div></span> | |
| 360 | + <!----------------------------------> | |
| 361 | + <span id="numberVehiclesLarge"> | |
| 362 | + <label class="col-sm-1 control-label">实际车辆数(大巴):</label> | |
| 363 | + <div class="col-sm-2"> | |
| 364 | + <input name="numberVehiclesLarge" th:field="*{numberVehiclesLarge}" class="form-control" type="text" disabled> | |
| 365 | + </div></span> | |
| 366 | + <!----------------------------------> | |
| 367 | + <span id="numberVehiclesMiddle"> | |
| 368 | + <label class="col-sm-1 control-label">实际车辆数(中巴):</label> | |
| 369 | + <div class="col-sm-2"> | |
| 370 | + <input name="numberVehiclesMiddle" th:field="*{numberVehiclesMiddle}" class="form-control" type="text" disabled> | |
| 371 | + </div></span> | |
| 372 | + </div> | |
| 373 | + | |
| 374 | + <div class="form-group"> | |
| 375 | + <span id="mileageUp"> | |
| 376 | + <label class="col-sm-1 control-label">上行里程数:</label> | |
| 377 | + <div class="col-sm-2"> | |
| 378 | + <input name="mileageUp" th:field="*{mileageUp}" class="form-control" type="text" disabled> | |
| 379 | + </div></span> | |
| 380 | + <!----------------------------------> | |
| 381 | + <span id="mileageDown"> | |
| 382 | + <label class="col-sm-1 control-label">下行里程数:</label> | |
| 383 | + <div class="col-sm-2"> | |
| 384 | + <input name="mileageDown" th:field="*{mileageDown}" class="form-control" type="text"disabled> | |
| 385 | + </div></span> | |
| 386 | + <!----------------------------------> | |
| 387 | + <span id="averageMileage"> | |
| 388 | + <label class="col-sm-1 control-label">平均里程数:</label> | |
| 389 | + <div class="col-sm-2"> | |
| 390 | + <input name="averageMileage" th:field="*{averageMileage}" class="form-control" type="text" disabled> | |
| 391 | + </div></span> | |
| 392 | + <!----------------------------------> | |
| 393 | + <span id="stationUp"> | |
| 394 | + <label class="col-sm-1 control-label">站级数(上行):</label> | |
| 395 | + <div class="col-sm-2"> | |
| 396 | + <input name="stationUp" th:field="*{stationUp}" class="form-control" type="text" disabled> | |
| 397 | + </div></span> | |
| 398 | + </div> | |
| 399 | + | |
| 400 | + <div class="form-group"> | |
| 401 | + <span id="stationDown"> | |
| 402 | + <label class="col-sm-1 control-label">站级数(下行):</label> | |
| 403 | + <div class="col-sm-2"> | |
| 404 | + <input name="stationDown" th:field="*{stationDown}" class="form-control" type="text" disabled> | |
| 405 | + </div></span> | |
| 406 | + <!----------------------------------> | |
| 407 | + <span id="travelTimeUp"> | |
| 408 | + <label class="col-sm-1 control-label">行驶时间(上行):</label> | |
| 409 | + <div class="col-sm-2"> | |
| 410 | + <input name="travelTimeUp" th:field="*{travelTimeUp}" class="form-control" type="text" disabled> | |
| 411 | + </div></span> | |
| 412 | + <!----------------------------------> | |
| 413 | + <span id="travelTimeDown"> | |
| 414 | + <label class="col-sm-1 control-label">行驶时间(下行):</label> | |
| 415 | + <div class="col-sm-2"> | |
| 416 | + <input name="travelTimeDown" th:field="*{travelTimeDown}" class="form-control" type="text" disabled> | |
| 417 | + </div></span> | |
| 418 | + <!----------------------------------> | |
| 419 | + <span id="travelIntervalUp"> | |
| 420 | + <label class="col-sm-1 control-label">行驶间隔(高峰):</label> | |
| 421 | + <div class="col-sm-2"> | |
| 422 | + <input name="travelIntervalUp" th:field="*{travelIntervalUp}" class="form-control" type="text" disabled> | |
| 423 | + </div></span> | |
| 424 | + </div> | |
| 425 | + | |
| 426 | + <div class="form-group"> | |
| 427 | + <span id="travelIntervalDown"> | |
| 428 | + <label class="col-sm-1 control-label">行驶间隔(低谷):</label> | |
| 429 | + <div class="col-sm-2"> | |
| 430 | + <input name="travelIntervalDown" th:field="*{travelIntervalDown}" class="form-control" type="text" disabled> | |
| 431 | + </div></span> | |
| 432 | + <!----------------------------------> | |
| 433 | + <span id="fullCustomerPercent"> | |
| 434 | + <label class="col-sm-1 control-label">高峰系数:</label> | |
| 435 | + <div class="col-sm-2"> | |
| 436 | + <input name="fullCustomerPercent" th:field="*{fullCustomerPercent}" class="form-control" type="text" disabled> | |
| 437 | + </div></span> | |
| 438 | + <!----------------------------------> | |
| 439 | + <span id="lowCustomerPercent"> | |
| 440 | + <label class="col-sm-1 control-label">低谷系数:</label> | |
| 441 | + <div class="col-sm-2"> | |
| 442 | + <input name="lowCustomerPercent" th:field="*{lowCustomerPercent}" class="form-control" type="text" disabled> | |
| 443 | + </div></span> | |
| 444 | + <!----------------------------------> | |
| 445 | + <span id="divideLevel"> | |
| 446 | + <label class="col-sm-1 control-label">间隔等级:</label> | |
| 447 | + <div class="col-sm-2"> | |
| 448 | + <input name="divideLevel" th:field="*{divideLevel}" class="form-control" type="text" disabled> | |
| 449 | + </div></span> | |
| 450 | + </div> | |
| 451 | + | |
| 452 | + <div class="form-group"> | |
| 453 | + <span id="carPlate"> | |
| 454 | + <label class="col-sm-1 control-label">车辆自编号:</label> | |
| 455 | + <div class="col-sm-2"> | |
| 456 | + <input name="carPlate" th:field="*{carPlate}" class="form-control" type="text" disabled > | |
| 457 | + </div></span> | |
| 458 | + <!----------------------------------> | |
| 459 | + <span id="numberPerson"> | |
| 460 | + <label class="col-sm-1 control-label">线路总配人数:</label> | |
| 461 | + <div class="col-sm-2"> | |
| 462 | + <input name="numberPerson" th:field="*{numberPerson}" class="form-control" type="text" disabled> | |
| 463 | + </div></span> | |
| 464 | + <!----------------------------------> | |
| 465 | + <span id="numberPersonDriver"> | |
| 466 | + <label class="col-sm-1 control-label">人数司机:</label> | |
| 467 | + <div class="col-sm-2"> | |
| 468 | + <input name="numberPersonDriver" th:field="*{numberPersonDriver}" class="form-control" type="text" disabled> | |
| 469 | + </div></span> | |
| 470 | + <!----------------------------------> | |
| 471 | + <span id="numberPersonSales"> | |
| 472 | + <label class="col-sm-1 control-label">售票员数:</label> | |
| 473 | + <div class="col-sm-2"> | |
| 474 | + <input name="numberPersonSales" th:field="*{numberPersonSales}" class="form-control" type="text" disabled> | |
| 475 | + </div></span> | |
| 476 | + </div> | |
| 477 | + | |
| 478 | + <div class="form-group"> | |
| 479 | + <span id="busEvNumber"> | |
| 480 | + <label class="col-sm-1 control-label">新能源车数:</label> | |
| 481 | + <div class="col-sm-2"> | |
| 482 | + <input name="busEvNumber" th:field="*{busEvNumber}" class="form-control" type="text" disabled> | |
| 483 | + </div></span> | |
| 484 | + <!----------------------------------> | |
| 485 | + <span id="isMetro"> | |
| 486 | + <label class="col-sm-1 control-label">是否轨交末班车衔接:</label> | |
| 487 | + <div class="col-sm-2"> | |
| 488 | + <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b" disabled> | |
| 569 | 489 | <option value=""></option> |
| 570 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 571 | - th:value="${dict.dictValue}" | |
| 572 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.isMetro== null ? '' : bsthTLine.isMetro),#strings.toString(dict.dictValue))}"></option> | |
| 490 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 491 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.isMetro== null ? '' : bsthTLine.isMetro),#strings.toString(dict.dictValue))}"></option> | |
| 573 | 492 | </select> |
| 574 | - </div> | |
| 575 | - </div> | |
| 576 | - <div class="form-group"> | |
| 577 | - <label class="col-sm-3 control-label">轨交时间:</label> | |
| 578 | - <div class="col-sm-8"> | |
| 493 | + </div></span> | |
| 494 | + <!----------------------------------> | |
| 495 | + <span id="metroTime"> | |
| 496 | + <label class="col-sm-1 control-label">轨交时间:</label> | |
| 497 | + <div class="col-sm-2"> | |
| 579 | 498 | <div class="input-group date"> |
| 580 | - <input name="metroTime" class="form-control" disabled | |
| 581 | - placeholder="HH:mm:ss" th:value="*{metroTime}"> <span | |
| 582 | - class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 499 | + <input name="metroTime" class="form-control" placeholder="HH:mm:ss" th:value="*{metroTime}" disabled> | |
| 500 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 583 | 501 | </div> |
| 584 | - </div> | |
| 585 | - </div> | |
| 586 | - <div class="form-group"> | |
| 587 | - <label class="col-sm-3 control-label">冷僻线路补贴类型:</label> | |
| 588 | - <div class="col-sm-8"> | |
| 589 | - <input name="coldBonusType" th:field="*{coldBonusType}" disabled | |
| 590 | - class="form-control" type="text"> | |
| 591 | - </div> | |
| 592 | - </div> | |
| 593 | - <div class="form-group"> | |
| 594 | - <label class="col-sm-3 control-label">性质:</label> | |
| 595 | - <div class="col-sm-8"> | |
| 596 | - <select name="lineUpdateType" | |
| 597 | - th:with="type=${@dict.getType('lineUpdateType')}" disabled | |
| 598 | - class="form-control m-b"> | |
| 599 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 600 | - th:value="${dict.dictValue}" | |
| 601 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineUpdateType== null ? '' : bsthTLine.lineUpdateType),#strings.toString(dict.dictValue))}"></option>></option> | |
| 502 | + </div></span> | |
| 503 | + <!----------------------------------> | |
| 504 | + <span id="hasTimelists"> | |
| 505 | + <label class="col-sm-1 control-label">是否挂牌:</label> | |
| 506 | + <div class="col-sm-2"> | |
| 507 | + <select name="hasTimelists" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b" disabled> | |
| 508 | + <option value=""></option> | |
| 509 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 510 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.hasTimelists== null ? '' : bsthTLine.hasTimelists),#strings.toString(dict.dictValue))}"></option> | |
| 602 | 511 | </select> |
| 603 | 512 | </div> |
| 513 | + </span> | |
| 604 | 514 | </div> |
| 605 | 515 | <div class="form-group"> |
| 606 | - <label class="col-sm-3 control-label">营收类型:</label> | |
| 607 | - <div class="col-sm-8"> | |
| 608 | - <select name="revenueType" th:with="type=${@dict.getType('revenueType')}" disabled class="form-control m-b"> | |
| 516 | + <span id="numberOfManage"> | |
| 517 | + <label class="col-sm-1 control-label">经营权证数:</label> | |
| 518 | + <div class="col-sm-2"> | |
| 519 | + <input name="numberOfManage" th:field="*{numberOfManage}" class="form-control" type="text" disabled> | |
| 520 | + </div></span> | |
| 521 | + <!----------------------------------> | |
| 522 | + <span id="serviceState"> | |
| 523 | + <label class="col-sm-1 control-label">营运状态:</label> | |
| 524 | + <div class="col-sm-2"> | |
| 525 | + <select name="serviceState" th:with="type=${@dict.getType('serviceState')}" class="form-control m-b" disabled> | |
| 526 | + <option value=""></option> | |
| 527 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 528 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option> | |
| 529 | + </select> | |
| 530 | + </div></span> | |
| 531 | + <!----------------------------------> | |
| 532 | + <span id="coldBonusType"> | |
| 533 | + <label class="col-sm-1 control-label">冷僻线路补贴类型:</label> | |
| 534 | + <div class="col-sm-2"> | |
| 535 | + <input name="coldBonusType" th:field="*{coldBonusType}" class="form-control" type="text" disabled> | |
| 536 | + </div></span> | |
| 537 | + <!----------------------------------> | |
| 538 | + <span id="revenueType"> | |
| 539 | + <label class="col-sm-1 control-label">营收类型:</label> | |
| 540 | + <div class="col-sm-2"> | |
| 541 | + <select name="revenueType" th:with="type=${@dict.getType('revenueType')}" class="form-control m-b" disabled> | |
| 609 | 542 | <option value=""></option> |
| 610 | 543 | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" |
| 611 | 544 | th:selected="${#arrays.contains(#strings.toString(bsthTLine.revenueType== null ? '' : bsthTLine.revenueType),#strings.toString(dict.dictValue))}"></option>></option>></option> |
| 612 | 545 | </select> |
| 613 | 546 | </div> |
| 547 | + </span> | |
| 614 | 548 | </div> |
| 615 | - <div class="form-group"> | |
| 616 | - <label class="col-sm-3 control-label">启用时间:</label> | |
| 617 | - <div class="col-sm-8"> | |
| 618 | - <div class="input-group date"> | |
| 619 | - <input name="startDate" | |
| 620 | - th:value="${#dates.format(bsthTLine.startDate, 'yyyy-MM-dd')}" disabled | |
| 621 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 622 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 623 | - class="fa fa-calendar"></i></span> | |
| 624 | - </div> | |
| 625 | 549 | |
| 626 | - </div> | |
| 627 | - </div> | |
| 628 | 550 | <div class="form-group"> |
| 629 | - <label class="col-sm-3 control-label">启用原因:</label> | |
| 630 | - <div class="col-sm-8"> | |
| 631 | - <textarea name="startReason" class="form-control" disabled>[[*{startReason}]]</textarea> | |
| 632 | - </div> | |
| 633 | - </div> | |
| 634 | - <div class="form-group"> | |
| 635 | - <label class="col-sm-3 control-label">附件:</label> | |
| 636 | - <div class="col-sm-8"> | |
| 637 | - <div th:each="path: ${#strings.arraySplit(bsthTLine.files,',')}" disabled> | |
| 638 | - <input name="files" type="hidden" th:value="${path}" > | |
| 639 | - <a th:href="${#strings.replace(path,#strings.arraySplit(path,':')[0]+':','')}" th:text="${#strings.arraySplit(path,':')[0]}"> | |
| 640 | - </a> | |
| 641 | - <button onclick="deleteFile(this);">删除</button> | |
| 642 | - </div> | |
| 643 | - <div class="file-loading" id="uploadDiv"> | |
| 644 | - <input id="fileinput" type="file" multiple> | |
| 551 | + <span id="lineUpdateType"> | |
| 552 | + <label class="col-sm-1 control-label">性质:</label> | |
| 553 | + <div class="col-sm-2"> | |
| 554 | + <select name="lineUpdateType" th:with="type=${@dict.getType('lineUpdateType')}" class="form-control m-b" disabled> | |
| 555 | + <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 556 | + th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineUpdateType== null ? '' : bsthTLine.lineUpdateType),#strings.toString(dict.dictValue))}"></option>></option> | |
| 557 | + </select> | |
| 558 | + </div></span> | |
| 559 | + <!----------------------------------> | |
| 560 | + <span id="startDate"> | |
| 561 | + <label class="col-sm-1 control-label">启用时间:</label> | |
| 562 | + <div class="col-sm-2"> | |
| 563 | + <div class="input-group date"> | |
| 564 | + <input name="startDate" th:value="${#dates.format(bsthTLine.startDate, 'yyyy-MM-dd')}" | |
| 565 | + class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" disabled> | |
| 566 | + <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 645 | 567 | </div> |
| 568 | + </div></span> | |
| 569 | + <!----------------------------------> | |
| 570 | + <span id="remark"> | |
| 571 | + <label class="col-sm-1 control-label">备注:</label> | |
| 572 | + <div class="col-sm-2"> | |
| 573 | + <textarea name="remark" class="form-control" disabled>[[*{remark}]]</textarea> | |
| 574 | + </div></span> | |
| 575 | + </div></span> | |
| 576 | + | |
| 577 | + <div class="form-group"> | |
| 578 | + <span id="files"> | |
| 579 | + <label class="col-sm-1 control-label">附件:</label> | |
| 580 | + <div class="col-sm-5" > | |
| 581 | + <div th:each="path: ${#strings.arraySplit(bsthTLine.files,',')}" > | |
| 582 | + <input name="files" type="hidden" th:value="${path}" > | |
| 583 | + <a th:href="${#strings.replace(path,#strings.arraySplit(path,':')[0]+':','')}" th:text="${#strings.arraySplit(path,':')[0]}"></a> | |
| 584 | + <button onclick="deleteFile(this);" disabled>删除</button> | |
| 585 | + <div class="file-loading" id="uploadDiv"> | |
| 586 | + <input id="fileinput" type="file" multiple disabled> | |
| 587 | + </div> | |
| 588 | + </div> | |
| 589 | + </div></span> | |
| 646 | 590 | </div> |
| 647 | - </div> | |
| 648 | 591 | </form> |
| 649 | 592 | </div> |
| 650 | 593 | <th:block th:include="include :: footer" /> |
| 651 | 594 | <th:block th:include="include :: datetimepicker-js" /> |
| 652 | 595 | <th:block th:include="include :: bootstrap-fileinput-js" /> |
| 596 | + <th:block th:include="include :: bootstrap-select-js" /> | |
| 653 | 597 | <script th:inline="javascript"> |
| 654 | 598 | var prefix = ctx + "system/line"; |
| 655 | 599 | function deleteFile(obj){ |
| ... | ... | @@ -671,7 +615,7 @@ |
| 671 | 615 | |
| 672 | 616 | var obj = '<div><input name="files" type="hidden" value='+data.files[index].name + ':' + data.response.url + '>'+ |
| 673 | 617 | '<a href='+data.response.url+'>'+ data.files[index].name + |
| 674 | - '</a><button onclick="deleteFile(this);">删除</button></div>'; | |
| 618 | + '</a><button onclick="deleteFile(this);">删除</button></div></span>'; | |
| 675 | 619 | |
| 676 | 620 | |
| 677 | 621 | $(".file-input").before(obj); |
| ... | ... | @@ -679,6 +623,24 @@ |
| 679 | 623 | }); |
| 680 | 624 | |
| 681 | 625 | $.get("/system/line/getUserLineInfo", |
| 626 | + function(data) { | |
| 627 | + if (data.msg != null) { | |
| 628 | + var objs = JSON.parse(data.msg); | |
| 629 | + | |
| 630 | + for (var i = 0; i < objs.length; i++) { | |
| 631 | + var o=objs[i]; | |
| 632 | + if(o.checked==false){ | |
| 633 | + console.log(o.name) | |
| 634 | + $('#'+o.name).attr("style","display:none;"); | |
| 635 | + }else { | |
| 636 | + $('#'+o.name).attr("style","display:show;"); | |
| 637 | + } | |
| 638 | + | |
| 639 | + | |
| 640 | + } | |
| 641 | + } | |
| 642 | + }); | |
| 643 | + /*$.get("/system/line/getUserLineInfo", | |
| 682 | 644 | function(data) { |
| 683 | 645 | if (data.msg != null) { |
| 684 | 646 | var objs = JSON.parse(data.msg); |
| ... | ... | @@ -738,7 +700,7 @@ |
| 738 | 700 | |
| 739 | 701 | } |
| 740 | 702 | } |
| 741 | - }); | |
| 703 | + });*/ | |
| 742 | 704 | }) |
| 743 | 705 | |
| 744 | 706 | function getParent(obj, className) { | ... | ... |
bsthLineProfiles/src/main/resources/templates/system/line/line.html
| ... | ... | @@ -188,22 +188,6 @@ |
| 188 | 188 | class="time-input" placeholder="请选择轨交时间" name="metroTime" /></li> |
| 189 | 189 | <li><label>冷僻补贴:</label> <input type="text" |
| 190 | 190 | name="coldBonusType" /></li> |
| 191 | - <li><label>月度营收:</label> <input type="text" | |
| 192 | - name="revenuesMonth" /></li> | |
| 193 | - <li><label>月度人次:</label> <input type="text" | |
| 194 | - name="personMonth" /></li> | |
| 195 | - <li><label>月度里程:</label> <input type="text" | |
| 196 | - name="mileageMonth" /></li> | |
| 197 | - <li><label>百公里人次:</label> <input type="text" | |
| 198 | - name="personMonthAvg" /></li> | |
| 199 | - <li><label>营收:</label> <input type="text" name="revenues" /> | |
| 200 | - </li> | |
| 201 | - <li><label>人次:</label> <input type="text" name="persons" /> | |
| 202 | - </li> | |
| 203 | - <li><label>里程:</label> <input type="text" name="mileages" /> | |
| 204 | - </li> | |
| 205 | - <li><label>百公里人次:</label> <input type="text" | |
| 206 | - name="personAvg" /></li> | |
| 207 | 191 | |
| 208 | 192 | <li> |
| 209 | 193 | <el-button size="mini" type="primary" icon="el-icon-search" onClick="$.table.search();">搜索</el-button> |
| ... | ... | @@ -257,24 +241,7 @@ |
| 257 | 241 | |
| 258 | 242 | <script th:inline="javascript"> |
| 259 | 243 | |
| 260 | - function add(obj){ | |
| 261 | - if($(obj)[0].className.indexOf("disabled") == -1) | |
| 262 | - $.operate.add(); | |
| 263 | - | |
| 264 | - } | |
| 265 | - | |
| 266 | - function edit(obj){ | |
| 267 | - if($(obj)[0].className.indexOf("disabled") == -1) | |
| 268 | - $.operate.edit(); | |
| 269 | - | |
| 270 | - } | |
| 271 | - | |
| 272 | 244 | |
| 273 | - function remove(obj){ | |
| 274 | - if($(obj)[0].className.indexOf("disabled") == -1) | |
| 275 | - $.operate.removeAll(); | |
| 276 | - | |
| 277 | - } | |
| 278 | 245 | |
| 279 | 246 | new Vue({ |
| 280 | 247 | el: '#context', |
| ... | ... | @@ -329,6 +296,7 @@ |
| 329 | 296 | return ""; |
| 330 | 297 | }, |
| 331 | 298 | onDblClickRow:function (row,index){ |
| 299 | + $.operate.full=true; | |
| 332 | 300 | $.operate.detail(row.id); |
| 333 | 301 | } |
| 334 | 302 | }; |
| ... | ... | @@ -459,10 +427,7 @@ |
| 459 | 427 | |
| 460 | 428 | |
| 461 | 429 | |
| 462 | - var cols = [{ | |
| 463 | - field: 'lineName', | |
| 464 | - title: '线路名称' | |
| 465 | - }, | |
| 430 | + var cols = [ | |
| 466 | 431 | { |
| 467 | 432 | field: 'company', |
| 468 | 433 | title: '公司' |
| ... | ... | @@ -472,6 +437,10 @@ |
| 472 | 437 | title: '分公司' |
| 473 | 438 | }, |
| 474 | 439 | { |
| 440 | + field: 'lineName', | |
| 441 | + title: '线路名称' | |
| 442 | + }, | |
| 443 | + { | |
| 475 | 444 | field: 'pLineId', |
| 476 | 445 | title: '主线路id' |
| 477 | 446 | }, |
| ... | ... | @@ -703,29 +672,17 @@ |
| 703 | 672 | field: 'coldBonusType', |
| 704 | 673 | title: '冷僻线路补贴类型' |
| 705 | 674 | },{ |
| 706 | - field: 'revenuesMonth', | |
| 707 | - title: '月度营收' | |
| 675 | + field: 'revenueType', | |
| 676 | + title: '营收类型' | |
| 708 | 677 | },{ |
| 709 | - field: 'personMonth', | |
| 710 | - title: '月度人次' | |
| 678 | + field: 'lineUpdateType', | |
| 679 | + title: '性质' | |
| 711 | 680 | },{ |
| 712 | - field: 'mileageMonth', | |
| 713 | - title: '月度里程' | |
| 714 | - },{ | |
| 715 | - field: 'personMonthAvg', | |
| 716 | - title: '百公里人次' | |
| 717 | - },{ | |
| 718 | - field: 'revenues', | |
| 719 | - title: '营收' | |
| 720 | - },{ | |
| 721 | - field: 'persons', | |
| 722 | - title: '人次' | |
| 723 | - }, { | |
| 724 | - field: 'mileages', | |
| 725 | - title: '里程' | |
| 681 | + field: 'startDate', | |
| 682 | + title: '启用时间' | |
| 726 | 683 | },{ |
| 727 | - field: 'personAvg', | |
| 728 | - title: '百公里人次' | |
| 684 | + field: 'files', | |
| 685 | + title: '附件' | |
| 729 | 686 | }]; |
| 730 | 687 | |
| 731 | 688 | for(var i =0 ; i < cols.length ;i++){ | ... | ... |
bsthLineProfiles/src/main/resources/templates/system/lineAdd/add.html
| ... | ... | @@ -455,9 +455,8 @@ |
| 455 | 455 | <div class="form-group"> |
| 456 | 456 | <label class="col-sm-1 control-label">性质:</label> |
| 457 | 457 | <div class="col-sm-2"> |
| 458 | - <select name="lineUpdateType" th:with="type=${@dict.getType('lineUpdateType')}" class="form-control m-b" disabled=""> | |
| 459 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 460 | - th:selected="${dict.dictValue=='3'}" ></option> | |
| 458 | + <select name="lineUpdateType" th:with="type=${@dict.getType('lineUpdateType')}" class="form-control m-b" readonly> | |
| 459 | + <option value="3" selected="selected">新辟</option> | |
| 461 | 460 | </select> |
| 462 | 461 | </div> |
| 463 | 462 | <!----------------------------------> | ... | ... |
bsthLineProfiles/src/main/resources/templates/system/lineAdd/edit.html
| ... | ... | @@ -474,9 +474,8 @@ |
| 474 | 474 | <div class="form-group"> |
| 475 | 475 | <label class="col-sm-1 control-label">性质:</label> |
| 476 | 476 | <div class="col-sm-2"> |
| 477 | - <select name="lineUpdateType" th:with="type=${@dict.getType('lineUpdateType')}" class="form-control m-b" disabled=""> | |
| 478 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" | |
| 479 | - th:selected="${dict.dictValue=='3'}" ></option> | |
| 477 | + <select name="lineUpdateType" th:with="type=${@dict.getType('lineUpdateType')}" class="form-control m-b" readonly> | |
| 478 | + <option value="3" selected="selected">新辟</option> | |
| 480 | 479 | </select> |
| 481 | 480 | </div> |
| 482 | 481 | <!----------------------------------> | ... | ... |
bsthLineProfiles/src/main/resources/templates/system/lineHistory/add.html deleted
100644 → 0
| 1 | -<!DOCTYPE html> | |
| 2 | -<html lang="zh" xmlns:th="http://www.thymeleaf.org" > | |
| 3 | -<head> | |
| 4 | - <th:block th:include="include :: header('添加线路档案信息')" /> | |
| 5 | - <th:block th:include="include :: datetimepicker-css" /> | |
| 6 | -</head> | |
| 7 | -<body class="white-bg"> | |
| 8 | - <div class="wrapper wrapper-content animated fadeInRight ibox-content"> | |
| 9 | - <form class="form-horizontal m" id="form-line-add"> | |
| 10 | - <div class="form-group"> | |
| 11 | - <label class="col-sm-3 control-label">线路名称:</label> | |
| 12 | - <div class="col-sm-8"> | |
| 13 | - <input name="lineName" class="form-control" type="text"> | |
| 14 | - </div> | |
| 15 | - </div> | |
| 16 | - <div class="form-group"> | |
| 17 | - <label class="col-sm-3 control-label">公司:</label> | |
| 18 | - <div class="col-sm-8"> | |
| 19 | - <input name="company" class="form-control" type="text"> | |
| 20 | - </div> | |
| 21 | - </div> | |
| 22 | - <div class="form-group"> | |
| 23 | - <label class="col-sm-3 control-label">分公司:</label> | |
| 24 | - <div class="col-sm-8"> | |
| 25 | - <input name="fCompany" class="form-control" type="text"> | |
| 26 | - </div> | |
| 27 | - </div> | |
| 28 | - <div class="form-group"> | |
| 29 | - <label class="col-sm-3 control-label">主线路id:</label> | |
| 30 | - <div class="col-sm-8"> | |
| 31 | - <input name="pLineId" class="form-control" type="text"> | |
| 32 | - </div> | |
| 33 | - </div> | |
| 34 | - <div class="form-group"> | |
| 35 | - <label class="col-sm-3 control-label">营运方式:</label> | |
| 36 | - <div class="col-sm-8"> | |
| 37 | - <select name="serviceType" | |
| 38 | - th:with="type=${@dict.getType('serviceType')}" | |
| 39 | - class="form-control m-b"> | |
| 40 | - <option value=""></option> | |
| 41 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 42 | - th:value="${dict.dictValue}"> | |
| 43 | - | |
| 44 | - </option> | |
| 45 | - </select> | |
| 46 | - </div> | |
| 47 | - </div> | |
| 48 | - | |
| 49 | - <div class="form-group"> | |
| 50 | - <label class="col-sm-3 control-label">线路属性:</label> | |
| 51 | - <div class="col-sm-8"> | |
| 52 | - <select name="lineLevel" | |
| 53 | - th:with="type=${@dict.getType('lineLevel')}" | |
| 54 | - class="form-control m-b"> | |
| 55 | - <option value=""></option> | |
| 56 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 57 | - th:value="${dict.dictValue}"> | |
| 58 | - </option> | |
| 59 | - </select> | |
| 60 | - </div> | |
| 61 | - </div> | |
| 62 | - <div class="form-group"> | |
| 63 | - <label class="col-sm-3 control-label">线路类型:</label> | |
| 64 | - <div class="col-sm-8"> | |
| 65 | - <select name="lineType" th:with="type=${@dict.getType('lineType')}" | |
| 66 | - class="form-control m-b"> | |
| 67 | - <option value=""></option> | |
| 68 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 69 | - th:value="${dict.dictValue}"> | |
| 70 | - </option> | |
| 71 | - </select> | |
| 72 | - </div> | |
| 73 | - </div> | |
| 74 | - <div class="form-group"> | |
| 75 | - <label class="col-sm-3 control-label">区属:</label> | |
| 76 | - <div class="col-sm-8"> | |
| 77 | - <select name="district" th:with="type=${@dict.getType('district')}" | |
| 78 | - class="form-control m-b"> | |
| 79 | - <option value=""></option> | |
| 80 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 81 | - th:value="${dict.dictValue}"> | |
| 82 | - </option> | |
| 83 | - </select> | |
| 84 | - </div> | |
| 85 | - </div> | |
| 86 | - <div class="form-group"> | |
| 87 | - <label class="col-sm-3 control-label">是否区内:</label> | |
| 88 | - <div class="col-sm-8"> | |
| 89 | - <select name="inoutDistrict" | |
| 90 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 91 | - class="form-control m-b"> | |
| 92 | - <option value=""></option> | |
| 93 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 94 | - th:value="${dict.dictValue}"> | |
| 95 | - | |
| 96 | - </option> | |
| 97 | - </select> | |
| 98 | - </div> | |
| 99 | - </div> | |
| 100 | - <div class="form-group"> | |
| 101 | - <label class="col-sm-3 control-label">营运状态:</label> | |
| 102 | - <div class="col-sm-8"> | |
| 103 | - <select name="serviceState" | |
| 104 | - th:with="type=${@dict.getType('serviceState')}" | |
| 105 | - class="form-control m-b"> | |
| 106 | - <option value=""></option> | |
| 107 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 108 | - th:value="${dict.dictValue}"> | |
| 109 | - </option> | |
| 110 | - </select> | |
| 111 | - </div> | |
| 112 | - </div> | |
| 113 | - <div class="form-group"> | |
| 114 | - <label class="col-sm-3 control-label">车辆类型 多选:</label> | |
| 115 | - <div class="col-sm-8" th:with="type=${@dict.getType('busType')}"> | |
| 116 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 117 | - style="display: block"> <input type="checkbox" | |
| 118 | - name="busType" | |
| 119 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /></label> | |
| 120 | - </div> | |
| 121 | - </div> | |
| 122 | - <div class="form-group"> | |
| 123 | - <label class="col-sm-3 control-label">是否空调:</label> | |
| 124 | - <div class="col-sm-8"> | |
| 125 | - <select name="airConditionerType" | |
| 126 | - th:with="type=${@dict.getType('airConditionerType')}" | |
| 127 | - class="form-control m-b"> | |
| 128 | - <option value=""></option> | |
| 129 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 130 | - th:value="${dict.dictValue}"> | |
| 131 | - </option> | |
| 132 | - </select> | |
| 133 | - </div> | |
| 134 | - </div> | |
| 135 | - <div class="form-group"> | |
| 136 | - <label class="col-sm-3 control-label">售票类型:</label> | |
| 137 | - <div class="col-sm-8"> | |
| 138 | - <select name="sellTicketType" | |
| 139 | - th:with="type=${@dict.getType('sellTicketType')}" | |
| 140 | - class="form-control m-b"> | |
| 141 | - <option value=""></option> | |
| 142 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 143 | - th:value="${dict.dictValue}"> | |
| 144 | - </option> | |
| 145 | - </select> | |
| 146 | - </div> | |
| 147 | - </div> | |
| 148 | - <div class="form-group"> | |
| 149 | - <label class="col-sm-3 control-label">运营时间:</label> | |
| 150 | - <div class="col-sm-8"> | |
| 151 | - <select name="serviceTime" | |
| 152 | - th:with="type=${@dict.getType('serviceTime')}" | |
| 153 | - class="form-control m-b"> | |
| 154 | - <option value=""></option> | |
| 155 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 156 | - th:value="${dict.dictValue}"> | |
| 157 | - </option> | |
| 158 | - </select> | |
| 159 | - </div> | |
| 160 | - </div> | |
| 161 | - <div class="form-group"> | |
| 162 | - <label class="col-sm-3 control-label">线路长度:</label> | |
| 163 | - <div class="col-sm-8"> | |
| 164 | - <input name="lineDistance" class="form-control" type="text"> | |
| 165 | - </div> | |
| 166 | - </div> | |
| 167 | - <div class="form-group"> | |
| 168 | - <label class="col-sm-3 control-label">线路编码:</label> | |
| 169 | - <div class="col-sm-8"> | |
| 170 | - <input name="lineCode" class="form-control" type="text"> | |
| 171 | - </div> | |
| 172 | - </div> | |
| 173 | - <div class="form-group"> | |
| 174 | - <label class="col-sm-3 control-label">授权年限:</label> | |
| 175 | - <div class="col-sm-8"> | |
| 176 | - <input name="warrantYear" class="form-control" type="text"> | |
| 177 | - </div> | |
| 178 | - </div> | |
| 179 | - <div class="form-group"> | |
| 180 | - <label class="col-sm-3 control-label">授权起始日期:</label> | |
| 181 | - <div class="col-sm-8"> | |
| 182 | - <div class="input-group date"> | |
| 183 | - <input name="warrantStartTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 184 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 185 | - </div> | |
| 186 | - </div> | |
| 187 | - </div> | |
| 188 | - <div class="form-group"> | |
| 189 | - <label class="col-sm-3 control-label">授权结束日期:</label> | |
| 190 | - <div class="col-sm-8"> | |
| 191 | - <div class="input-group date"> | |
| 192 | - <input name="warrantEndTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 193 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 194 | - </div> | |
| 195 | - </div> | |
| 196 | - </div> | |
| 197 | - <div class="form-group"> | |
| 198 | - <label class="col-sm-3 control-label">撤销日期:</label> | |
| 199 | - <div class="col-sm-8"> | |
| 200 | - <div class="input-group date"> | |
| 201 | - <input name="planCancelTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 202 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 203 | - </div> | |
| 204 | - </div> | |
| 205 | - </div> | |
| 206 | - <div class="form-group"> | |
| 207 | - <label class="col-sm-3 control-label">实际撤销日期:</label> | |
| 208 | - <div class="col-sm-8"> | |
| 209 | - <div class="input-group date"> | |
| 210 | - <input name="cancelTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 211 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 212 | - </div> | |
| 213 | - </div> | |
| 214 | - </div> | |
| 215 | - <div class="form-group"> | |
| 216 | - <label class="col-sm-3 control-label">撤销原因:</label> | |
| 217 | - <div class="col-sm-8"> | |
| 218 | - <textarea name="cancelReason" class="form-control"></textarea> | |
| 219 | - </div> | |
| 220 | - </div> | |
| 221 | - <div class="form-group"> | |
| 222 | - <label class="col-sm-3 control-label">备注:</label> | |
| 223 | - <div class="col-sm-8"> | |
| 224 | - <textarea name="remark" class="form-control"></textarea> | |
| 225 | - </div> | |
| 226 | - </div> | |
| 227 | - <div class="form-group"> | |
| 228 | - <label class="col-sm-3 control-label">是否逻辑删除:</label> | |
| 229 | - <div class="col-sm-8"> | |
| 230 | - <select name="isLogicDelete" | |
| 231 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 232 | - class="form-control m-b"> | |
| 233 | - <option value=""></option> | |
| 234 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 235 | - th:value="${dict.dictValue}"> | |
| 236 | - </option> | |
| 237 | - </select> | |
| 238 | - </div> | |
| 239 | - </div> | |
| 240 | - <div class="form-group"> | |
| 241 | - <label class="col-sm-3 control-label">更新人:</label> | |
| 242 | - <div class="col-sm-8"> | |
| 243 | - <input name="updateBy" class="form-control" type="text"> | |
| 244 | - </div> | |
| 245 | - </div> | |
| 246 | - <div class="form-group"> | |
| 247 | - <label class="col-sm-3 control-label">更新时间:</label> | |
| 248 | - <div class="col-sm-8"> | |
| 249 | - <div class="input-group date"> | |
| 250 | - <input name="updateTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 251 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 252 | - </div> | |
| 253 | - </div> | |
| 254 | - </div> | |
| 255 | - <div class="form-group"> | |
| 256 | - <label class="col-sm-3 control-label">行车作业计划表报备时间:</label> | |
| 257 | - <div class="col-sm-8"> | |
| 258 | - <div class="input-group date"> | |
| 259 | - <input name="timeSchedule" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 260 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 261 | - </div> | |
| 262 | - </div> | |
| 263 | - </div> | |
| 264 | - <div class="form-group"> | |
| 265 | - <label class="col-sm-3 control-label">停车场:</label> | |
| 266 | - <div class="col-sm-8"> | |
| 267 | - <input name="park" class="form-control" type="text"> | |
| 268 | - </div> | |
| 269 | - </div> | |
| 270 | - <div class="form-group"> | |
| 271 | - <label class="col-sm-3 control-label">是否权证:</label> | |
| 272 | - <div class="col-sm-8"> | |
| 273 | - <select name="isWarrant" id="isWarrant" | |
| 274 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 275 | - class="form-control m-b"> | |
| 276 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 277 | - th:value="${dict.dictValue}" th:selected="${dict.dictValue=='1'}"> | |
| 278 | - </option> | |
| 279 | - </select> | |
| 280 | - </div> | |
| 281 | - </div> | |
| 282 | - <div class="form-group"> | |
| 283 | - <label class="col-sm-3 control-label">权证开通日期:</label> | |
| 284 | - <div class="col-sm-8"> | |
| 285 | - <div class="input-group date"> | |
| 286 | - <input name="isWarrantStartTime" id="isWarrantStartTime" | |
| 287 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 288 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 289 | - class="fa fa-calendar"></i></span> | |
| 290 | - </div> | |
| 291 | - | |
| 292 | - </div> | |
| 293 | - </div> | |
| 294 | - <div class="form-group"> | |
| 295 | - <label class="col-sm-3 control-label">权证到期日期:</label> | |
| 296 | - <div class="col-sm-8"> | |
| 297 | - <div class="input-group date"> | |
| 298 | - <input name="isWarrantEndTime" id="isWarrantEndTime" | |
| 299 | - class="form-control" placeholder="yyyy-MM-dd" type="text" | |
| 300 | - autocomplete="off"> <span class="input-group-addon"><i | |
| 301 | - class="fa fa-calendar"></i></span> | |
| 302 | - </div> | |
| 303 | - | |
| 304 | - </div> | |
| 305 | - </div> | |
| 306 | - <div class="form-group"> | |
| 307 | - <label class="col-sm-3 control-label">道路类型:</label> | |
| 308 | - <div class="col-sm-8"> | |
| 309 | - <div class="col-sm-8" th:with="type=${@dict.getType('roadType')}"> | |
| 310 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 311 | - style="display: block"> <input type="checkbox" | |
| 312 | - name="roadType" | |
| 313 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /> | |
| 314 | - </label> | |
| 315 | - </div> | |
| 316 | - </div> | |
| 317 | - </div> | |
| 318 | - <div class="form-group"> | |
| 319 | - <label class="col-sm-3 control-label">票价(多级票价用 - 隔开):</label> | |
| 320 | - <div class="col-sm-8"> | |
| 321 | - <input name="ticketPrice" class="form-control" type="text"> | |
| 322 | - </div> | |
| 323 | - </div> | |
| 324 | - <div class="form-group"> | |
| 325 | - <label class="col-sm-3 control-label">首站:</label> | |
| 326 | - <div class="col-sm-8"> | |
| 327 | - <input name="firstStation" class="form-control" type="text"> | |
| 328 | - </div> | |
| 329 | - </div> | |
| 330 | - <div class="form-group"> | |
| 331 | - <label class="col-sm-3 control-label">起讫站:</label> | |
| 332 | - <div class="col-sm-8"> | |
| 333 | - <input name="startEnd" class="form-control" type="text"> | |
| 334 | - </div> | |
| 335 | - </div> | |
| 336 | - <div class="form-group"> | |
| 337 | - <label class="col-sm-3 control-label">首战时间:</label> | |
| 338 | - <div class="col-sm-8"> | |
| 339 | - <input name="firstTime" class="form-control" type="text"> | |
| 340 | - </div> | |
| 341 | - </div> | |
| 342 | - <div class="form-group"> | |
| 343 | - <label class="col-sm-3 control-label">末站:</label> | |
| 344 | - <div class="col-sm-8"> | |
| 345 | - <input name="lastStation" class="form-control" type="text"> | |
| 346 | - </div> | |
| 347 | - </div> | |
| 348 | - <div class="form-group"> | |
| 349 | - <label class="col-sm-3 control-label">末站首战时间:</label> | |
| 350 | - <div class="col-sm-8"> | |
| 351 | - <input name="lastTime" class="form-control" type="text"> | |
| 352 | - </div> | |
| 353 | - </div> | |
| 354 | - <div class="form-group"> | |
| 355 | - <label class="col-sm-3 control-label">上行里程数:</label> | |
| 356 | - <div class="col-sm-8"> | |
| 357 | - <input name="mileageUp" class="form-control" type="text"> | |
| 358 | - </div> | |
| 359 | - </div> | |
| 360 | - <div class="form-group"> | |
| 361 | - <label class="col-sm-3 control-label">下行里程数:</label> | |
| 362 | - <div class="col-sm-8"> | |
| 363 | - <input name="mileageDown" class="form-control" type="text"> | |
| 364 | - </div> | |
| 365 | - </div> | |
| 366 | - <div class="form-group"> | |
| 367 | - <label class="col-sm-3 control-label">平均里程数:</label> | |
| 368 | - <div class="col-sm-8"> | |
| 369 | - <input name="averageMileage" class="form-control" type="text"> | |
| 370 | - </div> | |
| 371 | - </div> | |
| 372 | - <div class="form-group"> | |
| 373 | - <label class="col-sm-3 control-label">站级数(上行):</label> | |
| 374 | - <div class="col-sm-8"> | |
| 375 | - <input name="stationUp" class="form-control" type="text"> | |
| 376 | - </div> | |
| 377 | - </div> | |
| 378 | - <div class="form-group"> | |
| 379 | - <label class="col-sm-3 control-label">站级数(下行):</label> | |
| 380 | - <div class="col-sm-8"> | |
| 381 | - <input name="stationDown" class="form-control" type="text"> | |
| 382 | - </div> | |
| 383 | - </div> | |
| 384 | - <div class="form-group"> | |
| 385 | - <label class="col-sm-3 control-label">行驶时间(上行):</label> | |
| 386 | - <div class="col-sm-8"> | |
| 387 | - <input name="travelTimeUp" class="form-control" type="text"> | |
| 388 | - </div> | |
| 389 | - </div> | |
| 390 | - <div class="form-group"> | |
| 391 | - <label class="col-sm-3 control-label">行驶时间(下行):</label> | |
| 392 | - <div class="col-sm-8"> | |
| 393 | - <input name="travelTimeDown" class="form-control" type="text"> | |
| 394 | - </div> | |
| 395 | - </div> | |
| 396 | - <div class="form-group"> | |
| 397 | - <label class="col-sm-3 control-label">行驶间隔(高峰):</label> | |
| 398 | - <div class="col-sm-8"> | |
| 399 | - <input name="travelIntervalUp" class="form-control" type="text"> | |
| 400 | - </div> | |
| 401 | - </div> | |
| 402 | - <div class="form-group"> | |
| 403 | - <label class="col-sm-3 control-label">行驶间隔(低谷):</label> | |
| 404 | - <div class="col-sm-8"> | |
| 405 | - <input name="travelIntervalDown" class="form-control" type="text"> | |
| 406 | - </div> | |
| 407 | - </div> | |
| 408 | - <div class="form-group"> | |
| 409 | - <label class="col-sm-3 control-label">经营权证(大巴):</label> | |
| 410 | - <div class="col-sm-8"> | |
| 411 | - <input name="warrantVehiclesLarge" class="form-control" type="text"> | |
| 412 | - </div> | |
| 413 | - </div> | |
| 414 | - <div class="form-group"> | |
| 415 | - <label class="col-sm-3 control-label">经营权证(中巴):</label> | |
| 416 | - <div class="col-sm-8"> | |
| 417 | - <input name="warrantVehiclesMiddle" class="form-control" type="text"> | |
| 418 | - </div> | |
| 419 | - </div> | |
| 420 | - <div class="form-group"> | |
| 421 | - <label class="col-sm-3 control-label">实际配车数:</label> | |
| 422 | - <div class="col-sm-8"> | |
| 423 | - <input name="vehiclesNumber" class="form-control" type="text"> | |
| 424 | - </div> | |
| 425 | - </div> | |
| 426 | - <div class="form-group"> | |
| 427 | - <label class="col-sm-3 control-label">实际车辆数(大):</label> | |
| 428 | - <div class="col-sm-8"> | |
| 429 | - <input name="numberVehiclesLarge" class="form-control" type="text"> | |
| 430 | - </div> | |
| 431 | - </div> | |
| 432 | - <div class="form-group"> | |
| 433 | - <label class="col-sm-3 control-label">实际车辆数(中):</label> | |
| 434 | - <div class="col-sm-8"> | |
| 435 | - <input name="numberVehiclesMiddle" class="form-control" type="text"> | |
| 436 | - </div> | |
| 437 | - </div> | |
| 438 | - <div class="form-group"> | |
| 439 | - <label class="col-sm-3 control-label">车辆自编号:</label> | |
| 440 | - <div class="col-sm-8"> | |
| 441 | - <input name="carPlate" class="form-control" type="text"> | |
| 442 | - </div> | |
| 443 | - </div> | |
| 444 | - <div class="form-group"> | |
| 445 | - <label class="col-sm-3 control-label">线路总配人数:</label> | |
| 446 | - <div class="col-sm-8"> | |
| 447 | - <input name="numberPerson" class="form-control" type="text"> | |
| 448 | - </div> | |
| 449 | - </div> | |
| 450 | - <div class="form-group"> | |
| 451 | - <label class="col-sm-3 control-label">人数司机:</label> | |
| 452 | - <div class="col-sm-8"> | |
| 453 | - <input name="numberPersonDriver" class="form-control" type="text"> | |
| 454 | - </div> | |
| 455 | - </div> | |
| 456 | - <div class="form-group"> | |
| 457 | - <label class="col-sm-3 control-label">售票员数:</label> | |
| 458 | - <div class="col-sm-8"> | |
| 459 | - <input name="numberPersonSales" class="form-control" type="text"> | |
| 460 | - </div> | |
| 461 | - </div> | |
| 462 | - <div class="form-group"> | |
| 463 | - <label class="col-sm-3 control-label">新能源车数:</label> | |
| 464 | - <div class="col-sm-8"> | |
| 465 | - <input name="busEvNumber" class="form-control" type="text"> | |
| 466 | - </div> | |
| 467 | - </div> | |
| 468 | - <div class="form-group"> | |
| 469 | - <label class="col-sm-3 control-label">线路走向:</label> | |
| 470 | - <div class="col-sm-8"> | |
| 471 | - <textarea name="directions" class="form-control"></textarea> | |
| 472 | - </div> | |
| 473 | - </div> | |
| 474 | - <div class="form-group"> | |
| 475 | - <label class="col-sm-3 control-label">经营权证数:</label> | |
| 476 | - <div class="col-sm-8"> | |
| 477 | - <input name="numberOfManage" class="form-control" type="text"> | |
| 478 | - </div> | |
| 479 | - </div> | |
| 480 | - <div class="form-group"> | |
| 481 | - <label class="col-sm-3 control-label">站点名称:</label> | |
| 482 | - <div class="col-sm-8"> | |
| 483 | - <textarea name="halfwayStation" class="form-control"></textarea> | |
| 484 | - </div> | |
| 485 | - </div> | |
| 486 | - <div class="form-group"> | |
| 487 | - <label class="col-sm-3 control-label">高峰系数:</label> | |
| 488 | - <div class="col-sm-8"> | |
| 489 | - <input name="fullCustomerPercent" class="form-control" type="text"> | |
| 490 | - </div> | |
| 491 | - </div> | |
| 492 | - <div class="form-group"> | |
| 493 | - <label class="col-sm-3 control-label">低谷系数:</label> | |
| 494 | - <div class="col-sm-8"> | |
| 495 | - <input name="lowCustomerPercent" class="form-control" type="text"> | |
| 496 | - </div> | |
| 497 | - </div> | |
| 498 | - <div class="form-group"> | |
| 499 | - <label class="col-sm-3 control-label">间隔等级:</label> | |
| 500 | - <div class="col-sm-8"> | |
| 501 | - <input name="divideLevel" class="form-control" type="text"> | |
| 502 | - </div> | |
| 503 | - </div> | |
| 504 | - <div class="form-group"> | |
| 505 | - <label class="col-sm-3 control-label">是否挂牌:</label> | |
| 506 | - <div class="col-sm-8"> | |
| 507 | - <select name="hasTimelists" | |
| 508 | - th:with="type=${@dict.getType('trueFalse')}" | |
| 509 | - class="form-control m-b"> | |
| 510 | - <option value=""></option> | |
| 511 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 512 | - th:value="${dict.dictValue}"> | |
| 513 | - </option> | |
| 514 | - </select> | |
| 515 | - </div> | |
| 516 | - </div> | |
| 517 | - <div class="form-group"> | |
| 518 | - <label class="col-sm-3 control-label">是否轨交末班车衔接:</label> | |
| 519 | - <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" | |
| 520 | - class="form-control m-b"> | |
| 521 | - <option value=""></option> | |
| 522 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 523 | - th:value="${dict.dictValue}"></option> | |
| 524 | - </select> | |
| 525 | - </div> | |
| 526 | - <div class="form-group"> | |
| 527 | - <label class="col-sm-3 control-label">轨交时间:</label> | |
| 528 | - <div class="col-sm-8"> | |
| 529 | - <div class="input-group date"> | |
| 530 | - <input name="metroTime" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 531 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 532 | - </div> | |
| 533 | - </div> | |
| 534 | - </div> | |
| 535 | - <div class="form-group"> | |
| 536 | - <label class="col-sm-3 control-label">冷僻线路补贴类型:</label> | |
| 537 | - <div class="col-sm-8"> | |
| 538 | - <input name="coldBonusType" lass="form-control" type="text"> | |
| 539 | - </div> | |
| 540 | - </div> | |
| 541 | - <div class="form-group"> | |
| 542 | - <label class="col-sm-3 control-label">月度营收:</label> | |
| 543 | - <div class="col-sm-8"> | |
| 544 | - <input name="revenuesMonth" class="form-control" type="text"> | |
| 545 | - </div> | |
| 546 | - </div> | |
| 547 | - <div class="form-group"> | |
| 548 | - <label class="col-sm-3 control-label">月度人次:</label> | |
| 549 | - <div class="col-sm-8"> | |
| 550 | - <input name="personMonth" class="form-control" type="text"> | |
| 551 | - </div> | |
| 552 | - </div> | |
| 553 | - <div class="form-group"> | |
| 554 | - <label class="col-sm-3 control-label">月度里程:</label> | |
| 555 | - <div class="col-sm-8"> | |
| 556 | - <input name="mileageMonth" class="form-control" type="text"> | |
| 557 | - </div> | |
| 558 | - </div> | |
| 559 | - <div class="form-group"> | |
| 560 | - <label class="col-sm-3 control-label">百公里人次:</label> | |
| 561 | - <div class="col-sm-8"> | |
| 562 | - <input name="personMonthAvg" class="form-control" type="text"> | |
| 563 | - </div> | |
| 564 | - </div> | |
| 565 | - <div class="form-group"> | |
| 566 | - <label class="col-sm-3 control-label">营收:</label> | |
| 567 | - <div class="col-sm-8"> | |
| 568 | - <input name="revenues" class="form-control" type="text"> | |
| 569 | - </div> | |
| 570 | - </div> | |
| 571 | - <div class="form-group"> | |
| 572 | - <label class="col-sm-3 control-label">人次:</label> | |
| 573 | - <div class="col-sm-8"> | |
| 574 | - <input name="persons" class="form-control" type="text"> | |
| 575 | - </div> | |
| 576 | - </div> | |
| 577 | - <div class="form-group"> | |
| 578 | - <label class="col-sm-3 control-label">里程:</label> | |
| 579 | - <div class="col-sm-8"> | |
| 580 | - <input name="mileages" class="form-control" type="text"> | |
| 581 | - </div> | |
| 582 | - </div> | |
| 583 | - <div class="form-group"> | |
| 584 | - <label class="col-sm-3 control-label">百公里人次:</label> | |
| 585 | - <div class="col-sm-8"> | |
| 586 | - <input name="personAvg" class="form-control" type="text"> | |
| 587 | - </div> | |
| 588 | - </div> | |
| 589 | - <div class="form-group"> | |
| 590 | - <label class="col-sm-3 control-label">开通日期:</label> | |
| 591 | - <div class="col-sm-8"> | |
| 592 | - <div class="input-group date"> | |
| 593 | - <input name="startDate" class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off"> | |
| 594 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 595 | - </div> | |
| 596 | - </div> | |
| 597 | - </div> | |
| 598 | - </form> | |
| 599 | - </div> | |
| 600 | - <th:block th:include="include :: footer" /> | |
| 601 | - <th:block th:include="include :: datetimepicker-js" /> | |
| 602 | - <script th:inline="javascript"> | |
| 603 | - var prefix = ctx + "system/line" | |
| 604 | - $("#form-line-add").validate({ | |
| 605 | - rules:{ | |
| 606 | - isWarrantStartTime:{ | |
| 607 | - required:function (){ | |
| 608 | - return $('#isWarrant').val()==='1'; | |
| 609 | - }, | |
| 610 | - }, | |
| 611 | - isWarrantEndTime:{ | |
| 612 | - required:function (){ | |
| 613 | - return $('#isWarrant').val()==='1'; | |
| 614 | - }, | |
| 615 | - }, | |
| 616 | - }, | |
| 617 | - messages: { | |
| 618 | - isWarrantStartTime: { | |
| 619 | - required: "请选择日期", | |
| 620 | - }, | |
| 621 | - isWarrantEndTime: { | |
| 622 | - required: "请选择日期", | |
| 623 | - } | |
| 624 | - },focusCleanup: true | |
| 625 | - }); | |
| 626 | - | |
| 627 | - function submitHandler() { | |
| 628 | - if ($.validate.form()) { | |
| 629 | - $.operate.save(prefix + "/add", $('#form-line-add').serialize()); | |
| 630 | - } | |
| 631 | - } | |
| 632 | - | |
| 633 | - $("input[name='warrantStartTime']").datetimepicker({ | |
| 634 | - format: "yyyy-mm-dd", | |
| 635 | - minView: "month", | |
| 636 | - autoclose: true | |
| 637 | - }); | |
| 638 | - | |
| 639 | - $("input[name='warrantEndTime']").datetimepicker({ | |
| 640 | - format: "yyyy-mm-dd", | |
| 641 | - minView: "month", | |
| 642 | - autoclose: true | |
| 643 | - }); | |
| 644 | - | |
| 645 | - $("input[name='planCancelTime']").datetimepicker({ | |
| 646 | - format: "yyyy-mm-dd", | |
| 647 | - minView: "month", | |
| 648 | - autoclose: true | |
| 649 | - }); | |
| 650 | - | |
| 651 | - $("input[name='cancelTime']").datetimepicker({ | |
| 652 | - format: "yyyy-mm-dd", | |
| 653 | - minView: "month", | |
| 654 | - autoclose: true | |
| 655 | - }); | |
| 656 | - | |
| 657 | - $("input[name='updateTime']").datetimepicker({ | |
| 658 | - format: "yyyy-mm-dd", | |
| 659 | - minView: "month", | |
| 660 | - autoclose: true | |
| 661 | - }); | |
| 662 | - | |
| 663 | - $("input[name='timeSchedule']").datetimepicker({ | |
| 664 | - format: "yyyy-mm-dd", | |
| 665 | - minView: "month", | |
| 666 | - autoclose: true | |
| 667 | - }); | |
| 668 | - | |
| 669 | - $("input[name='metroTime']").datetimepicker({ | |
| 670 | - format: "yyyy-mm-dd", | |
| 671 | - minView: "month", | |
| 672 | - autoclose: true | |
| 673 | - }); | |
| 674 | - | |
| 675 | - $("input[name='startDate']").datetimepicker({ | |
| 676 | - format: "yyyy-mm-dd", | |
| 677 | - minView: "month", | |
| 678 | - autoclose: true | |
| 679 | - }); | |
| 680 | - | |
| 681 | - $("input[name='isWarrantStartTime']").datetimepicker({ | |
| 682 | - format: "yyyy-mm-dd", | |
| 683 | - minView: "month", | |
| 684 | - autoclose: true | |
| 685 | - }); | |
| 686 | - $("input[name='isWarrantEndTime']").datetimepicker({ | |
| 687 | - format: "yyyy-mm-dd", | |
| 688 | - minView: "month", | |
| 689 | - autoclose: true | |
| 690 | - }); | |
| 691 | - | |
| 692 | - </script> | |
| 693 | -</body> | |
| 694 | -</html> | |
| 695 | 0 | \ No newline at end of file |
bsthLineProfiles/src/main/resources/templates/system/lineHistory/detail.html deleted
100644 → 0
| 1 | -<!DOCTYPE html> | |
| 2 | -<html lang="zh" xmlns:th="http://www.thymeleaf.org"> | |
| 3 | -<head> | |
| 4 | -<th:block th:include="include :: header('修改【请填写功能名称】')" /> | |
| 5 | -<th:block th:include="include :: datetimepicker-css" /> | |
| 6 | -</head> | |
| 7 | -<body class="white-bg"> | |
| 8 | - <div class="wrapper wrapper-content animated fadeInRight ibox-content"> | |
| 9 | - <form class="form-horizontal m" id="form-line-edit" | |
| 10 | - th:object="${bsthTLine}"> | |
| 11 | - <input name="id" th:field="*{id}" type="hidden"> | |
| 12 | - <div class="form-group"> | |
| 13 | - <label class="col-sm-3 control-label">线路名称:</label> | |
| 14 | - <div class="col-sm-8"> | |
| 15 | - <input id="lineName" name="lineName" th:field="*{lineName}" class="form-control" | |
| 16 | - type="text" readonly> | |
| 17 | - </div> | |
| 18 | - </div> | |
| 19 | - <div class="form-group"> | |
| 20 | - <label class="col-sm-3 control-label">公司:</label> | |
| 21 | - <div class="col-sm-8"> | |
| 22 | - <input name="company" th:field="*{company}" class="form-control" | |
| 23 | - type="text" readonly> | |
| 24 | - </div> | |
| 25 | - </div> | |
| 26 | - <div class="form-group"> | |
| 27 | - <label class="col-sm-3 control-label">分公司:</label> | |
| 28 | - <div class="col-sm-8"> | |
| 29 | - <input name="fCompany" th:field="*{fCompany}" class="form-control" | |
| 30 | - type="text" readonly> | |
| 31 | - </div> | |
| 32 | - </div> | |
| 33 | - <div class="form-group"> | |
| 34 | - <label class="col-sm-3 control-label">主线路id:</label> | |
| 35 | - <div class="col-sm-8"> | |
| 36 | - <input name="pLineId" th:field="*{pLineId}" class="form-control" | |
| 37 | - type="text" readonly> | |
| 38 | - </div> | |
| 39 | - </div> | |
| 40 | - <div class="form-group"> | |
| 41 | - <label class="col-sm-3 control-label">营运方式:</label> | |
| 42 | - <div class="col-sm-8"> | |
| 43 | - <select name="serviceType" disabled | |
| 44 | - th:with="type=${@dict.getType('serviceType')}" class="form-control m-b"> | |
| 45 | - <option value=""></option> | |
| 46 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceType== null ? '' : bsthTLine.serviceType),#strings.toString(dict.dictValue))}"></option> | |
| 47 | - </select> | |
| 48 | - </div> | |
| 49 | - </div> | |
| 50 | - <div class="form-group"> | |
| 51 | - <label class="col-sm-3 control-label">线路属性:</label> | |
| 52 | - <div class="col-sm-8"> | |
| 53 | - <select name="lineLevel" disabled | |
| 54 | - th:with="type=${@dict.getType('lineLevel')}" class="form-control m-b"> | |
| 55 | - <option value=""></option> | |
| 56 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineLevel== null ? '' : bsthTLine.lineLevel),#strings.toString(dict.dictValue))}"></option> | |
| 57 | - </select> | |
| 58 | - </div> | |
| 59 | - </div> | |
| 60 | - <div class="form-group"> | |
| 61 | - <label class="col-sm-3 control-label">线路类型:</label> | |
| 62 | - <div class="col-sm-8"> | |
| 63 | - <select name="lineType" disabled | |
| 64 | - th:with="type=${@dict.getType('lineType')}" class="form-control m-b"> | |
| 65 | - <option value=""></option> | |
| 66 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineType== null ? '' : bsthTLine.lineType),#strings.toString(dict.dictValue))}"></option> | |
| 67 | - </select> | |
| 68 | - </div> | |
| 69 | - </div> | |
| 70 | - <div class="form-group"> | |
| 71 | - <label class="col-sm-3 control-label">区属:</label> | |
| 72 | - <div class="col-sm-8"> | |
| 73 | - | |
| 74 | - <select name="district" disabled | |
| 75 | - th:with="type=${@dict.getType('district')}" class="form-control m-b"> | |
| 76 | - <option value=""></option> | |
| 77 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.district== null ? '' : bsthTLine.district),#strings.toString(dict.dictValue))}"></option> | |
| 78 | - </select> | |
| 79 | - </div> | |
| 80 | - </div> | |
| 81 | - <div class="form-group"> | |
| 82 | - <label class="col-sm-3 control-label">是否区内:</label> | |
| 83 | - <div class="col-sm-8"> | |
| 84 | - <select name="inoutDistrict" disabled | |
| 85 | - th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> | |
| 86 | - <option value=""></option> | |
| 87 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.inoutDistrict== null ? '' : bsthTLine.inoutDistrict),#strings.toString(dict.dictValue))}"></option> | |
| 88 | - </select> | |
| 89 | - </div> | |
| 90 | - </div> | |
| 91 | - <div class="form-group"> | |
| 92 | - <label class="col-sm-3 control-label">营运状态:</label> | |
| 93 | - <div class="col-sm-8"> | |
| 94 | - | |
| 95 | - <select name="serviceState" disabled | |
| 96 | - th:with="type=${@dict.getType('serviceState')}" class="form-control m-b"> | |
| 97 | - <option value=""></option> | |
| 98 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceState== null ? '' : bsthTLine.serviceState),#strings.toString(dict.dictValue))}"></option> | |
| 99 | - </select> | |
| 100 | - </div> | |
| 101 | - </div> | |
| 102 | - <div class="form-group"> | |
| 103 | - <label class="col-sm-3 control-label">车辆类型:</label> | |
| 104 | - <div class="col-sm-8" th:with="type=${@dict.getType('busType')}"> | |
| 105 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 106 | - style="display: block"> <input type="checkbox" disabled | |
| 107 | - name="busType" | |
| 108 | - th:checked="${#arrays.contains(#strings.arraySplit(bsthTLine.busType == null ? '' : bsthTLine.busType ,','),#strings.toString(dict.dictValue))}" | |
| 109 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /></label> | |
| 110 | - </div> | |
| 111 | - </div> | |
| 112 | - <div class="form-group"> | |
| 113 | - <label class="col-sm-3 control-label">是否空调:</label> | |
| 114 | - <div class="col-sm-8"> | |
| 115 | - | |
| 116 | - <select name="airConditionerType" disabled | |
| 117 | - th:with="type=${@dict.getType('airConditionerType')}" class="form-control m-b"> | |
| 118 | - <option value=""></option> | |
| 119 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.airConditionerType== null ? '' : bsthTLine.airConditionerType),#strings.toString(dict.dictValue))}"></option> | |
| 120 | - </select> | |
| 121 | - </div> | |
| 122 | - </div> | |
| 123 | - <div class="form-group"> | |
| 124 | - <label class="col-sm-3 control-label">售票类型:</label> | |
| 125 | - <div class="col-sm-8"> | |
| 126 | - <select name="sellTicketType" disabled | |
| 127 | - th:with="type=${@dict.getType('sellTicketType')}" class="form-control m-b"> | |
| 128 | - <option value=""></option> | |
| 129 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.sellTicketType== null ? '' : bsthTLine.sellTicketType),#strings.toString(dict.dictValue))}"></option> | |
| 130 | - </select> | |
| 131 | - </div> | |
| 132 | - </div> | |
| 133 | - <div class="form-group"> | |
| 134 | - <label class="col-sm-3 control-label">运营时间:</label> | |
| 135 | - <div class="col-sm-8"> | |
| 136 | - <select name="serviceTime" disabled | |
| 137 | - th:with="type=${@dict.getType('serviceTime')}" class="form-control m-b"> | |
| 138 | - <option value=""></option> | |
| 139 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.serviceTime== null ? '' : bsthTLine.serviceTime),#strings.toString(dict.dictValue))}"></option> | |
| 140 | - </select> | |
| 141 | - </div> | |
| 142 | - </div> | |
| 143 | - <div class="form-group"> | |
| 144 | - <label class="col-sm-3 control-label">线路长度:</label> | |
| 145 | - <div class="col-sm-8"> | |
| 146 | - <input name="lineDistance" th:field="*{lineDistance}" | |
| 147 | - class="form-control" type="text" readonly> | |
| 148 | - </div> | |
| 149 | - </div> | |
| 150 | - <div class="form-group"> | |
| 151 | - <label class="col-sm-3 control-label">线路编码:</label> | |
| 152 | - <div class="col-sm-8"> | |
| 153 | - <input name="lineCode" th:field="*{lineCode}" class="form-control" | |
| 154 | - type="text" readonly> | |
| 155 | - </div> | |
| 156 | - </div> | |
| 157 | - <div class="form-group"> | |
| 158 | - <label class="col-sm-3 control-label">授权年限:</label> | |
| 159 | - <div class="col-sm-8"> | |
| 160 | - <input name="warrantYear" th:field="*{warrantYear}" | |
| 161 | - class="form-control" type="text" readonly> | |
| 162 | - </div> | |
| 163 | - </div> | |
| 164 | - <div class="form-group"> | |
| 165 | - <label class="col-sm-3 control-label">授权起始日期:</label> | |
| 166 | - <div class="col-sm-8"> | |
| 167 | - <div class="input-group date"> | |
| 168 | - <input name="warrantStartTime" | |
| 169 | - th:value="${#dates.format(bsthTLine.warrantStartTime, 'yyyy-MM-dd')}" | |
| 170 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 171 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 172 | - </div> | |
| 173 | - </div> | |
| 174 | - </div> | |
| 175 | - <div class="form-group"> | |
| 176 | - <label class="col-sm-3 control-label">授权结束日期:</label> | |
| 177 | - <div class="col-sm-8"> | |
| 178 | - <div class="input-group date"> | |
| 179 | - <input name="warrantEndTime" | |
| 180 | - th:value="${#dates.format(bsthTLine.warrantEndTime, 'yyyy-MM-dd')}" | |
| 181 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 182 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 183 | - </div> | |
| 184 | - </div> | |
| 185 | - </div> | |
| 186 | - <div class="form-group"> | |
| 187 | - <label class="col-sm-3 control-label">撤销日期:</label> | |
| 188 | - <div class="col-sm-8"> | |
| 189 | - <div class="input-group date"> | |
| 190 | - <input name="planCancelTime" | |
| 191 | - th:value="${#dates.format(bsthTLine.planCancelTime, 'yyyy-MM-dd')}" | |
| 192 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 193 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 194 | - </div> | |
| 195 | - </div> | |
| 196 | - </div> | |
| 197 | - <div class="form-group"> | |
| 198 | - <label class="col-sm-3 control-label">实际撤销日期:</label> | |
| 199 | - <div class="col-sm-8"> | |
| 200 | - <div class="input-group date"> | |
| 201 | - <input name="cancelTime" | |
| 202 | - th:value="${#dates.format(bsthTLine.cancelTime, 'yyyy-MM-dd')}" | |
| 203 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 204 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 205 | - </div> | |
| 206 | - </div> | |
| 207 | - </div> | |
| 208 | - <div class="form-group"> | |
| 209 | - <label class="col-sm-3 control-label">撤销原因:</label> | |
| 210 | - <div class="col-sm-8"> | |
| 211 | - <textarea name="cancelReason" class="form-control">[[*{cancelReason}]]</textarea> | |
| 212 | - </div> | |
| 213 | - </div> | |
| 214 | - <div class="form-group"> | |
| 215 | - <label class="col-sm-3 control-label">备注:</label> | |
| 216 | - <div class="col-sm-8"> | |
| 217 | - <textarea name="remark" class="form-control" readonly>[[*{remark}]]</textarea> | |
| 218 | - </div> | |
| 219 | - </div> | |
| 220 | - <div class="form-group"> | |
| 221 | - <label class="col-sm-3 control-label">是否逻辑删除:</label> | |
| 222 | - <div class="col-sm-8"> | |
| 223 | - | |
| 224 | - <select name="isLogicDelete" | |
| 225 | - th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> | |
| 226 | - <option value=""></option> | |
| 227 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.isLogicDelete == null ? '' : bsthTLine.isLogicDelete),#strings.toString(dict.dictValue))}"></option> | |
| 228 | - </select> | |
| 229 | - </div> | |
| 230 | - </div> | |
| 231 | - <div class="form-group"> | |
| 232 | - <label class="col-sm-3 control-label">行车作业计划表报备时间:</label> | |
| 233 | - <div class="col-sm-8"> | |
| 234 | - <div class="input-group date"> | |
| 235 | - <input name="timeSchedule" | |
| 236 | - th:value="${#dates.format(bsthTLine.timeSchedule, 'yyyy-MM-dd')}" | |
| 237 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 238 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 239 | - </div> | |
| 240 | - </div> | |
| 241 | - </div> | |
| 242 | - <div class="form-group"> | |
| 243 | - <label class="col-sm-3 control-label">停车场:</label> | |
| 244 | - <div class="col-sm-8"> | |
| 245 | - <input name="park" th:field="*{park}" class="form-control" | |
| 246 | - type="text" readonly> | |
| 247 | - </div> | |
| 248 | - </div> | |
| 249 | - <div class="form-group"> | |
| 250 | - <label class="col-sm-3 control-label">是否权证:</label> | |
| 251 | - <div class="col-sm-8"> | |
| 252 | - <select name="isWarrant" disabled | |
| 253 | - th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> | |
| 254 | - <option value=""></option> | |
| 255 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.isWarrant== null ? '' : bsthTLine.isWarrant),#strings.toString(dict.dictValue))}"></option> | |
| 256 | - </select> | |
| 257 | - </div> | |
| 258 | - </div> | |
| 259 | - <div class="form-group"> | |
| 260 | - <label class="col-sm-3 control-label">道路类型:</label> | |
| 261 | - <div class="col-sm-8"> | |
| 262 | - <div class="col-sm-8" th:with="type=${@dict.getType('roadType')}"> | |
| 263 | - <label class="checkbox-inline" th:each="dict : ${type}" | |
| 264 | - style="display: block"> <input type="checkbox" | |
| 265 | - name="roadType" disabled | |
| 266 | - th:checked="${#arrays.contains(#strings.arraySplit(bsthTLine.roadType == null ? '' : bsthTLine.roadType ,','),#strings.toString(dict.dictValue))}" | |
| 267 | - th:text="${dict.dictLabel}" th:value="${dict.dictValue}" /></label> | |
| 268 | - </div> | |
| 269 | - </div> | |
| 270 | - </div> | |
| 271 | - <div class="form-group"> | |
| 272 | - <label class="col-sm-3 control-label">票价(多级票价用 - 隔开):</label> | |
| 273 | - <div class="col-sm-8"> | |
| 274 | - <input name="ticketPrice" th:field="*{ticketPrice}" | |
| 275 | - class="form-control" type="text" readonly> | |
| 276 | - </div> | |
| 277 | - </div> | |
| 278 | - <div class="form-group"> | |
| 279 | - <label class="col-sm-3 control-label">首站:</label> | |
| 280 | - <div class="col-sm-8"> | |
| 281 | - <input name="firstStation" th:field="*{firstStation}" | |
| 282 | - class="form-control" type="text" readonly> | |
| 283 | - </div> | |
| 284 | - </div> | |
| 285 | - <div class="form-group"> | |
| 286 | - <label class="col-sm-3 control-label">起讫站:</label> | |
| 287 | - <div class="col-sm-8"> | |
| 288 | - <input name="startEnd" th:field="*{startEnd}" class="form-control" | |
| 289 | - type="text" readonly> | |
| 290 | - </div> | |
| 291 | - </div> | |
| 292 | - <div class="form-group"> | |
| 293 | - <label class="col-sm-3 control-label">首战时间:</label> | |
| 294 | - <div class="col-sm-8"> | |
| 295 | - <input name="firstTime" th:field="*{firstTime}" | |
| 296 | - class="form-control" type="text" readonly> | |
| 297 | - </div> | |
| 298 | - </div> | |
| 299 | - <div class="form-group"> | |
| 300 | - <label class="col-sm-3 control-label">末站:</label> | |
| 301 | - <div class="col-sm-8"> | |
| 302 | - <input name="lastStation" th:field="*{lastStation}" | |
| 303 | - class="form-control" type="text" readonly> | |
| 304 | - </div> | |
| 305 | - </div> | |
| 306 | - <div class="form-group"> | |
| 307 | - <label class="col-sm-3 control-label">末站首战时间:</label> | |
| 308 | - <div class="col-sm-8"> | |
| 309 | - <input name="lastTime" th:field="*{lastTime}" class="form-control" | |
| 310 | - type="text" readonly> | |
| 311 | - </div> | |
| 312 | - </div> | |
| 313 | - <div class="form-group"> | |
| 314 | - <label class="col-sm-3 control-label">上行里程数:</label> | |
| 315 | - <div class="col-sm-8"> | |
| 316 | - <input name="mileageUp" th:field="*{mileageUp}" | |
| 317 | - class="form-control" type="text" readonly> | |
| 318 | - </div> | |
| 319 | - </div> | |
| 320 | - <div class="form-group"> | |
| 321 | - <label class="col-sm-3 control-label">下行里程数:</label> | |
| 322 | - <div class="col-sm-8"> | |
| 323 | - <input name="mileageDown" th:field="*{mileageDown}" | |
| 324 | - class="form-control" type="text" readonly> | |
| 325 | - </div> | |
| 326 | - </div> | |
| 327 | - <div class="form-group"> | |
| 328 | - <label class="col-sm-3 control-label">平均里程数:</label> | |
| 329 | - <div class="col-sm-8"> | |
| 330 | - <input name="averageMileage" th:field="*{averageMileage}" | |
| 331 | - class="form-control" type="text" readonly> | |
| 332 | - </div> | |
| 333 | - </div> | |
| 334 | - <div class="form-group"> | |
| 335 | - <label class="col-sm-3 control-label">站级数(上行):</label> | |
| 336 | - <div class="col-sm-8"> | |
| 337 | - <input name="stationUp" th:field="*{stationUp}" | |
| 338 | - class="form-control" type="text" readonly> | |
| 339 | - </div> | |
| 340 | - </div> | |
| 341 | - <div class="form-group"> | |
| 342 | - <label class="col-sm-3 control-label">站级数(下行):</label> | |
| 343 | - <div class="col-sm-8"> | |
| 344 | - <input name="stationDown" th:field="*{stationDown}" | |
| 345 | - class="form-control" type="text" readonly> | |
| 346 | - </div> | |
| 347 | - </div> | |
| 348 | - <div class="form-group"> | |
| 349 | - <label class="col-sm-3 control-label">行驶时间(上行):</label> | |
| 350 | - <div class="col-sm-8"> | |
| 351 | - <input name="travelTimeUp" th:field="*{travelTimeUp}" | |
| 352 | - class="form-control" type="text" readonly> | |
| 353 | - </div> | |
| 354 | - </div> | |
| 355 | - <div class="form-group"> | |
| 356 | - <label class="col-sm-3 control-label">行驶时间(下行):</label> | |
| 357 | - <div class="col-sm-8"> | |
| 358 | - <input name="travelTimeDown" th:field="*{travelTimeDown}" | |
| 359 | - class="form-control" type="text" readonly> | |
| 360 | - </div> | |
| 361 | - </div> | |
| 362 | - <div class="form-group"> | |
| 363 | - <label class="col-sm-3 control-label">行驶间隔(高峰):</label> | |
| 364 | - <div class="col-sm-8"> | |
| 365 | - <input name="travelIntervalUp" th:field="*{travelIntervalUp}" | |
| 366 | - class="form-control" type="text" readonly> | |
| 367 | - </div> | |
| 368 | - </div> | |
| 369 | - <div class="form-group"> | |
| 370 | - <label class="col-sm-3 control-label">行驶间隔(低谷):</label> | |
| 371 | - <div class="col-sm-8"> | |
| 372 | - <input name="travelIntervalDown" th:field="*{travelIntervalDown}" | |
| 373 | - class="form-control" type="text" readonly> | |
| 374 | - </div> | |
| 375 | - </div> | |
| 376 | - <div class="form-group"> | |
| 377 | - <label class="col-sm-3 control-label">经营权证(大巴):</label> | |
| 378 | - <div class="col-sm-8"> | |
| 379 | - <input name="warrantVehiclesLarge" | |
| 380 | - th:field="*{warrantVehiclesLarge}" class="form-control" | |
| 381 | - type="text" readonly> | |
| 382 | - </div> | |
| 383 | - </div> | |
| 384 | - <div class="form-group"> | |
| 385 | - <label class="col-sm-3 control-label">经营权证(中巴):</label> | |
| 386 | - <div class="col-sm-8"> | |
| 387 | - <input name="warrantVehiclesMiddle" | |
| 388 | - th:field="*{warrantVehiclesMiddle}" class="form-control" | |
| 389 | - type="text" readonly> | |
| 390 | - </div> | |
| 391 | - </div> | |
| 392 | - <div class="form-group"> | |
| 393 | - <label class="col-sm-3 control-label">实际配车数:</label> | |
| 394 | - <div class="col-sm-8"> | |
| 395 | - <input name="vehiclesNumber" th:field="*{vehiclesNumber}" | |
| 396 | - class="form-control" type="text" readonly> | |
| 397 | - </div> | |
| 398 | - </div> | |
| 399 | - <div class="form-group"> | |
| 400 | - <label class="col-sm-3 control-label">实际车辆数(大巴):</label> | |
| 401 | - <div class="col-sm-8"> | |
| 402 | - <input name="numberVehiclesLarge" th:field="*{numberVehiclesLarge}" | |
| 403 | - class="form-control" type="text" readonly> | |
| 404 | - </div> | |
| 405 | - </div> | |
| 406 | - <div class="form-group"> | |
| 407 | - <label class="col-sm-3 control-label">实际车辆数(中巴):</label> | |
| 408 | - <div class="col-sm-8"> | |
| 409 | - <input name="numberVehiclesMiddle" | |
| 410 | - th:field="*{numberVehiclesMiddle}" class="form-control" | |
| 411 | - type="text" readonly> | |
| 412 | - </div> | |
| 413 | - </div> | |
| 414 | - <div class="form-group"> | |
| 415 | - <label class="col-sm-3 control-label">车辆自编号:</label> | |
| 416 | - <div class="col-sm-8"> | |
| 417 | - <input name="carPlate" th:field="*{carPlate}" class="form-control" | |
| 418 | - type="text" readonly> | |
| 419 | - </div> | |
| 420 | - </div> | |
| 421 | - <div class="form-group"> | |
| 422 | - <label class="col-sm-3 control-label">线路总配人数:</label> | |
| 423 | - <div class="col-sm-8"> | |
| 424 | - <input name="numberPerson" th:field="*{numberPerson}" | |
| 425 | - class="form-control" type="text" readonly> | |
| 426 | - </div> | |
| 427 | - </div> | |
| 428 | - <div class="form-group"> | |
| 429 | - <label class="col-sm-3 control-label">人数司机:</label> | |
| 430 | - <div class="col-sm-8"> | |
| 431 | - <input name="numberPersonDriver" th:field="*{numberPersonDriver}" | |
| 432 | - class="form-control" type="text" readonly> | |
| 433 | - </div> | |
| 434 | - </div> | |
| 435 | - <div class="form-group"> | |
| 436 | - <label class="col-sm-3 control-label">售票员数:</label> | |
| 437 | - <div class="col-sm-8"> | |
| 438 | - <input name="numberPersonSales" th:field="*{numberPersonSales}" | |
| 439 | - class="form-control" type="text" readonly> | |
| 440 | - </div> | |
| 441 | - </div> | |
| 442 | - <div class="form-group"> | |
| 443 | - <label class="col-sm-3 control-label">新能源车数:</label> | |
| 444 | - <div class="col-sm-8"> | |
| 445 | - <input name="busEvNumber" th:field="*{busEvNumber}" | |
| 446 | - class="form-control" type="text" readonly> | |
| 447 | - </div> | |
| 448 | - </div> | |
| 449 | - <div class="form-group"> | |
| 450 | - <label class="col-sm-3 control-label">线路走向:</label> | |
| 451 | - <div class="col-sm-8"> | |
| 452 | - <textarea name="directions" class="form-control" readonly>[[*{directions}]]</textarea> | |
| 453 | - </div> | |
| 454 | - </div> | |
| 455 | - <div class="form-group"> | |
| 456 | - <label class="col-sm-3 control-label">经营权证数:</label> | |
| 457 | - <div class="col-sm-8"> | |
| 458 | - <input name="numberOfManage" th:field="*{numberOfManage}" | |
| 459 | - class="form-control" type="text" readonly> | |
| 460 | - </div> | |
| 461 | - </div> | |
| 462 | - <div class="form-group"> | |
| 463 | - <label class="col-sm-3 control-label">站点名称:</label> | |
| 464 | - <div class="col-sm-8"> | |
| 465 | - <textarea name="halfwayStation" class="form-control" readonly>[[*{halfwayStation}]]</textarea> | |
| 466 | - </div> | |
| 467 | - </div> | |
| 468 | - <div class="form-group"> | |
| 469 | - <label class="col-sm-3 control-label">高峰系数:</label> | |
| 470 | - <div class="col-sm-8"> | |
| 471 | - <input name="fullCustomerPercent" th:field="*{fullCustomerPercent}" | |
| 472 | - class="form-control" type="text" readonly> | |
| 473 | - </div> | |
| 474 | - </div> | |
| 475 | - <div class="form-group"> | |
| 476 | - <label class="col-sm-3 control-label">低谷系数:</label> | |
| 477 | - <div class="col-sm-8"> | |
| 478 | - <input name="lowCustomerPercent" th:field="*{lowCustomerPercent}" | |
| 479 | - class="form-control" type="text" readonly> | |
| 480 | - </div> | |
| 481 | - </div> | |
| 482 | - <div class="form-group"> | |
| 483 | - <label class="col-sm-3 control-label">间隔等级:</label> | |
| 484 | - <div class="col-sm-8"> | |
| 485 | - <input name="divideLevel" th:field="*{divideLevel}" | |
| 486 | - class="form-control" type="text" readonly> | |
| 487 | - </div> | |
| 488 | - </div> | |
| 489 | - <div class="form-group"> | |
| 490 | - <label class="col-sm-3 control-label">是否挂牌:</label> | |
| 491 | - <div class="col-sm-8"> | |
| 492 | - <select name="hasTimelists" disabled | |
| 493 | - th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b"> | |
| 494 | - <option value=""></option> | |
| 495 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.hasTimelists == null ? '' : bsthTLine.hasTimelists),#strings.toString(dict.dictValue))}"></option> | |
| 496 | - </select> | |
| 497 | - </div> | |
| 498 | - </div> | |
| 499 | - <div class="form-group"> | |
| 500 | - <label class="col-sm-3 control-label">是否轨交末班车衔接:</label> | |
| 501 | - <div class="col-sm-8"> | |
| 502 | - <select name="isMetro" th:with="type=${@dict.getType('trueFalse')}" class="form-control m-b" disabled> | |
| 503 | - <option value=""></option> | |
| 504 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${#arrays.contains(#strings.toString(bsthTLine.isMetro == null ? '' : bsthTLine.isMetro),#strings.toString(dict.dictValue))}"></option> | |
| 505 | - </select> | |
| 506 | - </div> | |
| 507 | - </div> | |
| 508 | - <div class="form-group"> | |
| 509 | - <label class="col-sm-3 control-label">轨交时间:</label> | |
| 510 | - <div class="col-sm-8"> | |
| 511 | - <div class="input-group date"> | |
| 512 | - <input name="metroTime" class="form-control" placeholder="HH:mm:ss" th:value="*{metroTime}" readonly> | |
| 513 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 514 | - </div> | |
| 515 | - </div> | |
| 516 | - </div> | |
| 517 | - <div class="form-group"> | |
| 518 | - <label class="col-sm-3 control-label">冷僻线路补贴类型:</label> | |
| 519 | - <div class="col-sm-8"> | |
| 520 | - <input name="coldBonusType" th:field="*{coldBonusType}" | |
| 521 | - class="form-control" type="text" readonly> | |
| 522 | - </div> | |
| 523 | - </div> | |
| 524 | - <div class="form-group"> | |
| 525 | - <label class="col-sm-3 control-label">月度营收:</label> | |
| 526 | - <div class="col-sm-8"> | |
| 527 | - <input name="revenuesMonth" th:field="*{revenuesMonth}" | |
| 528 | - class="form-control" type="text" readonly> | |
| 529 | - </div> | |
| 530 | - </div> | |
| 531 | - <div class="form-group"> | |
| 532 | - <label class="col-sm-3 control-label">月度人次:</label> | |
| 533 | - <div class="col-sm-8"> | |
| 534 | - <input name="personMonth" th:field="*{personMonth}" | |
| 535 | - class="form-control" type="text" readonly> | |
| 536 | - </div> | |
| 537 | - </div> | |
| 538 | - <div class="form-group"> | |
| 539 | - <label class="col-sm-3 control-label">月度里程:</label> | |
| 540 | - <div class="col-sm-8"> | |
| 541 | - <input name="mileageMonth" th:field="*{mileageMonth}" | |
| 542 | - class="form-control" type="text" readonly> | |
| 543 | - </div> | |
| 544 | - </div> | |
| 545 | - <div class="form-group"> | |
| 546 | - <label class="col-sm-3 control-label">百公里人次:</label> | |
| 547 | - <div class="col-sm-8"> | |
| 548 | - <input name="personMonthAvg" th:field="*{personMonthAvg}" | |
| 549 | - class="form-control" type="text" readonly> | |
| 550 | - </div> | |
| 551 | - </div> | |
| 552 | - <div class="form-group"> | |
| 553 | - <label class="col-sm-3 control-label">营收:</label> | |
| 554 | - <div class="col-sm-8"> | |
| 555 | - <input name="revenues" th:field="*{revenues}" class="form-control" | |
| 556 | - type="text" readonly> | |
| 557 | - </div> | |
| 558 | - </div> | |
| 559 | - <div class="form-group"> | |
| 560 | - <label class="col-sm-3 control-label">人次:</label> | |
| 561 | - <div class="col-sm-8"> | |
| 562 | - <input name="persons" th:field="*{persons}" class="form-control" | |
| 563 | - type="text" readonly> | |
| 564 | - </div> | |
| 565 | - </div> | |
| 566 | - <div class="form-group"> | |
| 567 | - <label class="col-sm-3 control-label">里程:</label> | |
| 568 | - <div class="col-sm-8"> | |
| 569 | - <input name="mileages" th:field="*{mileages}" class="form-control" | |
| 570 | - type="text" readonly> | |
| 571 | - </div> | |
| 572 | - </div> | |
| 573 | - <div class="form-group"> | |
| 574 | - <label class="col-sm-3 control-label">百公里人次:</label> | |
| 575 | - <div class="col-sm-8"> | |
| 576 | - <input name="personAvg" th:field="*{personAvg}" | |
| 577 | - class="form-control" type="text" readonly> | |
| 578 | - </div> | |
| 579 | - </div> | |
| 580 | - | |
| 581 | - <div class="form-group"> | |
| 582 | - <label class="col-sm-3 control-label">启用时间:</label> | |
| 583 | - <div class="col-sm-8"> | |
| 584 | - <div class="input-group date"> | |
| 585 | - <input name="startDate" | |
| 586 | - th:value="${#dates.format(bsthTLine.startDate, 'yyyy-MM-dd')}" | |
| 587 | - class="form-control" placeholder="yyyy-MM-dd" type="text" autocomplete="off" readonly> | |
| 588 | - <span class="input-group-addon"><i class="fa fa-calendar"></i></span> | |
| 589 | - </div> | |
| 590 | - | |
| 591 | - </div> | |
| 592 | - </div> | |
| 593 | - <div class="form-group"> | |
| 594 | - <label class="col-sm-3 control-label">线路性质:</label> | |
| 595 | - <div class="col-sm-8"> | |
| 596 | - <select name="lineUpdateType" disabled | |
| 597 | - th:with="type=${@dict.getType('lineUpdateType')}" | |
| 598 | - class="form-control m-b"> | |
| 599 | - <option value=""></option> | |
| 600 | - <option th:each="dict : ${type}" th:text="${dict.dictLabel}" | |
| 601 | - th:value="${dict.dictValue}" | |
| 602 | - th:selected="${#arrays.contains(#strings.toString(bsthTLine.lineUpdateType== null ? '' : bsthTLine.lineUpdateType),#strings.toString(dict.dictValue))}"></option> | |
| 603 | - </select> | |
| 604 | - </div> | |
| 605 | - </div> | |
| 606 | - <div class="form-group"> | |
| 607 | - <label class="col-sm-3 control-label">启用原因:</label> | |
| 608 | - <div class="col-sm-8"> | |
| 609 | - <textarea name="startReason" class="form-control" readonly>[[*{startReason}]]</textarea> | |
| 610 | - </div> | |
| 611 | - </div> | |
| 612 | - </form> | |
| 613 | - </div> | |
| 614 | - <th:block th:include="include :: footer" /> | |
| 615 | - <th:block th:include="include :: datetimepicker-js" /> | |
| 616 | - <script th:inline="javascript"> | |
| 617 | - var prefix = ctx + "system/lineHistory"; | |
| 618 | - | |
| 619 | - $(function(){ | |
| 620 | - | |
| 621 | - | |
| 622 | - $.post("/system/line/findByName",{name:$("#lineName").val()},function(data){ | |
| 623 | - | |
| 624 | - for(var i in data){ | |
| 625 | - | |
| 626 | - if(i == "startDate" || i == "startReason" || !data[i])continue; | |
| 627 | - | |
| 628 | - var inputValue = ""; | |
| 629 | - | |
| 630 | - if($("input[name="+i+"]").length > 1){ | |
| 631 | - | |
| 632 | - for(var j =0 ;j< $("input[name="+i+"]").length ; j++){ | |
| 633 | - if($("input[name="+i+"]")[j].checked) | |
| 634 | - inputValue += $("input[name="+i+"]")[j].value + ","; | |
| 635 | - } | |
| 636 | - inputValue = inputValue.substring(0,inputValue.length -1); | |
| 637 | - | |
| 638 | - if(data[i] != inputValue){ | |
| 639 | - $($("input[name="+i+"]")[0]).parent().parent().css("background","red"); | |
| 640 | - } | |
| 641 | - continue; | |
| 642 | - | |
| 643 | - } | |
| 644 | - | |
| 645 | - | |
| 646 | - var dom = $("input[name="+i+"]")[0]; | |
| 647 | - | |
| 648 | - if(!dom){ | |
| 649 | - dom = $("select[name="+i+"]")[0]; | |
| 650 | - } | |
| 651 | - | |
| 652 | - if(!dom){ | |
| 653 | - dom = $("textarea[name="+i+"]")[0]; | |
| 654 | - } | |
| 655 | - | |
| 656 | - | |
| 657 | - if(dom){ | |
| 658 | - | |
| 659 | - inputValue = dom.value; | |
| 660 | - | |
| 661 | - if(data[i] != inputValue){ | |
| 662 | - | |
| 663 | - $(dom).css("background","red"); | |
| 664 | - | |
| 665 | - } | |
| 666 | - | |
| 667 | - | |
| 668 | - } | |
| 669 | - | |
| 670 | - | |
| 671 | - | |
| 672 | - | |
| 673 | - | |
| 674 | - } | |
| 675 | - | |
| 676 | - | |
| 677 | - }); | |
| 678 | - | |
| 679 | - }) | |
| 680 | - | |
| 681 | - function getParent(obj,className){ | |
| 682 | - var parent = obj; | |
| 683 | - | |
| 684 | - while(parent[0] && parent[0].className != className){ | |
| 685 | - parent = parent.parent(); | |
| 686 | - } | |
| 687 | - return parent; | |
| 688 | - } | |
| 689 | - | |
| 690 | - | |
| 691 | - $("#form-line-edit").validate({ | |
| 692 | - focusCleanup : true | |
| 693 | - }); | |
| 694 | - | |
| 695 | - function submitHandler() { | |
| 696 | - if ($.validate.form()) { | |
| 697 | - $.operate.save(prefix + "/edit", $('#form-line-edit') | |
| 698 | - .serialize()); | |
| 699 | - } | |
| 700 | - } | |
| 701 | - | |
| 702 | - $("input[name='warrantStartTime']").datetimepicker({ | |
| 703 | - format : "yyyy-mm-dd", | |
| 704 | - minView : "month", | |
| 705 | - autoclose : true | |
| 706 | - }); | |
| 707 | - | |
| 708 | - $("input[name='warrantEndTime']").datetimepicker({ | |
| 709 | - format : "yyyy-mm-dd", | |
| 710 | - minView : "month", | |
| 711 | - autoclose : true | |
| 712 | - }); | |
| 713 | - | |
| 714 | - $("input[name='planCancelTime']").datetimepicker({ | |
| 715 | - format : "yyyy-mm-dd", | |
| 716 | - minView : "month", | |
| 717 | - autoclose : true | |
| 718 | - }); | |
| 719 | - | |
| 720 | - $("input[name='cancelTime']").datetimepicker({ | |
| 721 | - format : "yyyy-mm-dd", | |
| 722 | - minView : "month", | |
| 723 | - autoclose : true | |
| 724 | - }); | |
| 725 | - | |
| 726 | - $("input[name='updateTime']").datetimepicker({ | |
| 727 | - format : "yyyy-mm-dd", | |
| 728 | - minView : "month", | |
| 729 | - autoclose : true | |
| 730 | - }); | |
| 731 | - | |
| 732 | - $("input[name='timeSchedule']").datetimepicker({ | |
| 733 | - format : "yyyy-mm-dd", | |
| 734 | - minView : "month", | |
| 735 | - autoclose : true | |
| 736 | - }); | |
| 737 | - | |
| 738 | - | |
| 739 | - $("input[name='startDate']").datetimepicker({ | |
| 740 | - format : "yyyy-mm-dd", | |
| 741 | - minView : "month", | |
| 742 | - autoclose : true | |
| 743 | - }); | |
| 744 | - </script> | |
| 745 | -</body> | |
| 746 | -</html> | |
| 747 | 0 | \ No newline at end of file |
bsthLineProfiles/src/main/resources/templates/system/lineHistory/line.html
| ... | ... | @@ -208,10 +208,6 @@ |
| 208 | 208 | title: '分公司' |
| 209 | 209 | }, |
| 210 | 210 | { |
| 211 | - field: 'pLineId', | |
| 212 | - title: '主线路id' | |
| 213 | - }, | |
| 214 | - { | |
| 215 | 211 | field: 'serviceType', |
| 216 | 212 | title: '营运方式' |
| 217 | 213 | }, |
| ... | ... | @@ -228,106 +224,10 @@ |
| 228 | 224 | title: '区属' |
| 229 | 225 | }, |
| 230 | 226 | { |
| 231 | - field: 'inoutDistrict', | |
| 232 | - title: '是否区内' | |
| 233 | - }, | |
| 234 | - { | |
| 235 | - field: 'serviceState', | |
| 236 | - title: '营运状态' | |
| 237 | - }, | |
| 238 | - { | |
| 239 | - field: 'busType', | |
| 240 | - title: '车辆类型' | |
| 241 | - }, | |
| 242 | - { | |
| 243 | - field: 'airConditionerType', | |
| 244 | - title: '是否空调' | |
| 245 | - }, | |
| 246 | - { | |
| 247 | - field: 'sellTicketType', | |
| 248 | - title: '售票类型' | |
| 249 | - }, | |
| 250 | - { | |
| 251 | - field: 'serviceTime', | |
| 252 | - title: '运营时间' | |
| 253 | - }, | |
| 254 | - { | |
| 255 | 227 | field: 'lineDistance', |
| 256 | 228 | title: '线路长度' |
| 257 | 229 | }, |
| 258 | 230 | { |
| 259 | - field: 'lineCode', | |
| 260 | - title: '线路编码' | |
| 261 | - }, | |
| 262 | - { | |
| 263 | - field: 'warrantYear', | |
| 264 | - title: '授权年限' | |
| 265 | - }, | |
| 266 | - { | |
| 267 | - field: 'warrantStartTime', | |
| 268 | - title: '授权起始日期' | |
| 269 | - }, | |
| 270 | - { | |
| 271 | - field: 'warrantEndTime', | |
| 272 | - title: '授权结束日期' | |
| 273 | - }, | |
| 274 | - { | |
| 275 | - field: 'planCancelTime', | |
| 276 | - title: '撤销日期' | |
| 277 | - }, | |
| 278 | - { | |
| 279 | - field: 'cancelTime', | |
| 280 | - title: '实际撤销日期' | |
| 281 | - }, | |
| 282 | - { | |
| 283 | - field: 'cancelReason', | |
| 284 | - title: '撤销原因' | |
| 285 | - }, | |
| 286 | - { | |
| 287 | - field: 'remark', | |
| 288 | - title: '备注' | |
| 289 | - }, | |
| 290 | - { | |
| 291 | - field: 'isLogicDelete', | |
| 292 | - title: '是否逻辑删除' | |
| 293 | - }, | |
| 294 | - { | |
| 295 | - field: 'updateBy', | |
| 296 | - title: '更新人' | |
| 297 | - }, | |
| 298 | - { | |
| 299 | - field: 'updateTime', | |
| 300 | - title: '更新时间' | |
| 301 | - }, | |
| 302 | - { | |
| 303 | - field: 'timeSchedule', | |
| 304 | - title: '行车作业计划表报备时间' | |
| 305 | - }, | |
| 306 | - { | |
| 307 | - field: 'park', | |
| 308 | - title: '停车场' | |
| 309 | - }, | |
| 310 | - { | |
| 311 | - field: 'isWarrant', | |
| 312 | - title: '是否权证' | |
| 313 | - }, | |
| 314 | - { | |
| 315 | - field: 'isWarrantStartTime', | |
| 316 | - title: '权证开通日期' | |
| 317 | - }, | |
| 318 | - { | |
| 319 | - field: 'isWarrantEndTime', | |
| 320 | - title: '权证到期日期' | |
| 321 | - }, | |
| 322 | - { | |
| 323 | - field: 'roadType', | |
| 324 | - title: '道路类型' | |
| 325 | - }, | |
| 326 | - { | |
| 327 | - field: 'ticketPrice', | |
| 328 | - title: '票价' | |
| 329 | - }, | |
| 330 | - { | |
| 331 | 231 | field: 'firstStation', |
| 332 | 232 | title: '首站' |
| 333 | 233 | }, |
| ... | ... | @@ -336,108 +236,8 @@ |
| 336 | 236 | title: '起讫站' |
| 337 | 237 | }, |
| 338 | 238 | { |
| 339 | - field: 'firstTime', | |
| 340 | - title: '首战时间' | |
| 341 | - }, | |
| 342 | - { | |
| 343 | 239 | field: 'lastStation', |
| 344 | 240 | title: '末站' |
| 345 | - }, | |
| 346 | - { | |
| 347 | - field: 'lastTime', | |
| 348 | - title: '末站首战时间' | |
| 349 | - }, | |
| 350 | - { | |
| 351 | - field: 'mileageUp', | |
| 352 | - title: '上行里程数' | |
| 353 | - }, | |
| 354 | - { | |
| 355 | - field: 'mileageDown', | |
| 356 | - title: '下行里程数' | |
| 357 | - }, | |
| 358 | - { | |
| 359 | - field: 'averageMileage', | |
| 360 | - title: '平均里程数' | |
| 361 | - }, | |
| 362 | - { | |
| 363 | - field: 'stationUp', | |
| 364 | - title: '站级数(上行)' | |
| 365 | - }, | |
| 366 | - { | |
| 367 | - field: 'stationDown', | |
| 368 | - title: '站级数(下行)' | |
| 369 | - },{ | |
| 370 | - field: 'travelTimeUp', | |
| 371 | - title: '行驶时间(上行)' | |
| 372 | - },{ | |
| 373 | - field: 'travelTimeDown', | |
| 374 | - title: '行驶时间(下行)' | |
| 375 | - },{ | |
| 376 | - field: 'travelIntervalUp', | |
| 377 | - title: '行驶间隔(高峰)' | |
| 378 | - },{ | |
| 379 | - field: 'travelIntervalDown', | |
| 380 | - title: '行驶间隔(低谷)' | |
| 381 | - },{ | |
| 382 | - field: 'warrantVehiclesLarge', | |
| 383 | - title: '经营权证(大巴)' | |
| 384 | - }, { | |
| 385 | - field: 'warrantVehiclesMiddle', | |
| 386 | - title: '经营权证(中巴)' | |
| 387 | - },{ | |
| 388 | - field: 'vehiclesNumber', | |
| 389 | - title: '实际配车数' | |
| 390 | - }, { | |
| 391 | - field: 'numberVehiclesLarge', | |
| 392 | - title: '实际车辆数(大巴)' | |
| 393 | - }, { | |
| 394 | - field: 'numberVehiclesMiddle', | |
| 395 | - title: '实际车辆数(中巴)' | |
| 396 | - },{ | |
| 397 | - field: 'carPlate', | |
| 398 | - title: '车辆自编号' | |
| 399 | - },{ | |
| 400 | - field: 'numberPerson', | |
| 401 | - title: '线路总配人数' | |
| 402 | - },{ | |
| 403 | - field: 'numberPersonDriver', | |
| 404 | - title: '人数司机' | |
| 405 | - }, { | |
| 406 | - field: 'numberPersonSales', | |
| 407 | - title: '售票员数' | |
| 408 | - },{ | |
| 409 | - field: 'busEvNumber', | |
| 410 | - title: '新能源车数' | |
| 411 | - },{ | |
| 412 | - field: 'directions', | |
| 413 | - title: '线路走向' | |
| 414 | - },{ | |
| 415 | - field: 'numberOfManage', | |
| 416 | - title: '经营权证数' | |
| 417 | - },{ | |
| 418 | - field: 'halfwayStation', | |
| 419 | - title: '站点名称' | |
| 420 | - },{ | |
| 421 | - field: 'fullCustomerPercent', | |
| 422 | - title: '高峰系数' | |
| 423 | - },{ | |
| 424 | - field: 'lowCustomerPercent', | |
| 425 | - title: '低谷系数' | |
| 426 | - }, { | |
| 427 | - field: 'divideLevel', | |
| 428 | - title: '间隔等级' | |
| 429 | - },{ | |
| 430 | - field: 'hasTimelists', | |
| 431 | - title: '是否挂牌' | |
| 432 | - },{ | |
| 433 | - field: 'isMetro', | |
| 434 | - title: '是否轨交末班车衔接' | |
| 435 | - },{ | |
| 436 | - field: 'metroTime', | |
| 437 | - title: '轨交时间' | |
| 438 | - },{ | |
| 439 | - field: 'coldBonusType', | |
| 440 | - title: '冷僻线路补贴类型' | |
| 441 | 241 | }]; |
| 442 | 242 | |
| 443 | 243 | ... | ... |