You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ry_zhky/ruoyi-admin/src/main/resources/templates/system/check/add.html

120 lines
5.2 KiB

<!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" />
</head>
<body class="white-bg">
<div class="wrapper wrapper-content animated fadeInRight ibox-content">
11 months ago
<form class="form-horizontal m" id="form-check-add" th:object="${user}">
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">报告人:</label>
<div class="col-sm-8">
10 months ago
<input name="user" readonly required th:value="*{userName}" class="form-control" type="text">
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">报告人单位:</label>
<div class="col-sm-8">
10 months ago
<input name="depart" readonly required th:value="*{dept.deptName}" class="form-control" type="text">
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">检查开始时间:</label>
<div class="col-sm-8">
<div class="input-group date">
10 months ago
<input name="checkStartTime" required readonly class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>
</div>
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">所属市州:</label>
<div class="col-sm-8">
10 months ago
<input name="framework" required class="form-control" type="text">
</div>
</div>
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">所属区县:</label>
<div class="col-sm-8">
10 months ago
<input name="area" class="form-control" type="text" required>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">人员检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentry" required class="form-control" ></textarea>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">文件检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentrywj" required class="form-control" ></textarea>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">资产检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentrysb" required class="form-control" ></textarea>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">管理制度检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentryglzd" required class="form-control" ></textarea>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">泄密事件检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentryxmsj" required class="form-control" ></textarea>
</div>
</div>
11 months ago
<div class="form-group">
10 months ago
<label class="col-sm-3 control-label is-required">其他项目检查:</label>
<div class="col-sm-8">
10 months ago
<textarea name="checkcontentryother" required class="form-control" ></textarea>
</div>
</div>
</form>
</div>
<th:block th:include="include :: footer" />
<th:block th:include="include :: datetimepicker-js" />
<script th:inline="javascript">
var prefix = ctx + "system/check"
$("#form-check-add").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/add", $('#form-check-add').serialize());
}
}
11 months ago
var now = new Date();
var year = now.getFullYear();
var month = ("0" + (now.getMonth() + 1)).slice(-2);
var day = ("0" + now.getDate()).slice(-2);
var formattedNow = year + "-" + month + "-" + day;
$("input[name='checkStartTime']").val(formattedNow);
// $("input[name='checkStartTime']").datetimepicker({
// format: "yyyy-mm-dd",
// minView: "month",
// autoclose: true
// });
$("input[name='checkEndTime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
$("input[name='checkownresulttime']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
11 months ago
</html>