parent
d03f99bdcc
commit
071f93da4d
@ -1,10 +1,148 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<th:block th:include="include :: header('失泄密案件登记')" />
|
||||||
<title>Title</title>
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
|
<th:block th:include="include :: select2-css" />
|
||||||
|
<th:block th:include="include :: bootstrap-select-css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="white-bg">
|
||||||
|
<div class="wrapper wrapper-content animated fadeInRight ibox-content" id="app">
|
||||||
|
<form class="form-horizontal m" id="form-tdCase-add">
|
||||||
|
<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" 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" 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" 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" 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}"></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}"></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"></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"></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="state" required class="form-control m-b" th:with="type=${@dict.getType('sys_case_state')}">
|
||||||
|
<option value="">---请选择---</option>
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||||
|
</select>
|
||||||
|
</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"></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"></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-add").validate({
|
||||||
|
focusCleanup: true
|
||||||
|
});
|
||||||
|
$("input[name='caseTime']").datetimepicker({
|
||||||
|
format: "yyyy-mm-dd hh:ii",
|
||||||
|
autoclose: true
|
||||||
|
});
|
||||||
|
function submitHandler() {
|
||||||
|
if ($.validate.form()) {
|
||||||
|
$.operate.save(prefix + "/add", $("#form-tdCase-add").serialize());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,10 +1,149 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<th:block th:include="include :: header('失泄密案件管理')" />
|
||||||
<title>Title</title>
|
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="gray-bg">
|
||||||
1
|
<div class="container-div" id="app">
|
||||||
|
<div class="row">
|
||||||
|
<div class="col-sm-12 search-collapse">
|
||||||
|
<form id="formId">
|
||||||
|
<div class="select-list">
|
||||||
|
<ul>
|
||||||
|
<li>
|
||||||
|
<label>案件名称:</label>
|
||||||
|
<input type="text" name="caseName"></input>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>案件编号:</label>
|
||||||
|
<input type="text" name="caseAssum"></input>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>案件类型:</label>
|
||||||
|
<select name="caseType" th:with="type=${@dict.getType('sys_case_type')}">
|
||||||
|
<option value="">所有</option>
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<label>案件状态:</label>
|
||||||
|
<select name="state" th:with="type=${@dict.getType('sys_case_state')}">
|
||||||
|
<option value="">所有</option>
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||||
|
</select>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<a class="btn btn-primary btn-rounded btn-sm" onclick="$.table.search()"><i class="fa fa-search"></i> 搜索</a>
|
||||||
|
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="system:case:add">
|
||||||
|
<i class="fa fa-plus"></i> 登记
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="system:case:edit">
|
||||||
|
<i class="fa fa-edit"></i> 修改
|
||||||
|
</a>
|
||||||
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="system:case:remove">
|
||||||
|
<i class="fa fa-remove"></i> 删除
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="col-sm-12 select-table table-striped">
|
||||||
|
<table id="bootstrap-table"></table>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<th:block th:include="include :: footer" />
|
||||||
|
<script th:inline="javascript">
|
||||||
|
var detailFlag = [[${@permission.hasPermi('system:case:detail')}]];
|
||||||
|
var editFlag = [[${@permission.hasPermi('system:case:edit')}]];
|
||||||
|
var removeFlag = [[${@permission.hasPermi('system:case:remove')}]];
|
||||||
|
var caseType = [[${@dict.getType('sys_case_type')}]];
|
||||||
|
var caseStatus = [[${@dict.getType('sys_case_state')}]];
|
||||||
|
var caseGrade = [[${@dict.getType('sys_file_miji')}]];
|
||||||
|
var prefix = ctx + "system/tdCase";
|
||||||
|
$(function() {
|
||||||
|
var options = {
|
||||||
|
url: prefix + "/list",
|
||||||
|
createUrl: prefix + "/add",
|
||||||
|
updateUrl: prefix + "/edit/{id}",
|
||||||
|
detailUrl: prefix + "/detail/{id}",
|
||||||
|
removeUrl: prefix + "/remove",
|
||||||
|
modalName: "失泄密案件",
|
||||||
|
columns: [{
|
||||||
|
checkbox: true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'id',
|
||||||
|
title: 'ID',
|
||||||
|
visible: false
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseName',
|
||||||
|
title: '案件名称',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseAssum',
|
||||||
|
title: '案件编号',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseType',
|
||||||
|
title: '案件类型',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
return $.table.selectDictLabel(caseType, value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseGrade',
|
||||||
|
title: '案件涉密等级',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
return $.table.selectDictLabel(caseGrade, value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseTime',
|
||||||
|
title: '案件发生时间',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
if (value !== null){
|
||||||
|
var date = new Date(value);
|
||||||
|
var year = date.getFullYear();
|
||||||
|
var month = ('0' + (date.getMonth() + 1)).slice(-2);
|
||||||
|
var day = ('0' + date.getDate()).slice(-2);
|
||||||
|
var hours = ('0' + date.getHours()).slice(-2);
|
||||||
|
var minutes = ('0' + date.getMinutes()).slice(-2);
|
||||||
|
return year + '-' + month + '-' + day + ' ' + hours + ':' + minutes;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'caseAddress',
|
||||||
|
title: '案件发生地点',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'state',
|
||||||
|
title: '案件状态',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
return $.table.selectDictLabel(caseStatus, value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
title: '操作',
|
||||||
|
align: 'center',
|
||||||
|
formatter: function(value, row, index) {
|
||||||
|
var actions = [];
|
||||||
|
actions.push('<a class="btn btn-warning btn-xs ' + detailFlag + '" href="javascript:void(0)" onclick="$.operate.detail(\'' + row.id + '\')"><i class="fa fa-search"></i>详细</a> ');
|
||||||
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.id + '\')"><i class="fa fa-edit"></i>编辑</a> ');
|
||||||
|
actions.push('<a class="btn btn-danger btn-xs ' + removeFlag + '" href="javascript:void(0)" onclick="$.operate.remove(\'' + row.id + '\')"><i class="fa fa-remove"></i>删除</a>');
|
||||||
|
return actions.join('');
|
||||||
|
}
|
||||||
|
}]
|
||||||
|
};
|
||||||
|
$.table.init(options);
|
||||||
|
});
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,10 +1,149 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<th:block th:include="include :: header('失泄密案件修改')" />
|
||||||
<title>Title</title>
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
|
<th:block th:include="include :: select2-css" />
|
||||||
|
<th:block th:include="include :: bootstrap-select-css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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" disabled 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" disabled 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" disabled 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" disabled 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" disabled 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" disabled 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" disabled 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" disabled 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">
|
||||||
|
<select name="state" disabled required class="form-control m-b" th:with="type=${@dict.getType('sys_case_state')}">
|
||||||
|
<option value="">---请选择---</option>
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{state}"></option>
|
||||||
|
</select>
|
||||||
|
</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" disabled 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" disabled 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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
@ -1,10 +1,149 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<th:block th:include="include :: header('失泄密案件修改')" />
|
||||||
<title>Title</title>
|
<th:block th:include="include :: datetimepicker-css" />
|
||||||
|
<th:block th:include="include :: select2-css" />
|
||||||
|
<th:block th:include="include :: bootstrap-select-css" />
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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">
|
||||||
|
<select name="state" required class="form-control m-b" th:with="type=${@dict.getType('sys_case_state')}">
|
||||||
|
<option value="">---请选择---</option>
|
||||||
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}" th:field="*{state}"></option>
|
||||||
|
</select>
|
||||||
|
</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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in new issue