master
20918 2 weeks ago
parent 436f6eef6d
commit c657b26bb0

Binary file not shown.

@ -84,7 +84,7 @@ public class CaseController extends BaseController
{
List<Case> list = caseService.selectCaseList(cases);
ExcelUtil<Case> util = new ExcelUtil<Case>(Case.class);
return util.exportExcel(list, "案件信息数据");
return util.exportExcel(list, "案件数据");
}

@ -48,5 +48,8 @@ public class Case extends BaseEntity
/** 立案时间 */
private String filingTime;
/** 创建时间 */
private String creatTime;
}

@ -40,5 +40,8 @@ public class Item extends BaseEntity
/** 来源说明 */
private String source;
/** 创建时间 */
private String creatTime;
}

@ -134,7 +134,7 @@ public class IndexController extends BaseController
public String main(ModelMap mmap)
{
mmap.put("version", ruoYiConfig.getVersion());
return "main";
return "/project/case/case";
}
// content-main class

@ -15,10 +15,11 @@
<result property="rank" column="rank" />
<result property="phone" column="phone" />
<result property="filingTime" column="filing_time" />
<result property="creatTime" column="creat_time" />
</resultMap>
<sql id="selectCaseVo">
select case_no, name, user_no, sex, age, position, department, rank, phone, filing_time
select case_no, name, user_no, sex, age, position, department, rank, phone, filing_time, creat_time
from cases
</sql>
@ -50,7 +51,8 @@
<if test="department != null and department != ''">department,</if>
<if test="rank != null and rank != ''">rank,</if>
<if test="phone != null and phone != ''">phone,</if>
<if test="filingTime != null and filingTime != ''">filing_time</if>
<if test="filingTime != null and filingTime != ''">filing_time,</if>
creat_time
)values(
<if test="caseNo != null and caseNo != ''">#{caseNo}, </if>
<if test="name != null and name != ''">#{name}, </if>
@ -61,7 +63,8 @@
<if test="department != null and department != ''">#{department},</if>
<if test="rank != null and rank != ''">#{rank},</if>
<if test="phone != null and phone != ''">#{phone},</if>
<if test="filingTime != null and filingTime != ''">#{filingTime}</if>
<if test="filingTime != null and filingTime != ''">#{filingTime},</if>
(datetime(CURRENT_TIMESTAMP,'localtime'))
)
</insert>

@ -12,10 +12,11 @@
<result property="number" column="number" />
<result property="price" column="price" />
<result property="source" column="source" />
<result property="creatTime" column="creat_time" />
</resultMap>
<sql id="selectItemVo">
select case_no, item_no, item_type, brand, number, price, source
select case_no, item_no, item_type, brand, number, price, source, creat_time
from item
</sql>
@ -46,7 +47,8 @@
<if test="brand != null and brand != '' ">brand, </if>
<if test="number != null and number != ''">number,</if>
<if test="price != null and price != ''">price,</if>
<if test="source != null and source != ''">source</if>
<if test="source != null and source != ''">source,</if>
creat_time
)values(
<if test="caseNo != null and caseNo != ''">#{caseNo}, </if>
<if test="itemNo != null and itemNo != ''">#{itemNo}, </if>
@ -54,7 +56,8 @@
<if test="brand != null and brand != ''">#{brand}, </if>
<if test="number != null and number != ''">#{number},</if>
<if test="price != null and price != ''">#{price},</if>
<if test="source != null and source != ''">#{source}</if>
<if test="source != null and source != ''">#{source},</if>
(datetime(CURRENT_TIMESTAMP,'localtime'))
)
</insert>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 139 KiB

After

Width:  |  Height:  |  Size: 556 KiB

