活动管理-活动次数记录列表修改
This commit is contained in:
parent
84699a9412
commit
bc954dbea1
|
|
@ -12,7 +12,11 @@
|
|||
<ul>
|
||||
<li>
|
||||
<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>
|
||||
<label>任务流水:</label>
|
||||
|
|
@ -23,25 +27,25 @@
|
|||
<!-- <label>可用次数:</label>-->
|
||||
<!-- <input type="text" name="AVAILABLENUMBER"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<label>手机号:</label>
|
||||
<input type="text" name="PHONE"/>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>手机号:</label>-->
|
||||
<!-- <input type="text" name="PHONE"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>身份认证状态:</label>-->
|
||||
<!-- <input type="text" name="VSTATE"/>-->
|
||||
<!-- </li>-->
|
||||
<li>
|
||||
<label>用户等级:</label>
|
||||
<input type="text" name="ULEVEL"/>
|
||||
</li>
|
||||
<li>
|
||||
<label>次数类型:</label>
|
||||
<select name="TYPE" th:with="type=${@dict.getType('drawType')}" style="width: 80px">
|
||||
<option value="">所有</option>
|
||||
<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
|
||||
</select>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
<!-- <label>用户等级:</label>-->
|
||||
<!-- <input type="text" name="ULEVEL"/>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>次数类型:</label>-->
|
||||
<!-- <select name="TYPE" th:with="type=${@dict.getType('drawType')}" style="width: 80px">-->
|
||||
<!-- <option value="">所有</option>-->
|
||||
<!-- <option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>-->
|
||||
<!-- </select>-->
|
||||
<!-- </li>-->
|
||||
<!-- <li>-->
|
||||
<!-- <label>赠送次数:</label>-->
|
||||
<!-- <input type="text" name="ADDNUMBER"/>-->
|
||||
|
|
@ -50,7 +54,8 @@
|
|||
<label>状态:</label>
|
||||
<select name="STATE" th:with="type=${@dict.getType('status')}" style="width: 80px">
|
||||
<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>
|
||||
</li>
|
||||
<!-- <li>-->
|
||||
|
|
@ -62,8 +67,10 @@
|
|||
<!-- <input type="text" name="ISSPECIALFLAG"/>-->
|
||||
<!-- </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>
|
||||
|
|
@ -80,7 +87,8 @@
|
|||
<!-- <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">
|
||||
<a class="btn btn-warning" onclick="$.table.exportExcel()"
|
||||
shiro:hasPermission="activity:DrawTaskNotify:export">
|
||||
<i class="fa fa-download"></i> 导出
|
||||
</a>
|
||||
</div>
|
||||
|
|
@ -96,6 +104,7 @@
|
|||
var STATEDatas = [[${@dict.getType('status')}]];
|
||||
var prefix = ctx + "activity/DrawTaskNotify";
|
||||
var drawTypes = [[${@dict.getType('drawType')}]];
|
||||
var drawInfoList = [[${@drawInfo.findDrawInfoList()}]];
|
||||
|
||||
$(function () {
|
||||
var options = {
|
||||
|
|
@ -108,34 +117,30 @@
|
|||
columns: [{
|
||||
checkbox: true
|
||||
},
|
||||
// {
|
||||
// field: 'tasknotifyid',
|
||||
// title: '业务主键'
|
||||
// },
|
||||
{
|
||||
field: 'drawcode',
|
||||
title: '活动代码'
|
||||
},
|
||||
{
|
||||
field: 'taskid',
|
||||
title: '任务流水'
|
||||
},
|
||||
{
|
||||
field: 'userid',
|
||||
title: '用户标识',
|
||||
field: 'tasknotifyid',
|
||||
title: '业务主键',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'type',
|
||||
title: '赠送次数类型',
|
||||
field: 'userid',
|
||||
title: '用户标识'
|
||||
},
|
||||
{
|
||||
field: 'drawcode',
|
||||
title: '活动代码',
|
||||
formatter: function (value, row, index) {
|
||||
return $.table.selectDictLabel(drawTypes, value);
|
||||
return $.table.selectDrawname(drawInfoList, value);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'addnumber',
|
||||
title: '赠送次数'
|
||||
},
|
||||
{
|
||||
field: 'availablenumber',
|
||||
title: '可用次数'
|
||||
},
|
||||
{
|
||||
field: 'state',
|
||||
title: '状态',
|
||||
|
|
@ -144,8 +149,19 @@
|
|||
}
|
||||
},
|
||||
{
|
||||
field: 'availablenumber',
|
||||
title: '可用次数'
|
||||
field: 'type',
|
||||
title: '赠送次数类型',
|
||||
formatter: function (value, row, index) {
|
||||
return $.table.selectDictLabel(drawTypes, value);
|
||||
}
|
||||
},
|
||||
{
|
||||
field: 'taskid',
|
||||
title: '任务流水'
|
||||
},
|
||||
{
|
||||
field: 'tasktype',
|
||||
title: '请求类型'
|
||||
},
|
||||
{
|
||||
field: 'checkingdate',
|
||||
|
|
@ -154,28 +170,29 @@
|
|||
},
|
||||
{
|
||||
field: 'phone',
|
||||
title: '手机号'
|
||||
title: '手机号',
|
||||
visible: false
|
||||
},
|
||||
|
||||
{
|
||||
field: 'tasktype',
|
||||
title: '请求类型',
|
||||
field: 'vstate',
|
||||
title: '身份认证状态',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'vstate',
|
||||
title: '身份认证状态'
|
||||
},
|
||||
{
|
||||
field: 'ulevel',
|
||||
title: '用户等级'
|
||||
title: '用户等级',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'source',
|
||||
title: '请求来源'
|
||||
title: '请求来源',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'isspecialflag',
|
||||
title: '是否白名单'
|
||||
title: '是否白名单',
|
||||
visible: false
|
||||
},
|
||||
{
|
||||
field: 'requestflag',
|
||||
|
|
|
|||
Loading…
Reference in New Issue