2021-03-26 10:58:42 +08:00
|
|
|
<!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('活动次数记录信息列表')" />
|
|
|
|
|
</head>
|
|
|
|
|
<body class="gray-bg">
|
|
|
|
|
<div class="container-div">
|
|
|
|
|
<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="DRAWCODE"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<label>任务流水:</label>
|
|
|
|
|
<input type="text" name="TASKID"/>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
2021-03-26 11:13:31 +08:00
|
|
|
<label>次数类型:</label>
|
|
|
|
|
<select name="TYPE" th:with="type=${@dict.getType('drawType')}">
|
2021-03-26 10:58:42 +08:00
|
|
|
<option value="">所有</option>
|
2021-03-26 11:13:31 +08:00
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
2021-03-26 10:58:42 +08:00
|
|
|
</select>
|
|
|
|
|
</li>
|
2021-03-26 11:13:31 +08:00
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <label>赠送次数:</label>-->
|
|
|
|
|
<!-- <input type="text" name="ADDNUMBER"/>-->
|
|
|
|
|
<!-- </li>-->
|
2021-03-26 10:58:42 +08:00
|
|
|
<li>
|
|
|
|
|
<label>状态:</label>
|
2021-03-26 11:13:31 +08:00
|
|
|
<select name="STATE" th:with="type=${@dict.getType('status')}">
|
|
|
|
|
<option value="">所有</option>
|
|
|
|
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
|
|
|
|
</select>
|
2021-03-26 10:58:42 +08:00
|
|
|
</li>
|
2021-03-26 11:13:31 +08:00
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <label>可用次数:</label>-->
|
|
|
|
|
<!-- <input type="text" name="AVAILABLENUMBER"/>-->
|
|
|
|
|
<!-- </li>-->
|
2021-03-26 10:58:42 +08:00
|
|
|
<li>
|
|
|
|
|
<label>手机号:</label>
|
|
|
|
|
<input type="text" name="PHONE"/>
|
|
|
|
|
</li>
|
2021-03-26 11:13:31 +08:00
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <label>身份认证状态:</label>-->
|
|
|
|
|
<!-- <input type="text" name="VSTATE"/>-->
|
|
|
|
|
<!-- </li>-->
|
2021-03-26 10:58:42 +08:00
|
|
|
<li>
|
|
|
|
|
<label>用户等级:</label>
|
|
|
|
|
<input type="text" name="ULEVEL"/>
|
|
|
|
|
</li>
|
2021-03-26 11:13:31 +08:00
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <label>请求来源:</label>-->
|
|
|
|
|
<!-- <input type="text" name="SOURCE"/>-->
|
|
|
|
|
<!-- </li>-->
|
|
|
|
|
<!-- <li>-->
|
|
|
|
|
<!-- <label>是否白名单:</label>-->
|
|
|
|
|
<!-- <input type="text" name="ISSPECIALFLAG"/>-->
|
|
|
|
|
<!-- </li>-->
|
2021-03-26 10:58:42 +08:00
|
|
|
<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="activity:DrawTaskNotify:add">-->
|
|
|
|
|
<!-- <i class="fa fa-plus"></i> 添加-->
|
|
|
|
|
<!-- </a>-->
|
|
|
|
|
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:DrawTaskNotify:edit">-->
|
|
|
|
|
<!-- <i class="fa fa-edit"></i> 修改-->
|
|
|
|
|
<!-- </a>-->
|
|
|
|
|
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:DrawTaskNotify:remove">-->
|
|
|
|
|
<!-- <i class="fa fa-remove"></i> 删除-->
|
|
|
|
|
<!-- </a>-->
|
|
|
|
|
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:DrawTaskNotify:export">
|
|
|
|
|
<i class="fa fa-download"></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 editFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:edit')}]];
|
|
|
|
|
var removeFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:remove')}]];
|
|
|
|
|
var STATEDatas = [[${@dict.getType('status')}]];
|
|
|
|
|
var prefix = ctx + "activity/DrawTaskNotify";
|
2021-03-26 11:13:31 +08:00
|
|
|
var drawTypes = [[${@dict.getType('drawType')}]];
|
2021-03-26 10:58:42 +08:00
|
|
|
|
|
|
|
|
$(function() {
|
|
|
|
|
var options = {
|
|
|
|
|
url: prefix + "/list",
|
|
|
|
|
createUrl: prefix + "/add",
|
|
|
|
|
updateUrl: prefix + "/edit/{id}",
|
|
|
|
|
removeUrl: prefix + "/remove",
|
|
|
|
|
exportUrl: prefix + "/export",
|
|
|
|
|
modalName: "活动次数记录信息",
|
|
|
|
|
columns: [{
|
|
|
|
|
checkbox: true
|
|
|
|
|
},
|
2021-03-26 11:13:31 +08:00
|
|
|
// {
|
|
|
|
|
// field: 'tasknotifyid',
|
|
|
|
|
// title: '业务主键'
|
|
|
|
|
// },
|
2021-03-26 10:58:42 +08:00
|
|
|
{
|
|
|
|
|
field: 'drawcode',
|
|
|
|
|
title: '活动代码'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'taskid',
|
|
|
|
|
title: '任务流水'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'userid',
|
|
|
|
|
title: '用户标识',
|
|
|
|
|
visible: false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'type',
|
2021-03-26 11:13:31 +08:00
|
|
|
title: '赠送次数类型',
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
return $.table.selectDictLabel(drawTypes, value);
|
|
|
|
|
}
|
2021-03-26 10:58:42 +08:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'addnumber',
|
|
|
|
|
title: '赠送次数'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'state',
|
|
|
|
|
title: '状态',
|
|
|
|
|
formatter: function(value, row, index) {
|
|
|
|
|
return $.table.selectDictLabel(STATEDatas, value);
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'availablenumber',
|
|
|
|
|
title: '可用次数'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'checkingdate',
|
|
|
|
|
title: '账务日期',
|
|
|
|
|
visible: false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'phone',
|
|
|
|
|
title: '手机号'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'tasktype',
|
|
|
|
|
title: '请求类型',
|
|
|
|
|
visible: false
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'vstate',
|
|
|
|
|
title: '身份认证状态'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'ulevel',
|
|
|
|
|
title: '用户等级'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'source',
|
|
|
|
|
title: '请求来源'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'isspecialflag',
|
|
|
|
|
title: '是否白名单'
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
field: 'requestflag',
|
|
|
|
|
title: '请求标识',
|
|
|
|
|
visible: false
|
|
|
|
|
},
|
|
|
|
|
// {
|
|
|
|
|
// title: '操作',
|
|
|
|
|
// align: 'center',
|
|
|
|
|
// 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.userid + '\')"><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.userid + '\')"><i class="fa fa-remove"></i>删除</a>');
|
|
|
|
|
// return actions.join('');
|
|
|
|
|
// }
|
|
|
|
|
// }
|
|
|
|
|
]
|
|
|
|
|
};
|
|
|
|
|
$.table.init(options);
|
|
|
|
|
});
|
|
|
|
|
</script>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|