@ -4,7 +4,7 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="renderer" content="webkit">
<title>若依系统首页</title>
<title>涉案财物信息管理系统首页</title>
<!-- 避免IE使用兼容模式 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link th:href="@{favicon.ico}" rel="shortcut icon"/>
@ -26,7 +26,7 @@
</div>
<a th:href="@{/index}">
<li class="logo hidden-xs">
<span class="logo-lg">RuoYi</span>
<span class="logo-lg">涉案财物信息管理系统</span>
</li>
</a>
<div class="sidebar-collapse">
@ -46,9 +46,9 @@
</div>
</div>
</li>
<li>
<a class="menuItem" th:href="@{/system/main}"><i class="fa fa-home"></i> <span class="nav-label">首页</span> </a>
</li>
<!-- <li>-->
<!--&lt;!&ndash; <a class="menuItem" th:href="@{/system/main}"><i class="fa fa-home"></i> <span class="nav-label">首页</span> </a>&ndash;&gt;-->
<!-- </li>-->
<li th:each="menu : ${menus}">
<a th:class="@{${!#strings.isEmpty(menu.url) && menu.url != '#'} ? ${menu.target}}" th:href="@{${#strings.isEmpty(menu.url)} ? |#| : ${menu.url}}" th:data-refresh="${menu.isRefresh == '0'}">
<i class="fa fa-bar-chart-o" th:class="${menu.icon}"></i>
@ -191,7 +191,7 @@
</a>
</div>
<ul class="nav navbar-top-links navbar-right welcome-message">
<li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="开发文档" href="http://doc.ruoyi.vip/ruoyi" target="_blank"><i class="fa fa-question-circle"></i> 文档</a></li>
<!-- <li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="开发文档" href="http://doc.ruoyi.vip/ruoyi" target="_blank"><i class="fa fa-question-circle"></i> 文档</a></li>-->
<li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="锁定屏幕" href="#" id="lockScreen"><i class="fa fa-lock"></i> 锁屏</a></li>
<li><a data-toggle="tooltip" data-trigger="hover" data-placement="bottom" title="全屏显示" href="#" id="fullScreen"><i class="fa fa-arrows-alt"></i> 全屏</a></li>
<li class="dropdown user-menu">

@ -26,24 +26,24 @@
<div class="col-sm-7">
<div class="signin-info">
<div class="logopanel m-b">
<h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>
<!-- <h1><img alt="[ 若依 ]" src="../static/ruoyi.png" th:src="@{/ruoyi.png}"></h1>-->
</div>
<div class="m-b"></div>
<h4>欢迎使用 <strong>若依 后台管理系统</strong></h4>
<!-- <h4>欢迎使用 <strong>若依 后台管理系统</strong></h4>-->
<ul class="m-b">
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis</li>
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>
<li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>
<!-- <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> SpringBoot</li>-->
<!-- <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Mybatis</li>-->
<!-- <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Shiro</li>-->
<!-- <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Thymeleaf</li>-->
<!-- <li><i class="fa fa-arrow-circle-o-right m-r-xs"></i> Bootstrap</li>-->
</ul>
<strong th:if="${isAllowRegister}">还没有账号? <a th:href="@{/register}">立即注册&raquo;</a></strong>
<!-- <strong th:if="${isAllowRegister}">还没有账号? <a th:href="@{/register}">立即注册&raquo;</a></strong>-->
</div>
</div>
<div class="col-sm-5">
<div class="col-sm-5" >
<form id="signupForm" autocomplete="off">
<h4 class="no-margins">登录:</h4>
<p class="m-t-md">你若不离不弃,我必生死相依</p>
<p class="m-t-md">涉案财物信息管理系统</p>
<input type="text" name="username" class="form-control uname" placeholder="用户名" value="admin" />
<input type="password" name="password" class="form-control pword" placeholder="密码" value="admin123" />
<div class="row m-t" th:if="${captchaEnabled==true}">
@ -64,8 +64,8 @@
</div>
</div>
<div class="signup-footer">
<div class="pull-left">
Copyright © 2018-2021 ruoyi.vip All Rights Reserved. <br>
<div class="pull-right">
Copyright © 2025 zhky All Rights Reserved. <br>
</div>
</div>
</div>

