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.
178 lines
5.0 KiB
178 lines
5.0 KiB
<!DOCTYPE html>
|
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<th:block th:include="include :: header('青舟燃气系统|应付款明细')" />
|
|
<th:block th:include="include :: select2-css" />
|
|
<th:block th:include="include :: bootstrap-datepicker-css" />
|
|
<th:block th:include="include :: bootstrap-table-css" />
|
|
<th:block th:include="include :: fileinput-css" />
|
|
<th:block th:include="include :: cgwcss" />
|
|
<style type="text/css">
|
|
html, body {
|
|
height: 100%;
|
|
}
|
|
</style>
|
|
<!-- 风格样式 -->
|
|
<th:block th:include="include :: theme" />
|
|
</head>
|
|
<body style="overflow-x: hidden;">
|
|
<div style="background-color: #eff3f8; padding-top: 1px; height: 100%;">
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="portlet box green">
|
|
<div class="portlet-title">
|
|
<div class="caption">
|
|
<i class="fa fa-gift"></i>查询
|
|
</div>
|
|
</div>
|
|
<div class="portlet-body form">
|
|
<!-- BEGIN FORM-->
|
|
<form action="javascript:;" class="form-horizontal" id="formId">
|
|
<div class="form-body">
|
|
<div class="row">
|
|
|
|
<div class="col-md-8">
|
|
<div class="form-group">
|
|
<div class="col-md-2">
|
|
<div id="processDefinitionDiv"
|
|
class="fileinput fileinput-new" data-provides="fileinput"
|
|
style="margin-bottom: 0; margin-right: -3px;">
|
|
<span class="btn btn-success btn-file"
|
|
style="font-size: 12px;">
|
|
<span><i class="fa fa-upload"></i> 部署流程定义</span>
|
|
<input type="file"name="processDefinition" multiple>
|
|
</span>
|
|
<span class="fileinput-filename"></span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<!-- END FORM-->
|
|
</div>
|
|
</div>
|
|
<div class="portlet light">
|
|
<div class="portlet-body">
|
|
<div class="table-responsive">
|
|
<table id="wstable" class="table table-striped table-responsive">
|
|
<thead>
|
|
<tr>
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<th:block th:include="include :: footer" />
|
|
<th:block th:include="include :: select2-js" />
|
|
<th:block th:include="include :: bootstrap-datepicker-js" />
|
|
<th:block th:include="include :: bootstrap-table-js" />
|
|
<th:block th:include="include :: fileinput-js" />
|
|
<th:block th:include="include :: cgwjs" />
|
|
<th:block th:include="include :: page-js" />
|
|
<script th:src="@{/assets/admin/pages/scripts/components-pickers.js}"
|
|
type="text/javascript"></script>
|
|
<script >
|
|
var prefix = ctx + "process/definition";
|
|
jQuery(document).ready(function() {
|
|
Metronic.init(); // init metronic core components
|
|
Layout.init(); // init current layout
|
|
Demo.init(); // init demo features
|
|
ComponentsPickers.init();
|
|
var wsTable = new wsTableInit();
|
|
wsTable.Init();
|
|
});
|
|
var wsTableInit = function() {
|
|
var wsTableInit = new Object();
|
|
//初始化Table
|
|
wsTableInit.Init = function() {
|
|
$('#wstable').bootstrapTable({
|
|
url: prefix + "/list",
|
|
method : 'post',
|
|
striped : true, //是否显示行间隔色
|
|
cache : false, //是否使用缓存,默认为true,所以一般情况下需要设置一下这个属性(*)
|
|
pagination : true, //是否显示分页(*)
|
|
queryParams : wsTableInit.queryParams, //传递参数(*)
|
|
sidePagination : "server", //分页方式:client客户端分页,server服务端分页(*)
|
|
pageNumber : 1, //初始化加载第一页,默认第一页
|
|
pageSize : 25, //每页的记录行数(*)
|
|
pageList : [ 5, 10, 25, 50, 100, 'ALL' ], //可供选择的每页的行数(*)
|
|
clickToSelect : true, //是否启用点击选中行
|
|
uniqueId : "userId", //每一行的唯一标识,一般为主键列
|
|
showToggle : false, //是否显示详细视图和列表视图的切换按钮
|
|
cardView : false, //是否显示详细视图
|
|
detailView : false, //是否显示父子表
|
|
smartDisplay : false, //加了这个才显示每页显示的行数
|
|
showExport : true, //是否显示导出按钮
|
|
height : 550,
|
|
columns : [ {
|
|
checkbox : true
|
|
},{
|
|
field : 'id',
|
|
title : '流程ID'
|
|
},
|
|
{
|
|
field : 'key',
|
|
title : '流程KEY'
|
|
},
|
|
{
|
|
field : 'name',
|
|
title : '流程名称'
|
|
},
|
|
{
|
|
field : 'version',
|
|
title : '版本'
|
|
},
|
|
{
|
|
field : 'description',
|
|
title : '流程描述'
|
|
},
|
|
{
|
|
field : 'category',
|
|
title : '所属分类'
|
|
},
|
|
{
|
|
field : 'deploymentTime',
|
|
title : '部署时间'
|
|
}]
|
|
});
|
|
}
|
|
|
|
//得到查询的参数
|
|
wsTableInit.queryParams = function(params) {
|
|
var temp = { //这里的键的名字和控制器的变量名必须一直,这边改动,控制器也需要改成一样的
|
|
pageSize : params.limit, //页面大小
|
|
pageIndex : params.offset, //页码
|
|
vague : $('#vague').val(),
|
|
fromBegin : $('#fromBegin').val(),
|
|
toEnd : $('#toEnd').val(),
|
|
};
|
|
return temp;
|
|
}
|
|
return wsTableInit;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</script>
|
|
</body>
|
|
<!-- END BODY -->
|
|
</html>
|