活动管理-活动次数记录列表修改
This commit is contained in:
parent
84699a9412
commit
bc954dbea1
|
|
@ -12,7 +12,11 @@
|
||||||
<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>
|
||||||
|
|
@ -23,25 +27,25 @@
|
||||||
<!-- <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,7 +54,8 @@
|
||||||
<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>-->
|
||||||
|
|
@ -62,8 +67,10 @@
|
||||||
<!-- <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>
|
||||||
|
|
@ -80,7 +87,8 @@
|
||||||
<!-- <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>
|
||||||
|
|
@ -96,6 +104,7 @@
|
||||||
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 = {
|
||||||
|
|
@ -108,34 +117,30 @@
|
||||||
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: '用户标识'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
field: 'drawcode',
|
||||||
|
title: '活动代码',
|
||||||
formatter: function (value, row, index) {
|
formatter: function (value, row, index) {
|
||||||
return $.table.selectDictLabel(drawTypes, value);
|
return $.table.selectDrawname(drawInfoList, value);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
field: 'addnumber',
|
field: 'addnumber',
|
||||||
title: '赠送次数'
|
title: '赠送次数'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
field: 'availablenumber',
|
||||||
|
title: '可用次数'
|
||||||
|
},
|
||||||
{
|
{
|
||||||
field: 'state',
|
field: 'state',
|
||||||
title: '状态',
|
title: '状态',
|
||||||
|
|
@ -144,8 +149,19 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
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',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue