对比新文件 |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="zh" xmlns:th="http://www.thymeleaf.org"> |
| | | <head> |
| | | <th:block th:include="include :: header('隐患核查')"/> |
| | | <th:block th:include="include :: datetimepicker-css"/> |
| | | <th:block th:include="include :: jquery-steps-css"/> |
| | | |
| | | <!--多图上传样式--> |
| | | <link rel="stylesheet" href="/ajax/libs/layui/css/layui.css" media="all"> |
| | | <style type="text/css"> |
| | | .dialog{ |
| | | height: 20em; |
| | | } |
| | | |
| | | </style> |
| | | </head> |
| | | <body class="white-bg dialog"> |
| | | <div class="wrapper wrapper-content animated fadeInRight ibox-content"> |
| | | <form class="form-horizontal m" id="form-hdcp-edit" th:object="${hdcp}"> |
| | | <div class="form-group"> |
| | | <label class="col-sm-3 control-label is-required">隐患等级:</label> |
| | | <div class="col-sm-8"> |
| | | <select name="troubleTypeName" class="form-control m-b"> |
| | | <option value="B级隐患">B级隐患</option> |
| | | <option value="C级隐患">C级隐患</option> |
| | | </select> |
| | | </div> |
| | | </div> |
| | | |
| | | </form> |
| | | </div> |
| | | <th:block th:include="include :: footer"/> |
| | | <th:block th:include="include :: datetimepicker-js"/> |
| | | <th:block th:include="include :: jquery-steps-js"/> |
| | | <script type="text/javascript"> |
| | | $(document).ready(function () { |
| | | |
| | | }); |
| | | |
| | | var prefix = ctx + "tr/hiddenDangerCheck/dangerExamine"; |
| | | $("#form-hdcp-edit").validate({ |
| | | focusCleanup: true |
| | | }); |
| | | |
| | | |
| | | function submitHandler() { |
| | | if ($.validate.form()) { |
| | | var data = $('#form-hdcp-edit').serializeArray(); |
| | | // console.log(data,'data') |
| | | $.operate.save(prefix + "/editDangerLevelSave", data); |
| | | } |
| | | }; |
| | | |
| | | </script> |
| | | </body> |
| | | </html> |