| | |
| | | public String edit(@PathVariable("id") Long id, ModelMap mmap)
|
| | | {
|
| | | PreventOverhaulLog overhaulLogById = overhaulLogService.getOverhaulLogById(id);
|
| | | mmap.put("overhaulLogById",overhaulLogById);
|
| | | mmap.put("overhaulLog",overhaulLogById);
|
| | | List<PreventRiskUnitCodeAndNameListQueryRespDTO> respDTOS = riskService.listRiskUnitCodeAndName();
|
| | | mmap.put("riskUnits", respDTOS);
|
| | | return prefix + "/edit";
|
| | |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input name="stopStartTime" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
| | | <input name="stopStartTime" class="form-control" placeholder="请选择开始时间" type="text"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input name="stopEndTime" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
| | | <input name="stopEndTime" class="form-control" placeholder="请选择结束时间" type="text"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input name="stopStartTime" th:value="${#dates.format(overhaulLog.stopStartTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" > |
| | | <input name="stopStartTime" th:value="${#dates.format(overhaulLog.stopStartTime, 'yyyy-MM-dd HH:mm')}" class="form-control" placeholder="yyyy-MM-dd" type="text" > |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input name="stopEndTime" th:value="${#dates.format(overhaulLog.stopEndTime, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text" > |
| | | <input name="stopEndTime" th:value="${#dates.format(overhaulLog.stopEndTime, 'yyyy-MM-dd HH:mm')}" class="form-control" placeholder="yyyy-MM-dd" type="text" > |
| | | </div> |
| | | </div> |
| | | </div> |