活动管理-活动次数记录列表修改
This commit is contained in:
parent
84699a9412
commit
bc954dbea1
|
|
@ -1,10 +1,10 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
<html lang="zh" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
|
||||||
<head>
|
<head>
|
||||||
<th:block th:include="include :: header('活动次数记录信息列表')" />
|
<th:block th:include="include :: header('活动次数记录信息列表')"/>
|
||||||
</head>
|
</head>
|
||||||
<body class="gray-bg">
|
<body class="gray-bg">
|
||||||
<div class="container-div">
|
<div class="container-div">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-sm-12 search-collapse">
|
<div class="col-sm-12 search-collapse">
|
||||||
<form id="formId">
|
<form id="formId">
|
||||||
|
|
@ -12,36 +12,40 @@
|
||||||
<ul>
|
<ul>
|
||||||
<li>
|
<li>
|
||||||
<label>活动代码:</label>
|
<label>活动代码:</label>
|
||||||
<input type="text" name="DRAWCODE"/>
|
<select name="DRAWCODE" th:with="drawinfo=${@drawInfo.findDrawInfoList()}">
|
||||||
|
<option value="">所有</option>
|
||||||
|
<option th:each="drawInfo : ${drawinfo}" th:text="${drawInfo.DRAWNAME}"
|
||||||
|
th:value="${drawInfo.DRAWCODE}"></option>
|
||||||
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<label>任务流水:</label>
|
<label>任务流水:</label>
|
||||||
<input type="text" name="TASKID"/>
|
<input type="text" name="TASKID"/>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>可用次数:</label>-->
|
<!-- <label>可用次数:</label>-->
|
||||||
<!-- <input type="text" name="AVAILABLENUMBER"/>-->
|
<!-- <input type="text" name="AVAILABLENUMBER"/>-->
|
||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<li>
|
<!-- <li>-->
|
||||||
<label>手机号:</label>
|
<!-- <label>手机号:</label>-->
|
||||||
<input type="text" name="PHONE"/>
|
<!-- <input type="text" name="PHONE"/>-->
|
||||||
</li>
|
<!-- </li>-->
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>身份认证状态:</label>-->
|
<!-- <label>身份认证状态:</label>-->
|
||||||
<!-- <input type="text" name="VSTATE"/>-->
|
<!-- <input type="text" name="VSTATE"/>-->
|
||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<li>
|
<!-- <li>-->
|
||||||
<label>用户等级:</label>
|
<!-- <label>用户等级:</label>-->
|
||||||
<input type="text" name="ULEVEL"/>
|
<!-- <input type="text" name="ULEVEL"/>-->
|
||||||
</li>
|
<!-- </li>-->
|
||||||
<li>
|
<!-- <li>-->
|
||||||
<label>次数类型:</label>
|
<!-- <label>次数类型:</label>-->
|
||||||
<select name="TYPE" th:with="type=${@dict.getType('drawType')}" style="width: 80px">
|
<!-- <select name="TYPE" th:with="type=${@dict.getType('drawType')}" style="width: 80px">-->
|
||||||
<option value="">所有</option>
|
<!-- <option value="">所有</option>-->
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
|
||||||
</select>
|
<!-- </select>-->
|
||||||
</li>
|
<!-- </li>-->
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>赠送次数:</label>-->
|
<!-- <label>赠送次数:</label>-->
|
||||||
<!-- <input type="text" name="ADDNUMBER"/>-->
|
<!-- <input type="text" name="ADDNUMBER"/>-->
|
||||||
|
|
@ -50,20 +54,23 @@
|
||||||
<label>状态:</label>
|
<label>状态:</label>
|
||||||
<select name="STATE" th:with="type=${@dict.getType('status')}" style="width: 80px">
|
<select name="STATE" th:with="type=${@dict.getType('status')}" style="width: 80px">
|
||||||
<option value="">所有</option>
|
<option value="">所有</option>
|
||||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
<option th:each="dict : ${type}" th:text="${dict.dictLabel}"
|
||||||
|
th:value="${dict.dictValue}"></option>
|
||||||
</select>
|
</select>
|
||||||
</li>
|
</li>
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>请求来源:</label>-->
|
<!-- <label>请求来源:</label>-->
|
||||||
<!-- <input type="text" name="SOURCE"/>-->
|
<!-- <input type="text" name="SOURCE"/>-->
|
||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<!-- <li>-->
|
<!-- <li>-->
|
||||||
<!-- <label>是否白名单:</label>-->
|
<!-- <label>是否白名单:</label>-->
|
||||||
<!-- <input type="text" name="ISSPECIALFLAG"/>-->
|
<!-- <input type="text" name="ISSPECIALFLAG"/>-->
|
||||||
<!-- </li>-->
|
<!-- </li>-->
|
||||||
<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-primary btn-rounded btn-sm" onclick="$.table.search()"><i
|
||||||
<a class="btn btn-warning btn-rounded btn-sm" onclick="$.form.reset()"><i class="fa fa-refresh"></i> 重置</a>
|
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>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -71,16 +78,17 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="btn-group-sm" id="toolbar" role="group">
|
<div class="btn-group-sm" id="toolbar" role="group">
|
||||||
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:DrawTaskNotify:add">-->
|
<!-- <a class="btn btn-success" onclick="$.operate.add()" shiro:hasPermission="activity:DrawTaskNotify:add">-->
|
||||||
<!-- <i class="fa fa-plus"></i> 添加-->
|
<!-- <i class="fa fa-plus"></i> 添加-->
|
||||||
<!-- </a>-->
|
<!-- </a>-->
|
||||||
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:DrawTaskNotify:edit">-->
|
<!-- <a class="btn btn-primary single disabled" onclick="$.operate.edit()" shiro:hasPermission="activity:DrawTaskNotify:edit">-->
|
||||||
<!-- <i class="fa fa-edit"></i> 修改-->
|
<!-- <i class="fa fa-edit"></i> 修改-->
|
||||||
<!-- </a>-->
|
<!-- </a>-->
|
||||||
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:DrawTaskNotify:remove">-->
|
<!-- <a class="btn btn-danger multiple disabled" onclick="$.operate.removeAll()" shiro:hasPermission="activity:DrawTaskNotify:remove">-->
|
||||||
<!-- <i class="fa fa-remove"></i> 删除-->
|
<!-- <i class="fa fa-remove"></i> 删除-->
|
||||||
<!-- </a>-->
|
<!-- </a>-->
|
||||||
<a class="btn btn-warning" onclick="$.table.exportExcel()" shiro:hasPermission="activity:DrawTaskNotify:export">
|
<a class="btn btn-warning" onclick="$.table.exportExcel()"
|
||||||
|
shiro:hasPermission="activity:DrawTaskNotify:export">
|
||||||
<i class="fa fa-download"></i> 导出
|
<i class="fa fa-download"></i> 导出
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -88,16 +96,17 @@
|
||||||
<table id="bootstrap-table"></table>
|
<table id="bootstrap-table"></table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<th:block th:include="include :: footer" />
|
<th:block th:include="include :: footer"/>
|
||||||
<script th:inline="javascript">
|
<script th:inline="javascript">
|
||||||
var editFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:edit')}]];
|
var editFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:edit')}]];
|
||||||
var removeFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:remove')}]];
|
var removeFlag = [[${@permission.hasPermi('activity:DrawTaskNotify:remove')}]];
|
||||||
var STATEDatas = [[${@dict.getType('status')}]];
|
var STATEDatas = [[${@dict.getType('status')}]];
|
||||||
var prefix = ctx + "activity/DrawTaskNotify";
|
var prefix = ctx + "activity/DrawTaskNotify";
|
||||||
var drawTypes = [[${@dict.getType('drawType')}]];
|
var drawTypes = [[${@dict.getType('drawType')}]];
|
||||||
|
var drawInfoList = [[${@drawInfo.findDrawInfoList()}]];
|
||||||
|
|
||||||
$(function() {
|
$(function () {
|
||||||
var options = {
|
var options = {
|
||||||
url: prefix + "/list",
|
url: prefix + "/list",
|
||||||
createUrl: prefix + "/add",
|
createUrl: prefix + "/add",
|
||||||
|
|
@ -108,44 +117,51 @@
|
||||||
columns: [{
|
columns: [{
|
||||||
checkbox: true
|
checkbox: true
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// field: 'tasknotifyid',
|
|
||||||
// title: '业务主键'
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
field: 'drawcode',
|
field: 'tasknotifyid',
|
||||||
title: '活动代码'
|
title: '业务主键',
|
||||||
},
|
|
||||||
{
|
|
||||||
field: 'taskid',
|
|
||||||
title: '任务流水'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
field: 'userid',
|
|
||||||
title: '用户标识',
|
|
||||||
visible: false
|
visible: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'type',
|
field: 'userid',
|
||||||
title: '赠送次数类型',
|
title: '用户标识'
|
||||||
formatter: function(value, row, index) {
|
},
|
||||||
return $.table.selectDictLabel(drawTypes, value);
|
{
|
||||||
|
field: 'drawcode',
|
||||||
|
title: '活动代码',
|
||||||
|
formatter: function (value, row, index) {
|
||||||
|
return $.table.selectDrawname(drawInfoList, value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'addnumber',
|
field: 'addnumber',
|
||||||
title: '赠送次数'
|
title: '赠送次数'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'availablenumber',
|
||||||
|
title: '可用次数'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'state',
|
field: 'state',
|
||||||
title: '状态',
|
title: '状态',
|
||||||
formatter: function(value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
return $.table.selectDictLabel(STATEDatas, value);
|
return $.table.selectDictLabel(STATEDatas, value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'availablenumber',
|
field: 'type',
|
||||||
title: '可用次数'
|
title: '赠送次数类型',
|
||||||
|
formatter: function (value, row, index) {
|
||||||
|
return $.table.selectDictLabel(drawTypes, value);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'taskid',
|
||||||
|
title: '任务流水'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'tasktype',
|
||||||
|
title: '请求类型'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'checkingdate',
|
field: 'checkingdate',
|
||||||
|
|
@ -154,28 +170,29 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'phone',
|
field: 'phone',
|
||||||
title: '手机号'
|
title: '手机号',
|
||||||
|
visible: false
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
field: 'tasktype',
|
field: 'vstate',
|
||||||
title: '请求类型',
|
title: '身份认证状态',
|
||||||
visible: false
|
visible: false
|
||||||
},
|
},
|
||||||
{
|
|
||||||
field: 'vstate',
|
|
||||||
title: '身份认证状态'
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
field: 'ulevel',
|
field: 'ulevel',
|
||||||
title: '用户等级'
|
title: '用户等级',
|
||||||
|
visible: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'source',
|
field: 'source',
|
||||||
title: '请求来源'
|
title: '请求来源',
|
||||||
|
visible: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'isspecialflag',
|
field: 'isspecialflag',
|
||||||
title: '是否白名单'
|
title: '是否白名单',
|
||||||
|
visible: false
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'requestflag',
|
field: 'requestflag',
|
||||||
|
|
@ -196,6 +213,6 @@
|
||||||
};
|
};
|
||||||
$.table.init(options);
|
$.table.init(options);
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Loading…
Reference in New Issue