|
|
|
@ -1,10 +1,10 @@
|
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
|
|
|
|
<head>
|
|
|
|
|
<th:block th:include="include :: header('实时绑定台账列表')" />
|
|
|
|
|
<th:block th:include="include :: header('实时绑定台账列表')"/>
|
|
|
|
|
</head>
|
|
|
|
|
<body class="gray-bg">
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-sm-12 search-collapse">
|
|
|
|
|
<form id="formId">
|
|
|
|
@ -20,13 +20,17 @@
|
|
|
|
|
</li>
|
|
|
|
|
<li class="select-time">
|
|
|
|
|
<label>绑定时间:</label>
|
|
|
|
|
<input type="text" class="time-input" id="startTime" placeholder="开始时间" name="params[beginCrateTime]"/>
|
|
|
|
|
<input type="text" class="time-input" id="startTime" placeholder="开始时间"
|
|
|
|
|
name="params[beginCrateTime]"/>
|
|
|
|
|
<span>-</span>
|
|
|
|
|
<input type="text" class="time-input" id="endTime" placeholder="结束时间" name="params[endCrateTime]"/>
|
|
|
|
|
<input type="text" class="time-input" id="endTime" placeholder="结束时间"
|
|
|
|
|
name="params[endCrateTime]"/>
|
|
|
|
|
</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>
|
|
|
|
|
<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>
|
|
|
|
@ -37,10 +41,12 @@
|
|
|
|
|
<a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="base:LedgerInstant:add">
|
|
|
|
|
<i class="fa fa-plus"></i> 添加
|
|
|
|
|
</a>
|
|
|
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="base:LedgerInstant:edit">
|
|
|
|
|
<a class="btn btn-primary single disabled" onclick="$.operate.edit()"
|
|
|
|
|
shiro:hasPermission="base:LedgerInstant:edit">
|
|
|
|
|
<i class="fa fa-edit"></i> 修改
|
|
|
|
|
</a>
|
|
|
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="base:LedgerInstant:remove">
|
|
|
|
|
<a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()"
|
|
|
|
|
shiro:hasPermission="base:LedgerInstant:remove">
|
|
|
|
|
<i class="fa fa-remove"></i> 删除
|
|
|
|
|
</a>
|
|
|
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="base:LedgerInstant:export">
|
|
|
|
@ -51,14 +57,14 @@
|
|
|
|
|
<table id="bootstrap-table"></table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer" />
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
</div>
|
|
|
|
|
<th:block th:include="include :: footer"/>
|
|
|
|
|
<script th:inline="javascript">
|
|
|
|
|
var editFlag = [[${@permission.hasPermi('base:LedgerInstant:edit')}]];
|
|
|
|
|
var removeFlag = [[${@permission.hasPermi('base:LedgerInstant:remove')}]];
|
|
|
|
|
var prefix = ctx + "base/LedgerInstant";
|
|
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
$(function () {
|
|
|
|
|
var options = {
|
|
|
|
|
url: prefix + "/list",
|
|
|
|
|
createUrl: prefix + "/add",
|
|
|
|
@ -83,13 +89,16 @@
|
|
|
|
|
title: '运单号'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'createBy',
|
|
|
|
|
title: '绑定人'
|
|
|
|
|
}, {
|
|
|
|
|
field: 'crateTime',
|
|
|
|
|
title: '绑定时间'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
title: '操作',
|
|
|
|
|
align: 'center',
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
formatter: function (value, row, index) {
|
|
|
|
|
var actions = [];
|
|
|
|
|
actions.push('<a class="btn btn-success btn-xs ' + editFlag + '" href="javascript:void(0)" onclick="$.operate.edit(\'' + row.objid + '\')"><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.objid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
|
|
@ -99,6 +108,6 @@
|
|
|
|
|
};
|
|
|
|
|
$.table.init(options);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|