| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="col-sm-6"> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label is-required">隐患来源:</label> |
| | | <div class="col-sm-8"> |
| | | <select name="dangerSrc" th:field="*{dangerSrc}" class="form-control m-b" |
| | | th:with="type=${@dict.getType('danger_source')}" |
| | | required readonly="readonly" disabled> |
| | | <option value="" disabled>--请选择隐患来源--</option> |
| | | <option th:each="dict : ${type}" th:text="${dict.dictLabel}" |
| | | th:value="${dict.dictValue}" disabled></option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="row"> |
| | | <div class="col-sm-6"> |
| | | <div class="form-group"> |
| | | <label class="col-sm-4 control-label ">隐患排查方法:</label> |
| | | <div class="col-sm-8"> |
| | | <input th:value="*{remark}" class="form-control" type="text" readonly="readonly"> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="row"> |
| | | <div class="col-sm-6"> |
| | |
| | | </div> |
| | | |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label is-required">验收时间:</label> |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <input name="acceptCreateTime" class="form-control" type="text" readonly="readonly" required> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">验收文件上传:</label> |
| | | <div class="col-sm-8"> |
| | | <input name="acceptFile" id="acceptFile" type="hidden"> |
| | |
| | | }); |
| | | imageContainer2.appendChild(img); |
| | | }); |
| | | var now = new Date(); |
| | | var hour = now.getHours(); //获取当前小时数(0-23) |
| | | var minute = now.getMinutes(); //获取当前分钟数(0-59) |
| | | var second = now.getSeconds(); //获取当前秒数(0-59) |
| | | $("input[name='acceptCreateTime']").datetimepicker({ |
| | | format: "yyyy-mm-dd" + ' ' + hour.toString().padStart(2, '0') + ':' + minute.toString().padStart(2, '0') + ':' + second.toString().padStart(2, '0'), |
| | | minView: "month", |
| | | autoclose: true |
| | | }); |
| | | }); |
| | | |
| | | function openPicture(url) { |