RuoYi/ruoyi-front/src/main/resources/templates/front/organization/audit.html

51 lines
2.0 KiB
HTML

<!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 :: summernote-css" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
<form class="form-horizontal m" id="form-organization-add">
<div class="form-group">
<label class="col-sm-3 control-label is-required">审核状态:</label>
<div class="col-sm-8">
<input type="hidden" id="ids" name="ids" th:value="${ids}">
<select name="auditStatus" th:with="type=${@dict.getType('audit_status')}" class="col-sm-8">
<!-- 审核状态不等于0的才显示 -->
<th:block th:each="dict : ${type}">
<th:block th:if="${dict.dictValue ne '0'}">
<!-- 默认显示审核通过 -->
<option th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:selected="${dict.dictValue eq '2'}"/>
</th:block>
</th:block>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">备注:</label>
<div class="col-sm-8">
<textarea name="remark" rows="5" class="form-control"></textarea>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<th:block th:include="include :: summernote-js" />
<script th:inline="javascript">
var prefix = ctx + "front/organization"
$("#form-organization-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/audit", $('#form-organization-add').serialize());
}
}
</script>
</body>
</html>