@ -20,55 +20,55 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">身份证号:</label>
<label class="col-sm-3 control-label ">身份证号:</label>
<div class="col-sm-8">
<input name="userNo" required class="form-control" placeholder="请输入身份证号" type="text">
<input name="userNo" class="form-control" placeholder="请输入身份证号" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">性别:</label>
<label class="col-sm-3 control-label ">性别:</label>
<div class="col-sm-8">
<select name="sex" required class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}">
<select name="sex" class="form-control m-b" th:with="type=${@dict.getType('sys_user_sex')}">
<option value="">---请选择---</option>
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
</select>
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">年龄:</label>
<label class="col-sm-3 control-label ">年龄:</label>
<div class="col-sm-8">
<input name="age" required class="form-control" placeholder="请输入年龄" type="text">
<input name="age" class="form-control" placeholder="请输入年龄" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">职务:</label>
<label class="col-sm-3 control-label ">职务:</label>
<div class="col-sm-8">
<input name="position" required class="form-control" placeholder="请输入职务" type="text">
<input name="position" class="form-control" placeholder="请输入职务" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">所在单位:</label>
<label class="col-sm-3 control-label ">所在单位:</label>
<div class="col-sm-8">
<input name="department" required class="form-control" placeholder="请输入所在单位" type="text">
<input name="department" class="form-control" placeholder="请输入所在单位" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">职级:</label>
<label class="col-sm-3 control-label ">职级:</label>
<div class="col-sm-8">
<input name="rank" required class="form-control" placeholder="请输入职级" type="text">
<input name="rank" class="form-control" placeholder="请输入职级" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">电话号码:</label>
<label class="col-sm-3 control-label ">电话号码:</label>
<div class="col-sm-8">
<input name="phone" required class="form-control" placeholder="请输入电话号码" type="text">
<input name="phone" class="form-control" placeholder="请输入电话号码" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">立案时间:</label>
<label class="col-sm-3 control-label ">立案时间:</label>
<div class="col-sm-8">
<div class="input-group date">
<input name="filingTime" required class="form-control" placeholder="yyyy-MM-dd" type="text">
<input name="filingTime" class="form-control" placeholder="yyyy-MM-dd" type="text">
<span class="input-group-addon"><i class="fa fa-calendar"></i></span>
</div>
</div>

@ -29,27 +29,27 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">品牌型号:</label>
<label class="col-sm-3 control-label ">品牌型号:</label>
<div class="col-sm-8">
<input name="brand" required class="form-control" placeholder="请输入品牌型号" type="text">
<input name="brand" class="form-control" placeholder="请输入品牌型号" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">数量:</label>
<label class="col-sm-3 control-label ">数量:</label>
<div class="col-sm-8">
<input name="number" required class="form-control" placeholder="请输入数量" type="text">
<input name="number" class="form-control" placeholder="请输入数量" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">价值:</label>
<label class="col-sm-3 control-label ">价值:</label>
<div class="col-sm-8">
<input name="price" required class="form-control" placeholder="请输入价值" type="text">
<input name="price" class="form-control" placeholder="请输入价值" type="text">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">来源:</label>
<label class="col-sm-3 control-label ">来源:</label>
<div class="col-sm-8">
<input name="source" required class="form-control" placeholder="请输入来源" type="text">
<input name="source" class="form-control" placeholder="请输入来源" type="text">
</div>
</div>
</form>

@ -29,27 +29,27 @@
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">品牌型号:</label>
<label class="col-sm-3 control-label ">品牌型号:</label>
<div class="col-sm-8">
<input name="brand" required class="form-control" type="text" th:field="*{brand}">
<input name="brand" class="form-control" type="text" th:field="*{brand}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">数量:</label>
<label class="col-sm-3 control-label ">数量:</label>
<div class="col-sm-8">
<input name="number" required class="form-control" type="text" th:field="*{number}">
<input name="number" class="form-control" type="text" th:field="*{number}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">价值:</label>
<label class="col-sm-3 control-label ">价值:</label>
<div class="col-sm-8">
<input name="price" required class="form-control" type="text" th:field="*{price}">
<input name="price" class="form-control" type="text" th:field="*{price}">
</div>
</div>
<div class="form-group">
<label class="col-sm-3 control-label is-required">来源:</label>
<label class="col-sm-3 control-label ">来源:</label>
<div class="col-sm-8">
<input name="source" required class="form-control" type="text" th:field="*{source}">
<input name="source" class="form-control" type="text" th:field="*{source}">
</div>
</div>
</form>

@ -36,6 +36,9 @@
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="system:case:export">
<i class="fa fa-download"></i> 导出
</a>
<a class="btn btn-danger" onclick="closeItem()">
<i class="fa fa-reply-all"></i> 关闭
</a>
</div>
<div class="col-sm-12 select-table table-striped">
<table id="bootstrap-table"></table>

Loading…
Cancel
Save