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.
150 lines
7.1 KiB
150 lines
7.1 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" />
|
|
<th:block th:include="include :: select2-css" />
|
|
<th:block th:include="include :: bootstrap-select-css" />
|
|
</head>
|
|
<body class="white-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
|
|
<form class="form-horizontal m" id="form-tdCase-edit" th:object="${tdCase}">
|
|
<input name="id" th:field="*{id}" type="hidden">
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">案件名称:</label>
|
|
<div class="col-sm-8">
|
|
<input name="caseName" th:field="*{caseName}" required placeholder="请输入案件名称" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label">案件编号:</label>
|
|
<div class="col-sm-8">
|
|
<input name="caseAssum" th:field="*{caseAssum}" placeholder="请输入案件编号" class="form-control" type="text">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">发生时间:</label>
|
|
<div class="col-sm-8">
|
|
<div class="input-group date">
|
|
<input name="caseTime" th:value="${#dates.format(tdCase.caseTime, 'yyyy-MM-dd HH:mm')}" required class="form-control m-b" id="datetimepicker-demo-3" placeholder="yyyy-MM-dd HH:mm" type="text">
|
|
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">发生地点:</label>
|
|
<div class="col-sm-8">
|
|
<input name="caseAddress" th:field="*{caseAddress}" required placeholder="请输入案件发生地点" class="form-control"></input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">案件类别:</label>
|
|
<div class="col-sm-8">
|
|
<select name="caseType" required class="form-control m-b" th:with="type=${@dict.getType('sys_case_type')}">
|
|
<option value="">---请选择---</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{caseType}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">涉密等级:</label>
|
|
<div class="col-sm-8">
|
|
<select name="caseGrade" required class="form-control m-b" th:with="type=${@dict.getType('sys_file_miji')}">
|
|
<option value="">---请选择---</option>
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{caseGrade}"></option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">涉案人员名称:</label>
|
|
<div class="col-sm-8">
|
|
<input name="involvedName" required placeholder="请输入涉案人员名称" class="form-control" th:field="*{involvedName}"></input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required">涉案人员联系方式:</label>
|
|
<div class="col-sm-8">
|
|
<input name="involvedTel" required placeholder="请输入涉案人员联系方式" class="form-control" th:field="*{involvedTel}"></input>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-6">
|
|
<div class="form-group">
|
|
<label class="col-sm-4 control-label is-required" >案件状态:</label>
|
|
<div class="col-sm-8">
|
|
<div class="radio-box" th:each="dict : ${@dict.getType('sys_case_state')}">
|
|
<input type="radio" required th:id="${dict.dictCode}" name="state" th:value="${dict.dictValue}" th:checked="${dict.default}" th:field="*{state}">
|
|
<label th:for="${dict.dictCode}" th:text="${dict.dictLabel}"></label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label is-required">案件内容:</label>
|
|
<div class="col-sm-10">
|
|
<textarea name="caseContent" required rows="4" placeholder="请输入案件内容" class="form-control" th:field="*{caseContent}"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">处理措施:</label>
|
|
<div class="col-sm-10">
|
|
<textarea name="caseMeasure" rows="4" placeholder="请输入案件处理措施" class="form-control" th:field="*{caseMeasure}"></textarea>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: datetimepicker-js" />
|
|
<th:block th:include="include :: select2-js" />
|
|
<th:block th:include="include :: bootstrap-select-js" />
|
|
<script th:inline="javascript">
|
|
var prefix = ctx + "system/tdCase"
|
|
$("#form-tdCase-edit").validate({
|
|
focusCleanup: true
|
|
});
|
|
$("input[name='caseTime']").datetimepicker({
|
|
format: "yyyy-mm-dd hh:ii",
|
|
autoclose: true
|
|
});
|
|
function submitHandler() {
|
|
if ($.validate.form()) {
|
|
$.operate.save(prefix + "/edit", $("#form-tdCase-edit").serialize());
|
|
}
|
|
}
|
|
</script>
|
|
</body>
|
|
</html>
|