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.

112 lines
5.4 KiB

11 months ago
<!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">
<form class="form-horizontal m" id="form-filereceive-edit" th:object="${tdFileReceive}">
<input name="receiveId" th:field="*{receiveId}" type="hidden">
<div class="form-group">
<label class="col-sm-3 control-label">文件编号:</label>
<div class="col-sm-8">
<input name="fileId" th:field="*{fileId}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收单位:</label>
<div class="col-sm-8">
<input name="receiveDepartid" th:field="*{receiveDepartid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收状态:</label>
<div class="col-sm-8">
<select name="receiveState" class="form-control m-b" th:with="type=${@dict.getType('sys_file_receive')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{receiveState}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收人员:</label>
<div class="col-sm-8">
<input name="receiveUserid" th:field="*{receiveUserid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">接收日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="receiveDate" th:value="${#dates.format(tdFileReceive.receiveDate, 'yyyy-MM-dd')}" 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">
<label class="col-sm-3 control-label">提取状态:</label>
<div class="col-sm-8">
<select name="extractState" class="form-control m-b" th:with="type=${@dict.getType('sys_file_extract')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{extractState}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">提取单位:</label>
<div class="col-sm-8">
<input name="extractDepartid" th:field="*{extractDepartid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">提取人员:</label>
<div class="col-sm-8">
<input name="extractUserid" th:field="*{extractUserid}" class="form-control" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label">提取日期:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="extractDate" th:value="${#dates.format(tdFileReceive.extractDate, 'yyyy-MM-dd')}" 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">
<label class="col-sm-3 control-label">销毁状态:</label>
<div class="col-sm-8">
<select name="destoryState" class="form-control m-b" th:with="type=${@dict.getType('sys_destory_state')}">
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{destoryState}"></option>
</select>
</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/filereceive";
$("#form-filereceive-edit").validate({
focusCleanup: true
});
function submitHandler() {
if ($.validate.form()) {
$.operate.save(prefix + "/edit", $('#form-filereceive-edit').serialize());
}
}
$("input[name='receiveDate']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
$("input[name='extractDate']").datetimepicker({
format: "yyyy-mm-dd",
minView: "month",
autoclose: true
});
</script>
</body>
</html>