| | |
| | | </head> |
| | | <body class="white-bg"> |
| | | <div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
| | | <form class="form-horizontal m" id="form-job-edit" th:object="${specialCheckTask}"> |
| | | |
| | | <form class="form-horizontal m" id="form-job-edit" th:object="${specialCheckTaskLog}"> |
| | | <input id="indexId" name="indexId" type="hidden" th:field="*{indexId}"/> |
| | | |
| | | |
| | | <!-- <input id="createUserId" name="createUserId" type="hidden" th:field="*{createUserId}"/>--> |
| | | <input id="createBy" name="createBy" type="hidden" th:field="*{createBy}"/> |
| | | <!-- <input id="createBy" name="createBy" type="hidden" th:field="*{createBy}"/>--> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">风险分析对象:</label> |
| | | <div class="col-sm-8"> |
| | | <select id="hazardSource" name="hazardSource" class="form-control"> |
| | | <option th:each="hazard : ${hazardList}" th:text="${hazard.hazardSource}" th:value="${hazard.hazardCode}" th:field="*{hazardSource}"></option> |
| | | <select id="hazardCode" name="hazardCode" th:field="*{hazardCode}" class="form-control"> |
| | | <option th:each="hazard : ${hazardList}" th:text="${hazard.riskListName}" th:value="${hazard.riskListNum}"></option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label">检查日期:</label> |
| | | <label class="col-sm-3 control-label is-required">检查日期:</label> |
| | | <div class="col-sm-8"> |
| | | <div class="input-group date"> |
| | | <span class="input-group-addon"><i class="fa fa-calendar"></i></span> |
| | | <input name="checkDate" th:value="${#dates.format(specialCheckTask.checkDate, 'yyyy-MM-dd')}" class="form-control" placeholder="yyyy-MM-dd" type="text"> |
| | | <input name="checkDate" th:value="${#dates.format(specialCheckTaskLog.checkDate, 'yyyy-MM-dd')}" class="form-control" type="text" required> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | <th:block th:include="include :: datetimepicker-js"/> |
| | | <script th:inline="javascript"> |
| | | var prefix = ctx + "tr/specialCheckTaskLog"; |
| | | |
| | | $("input[name='checkDate']").datetimepicker({ |
| | | format: "yyyy-mm-dd", |
| | | format: "yyyy-MM-dd", |
| | | minView: "month", |
| | | autoclose: true |
| | | }); |
| | | |
| | | |
| | | $("#form-job-edit").validate({ |
| | | onkeyup: false, |
| | | focusCleanup: true |