新增抽奖明细导出功能
This commit is contained in:
@@ -7,21 +7,26 @@
|
||||
|
||||
<section class="content">
|
||||
<div id="toolbar">
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="queryStartDate" class="control-label">开始时间:</label>
|
||||
<input type="text" class="input-sm datetime" id="queryStartDate" placeholder="开始时间">
|
||||
</div>
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="queryEndDate" class="control-label">结束时间:</label>
|
||||
<input type="text" class="input-sm datetime" id="queryEndDate" placeholder="结束时间">
|
||||
</div>
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="erbanNo" class="control-label">用户ID:</label>
|
||||
<input type="text" class="input-sm" name="erbanNo" id="erbanNo" placeholder="">
|
||||
</div>
|
||||
<form id="searchForm" action="/admin/seize-treasure/treasure/record/export" method="get"
|
||||
target="_blank">
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="queryStartDate" class="control-label">开始时间:</label>
|
||||
<input type="text" class="input-sm datetime" name="startTime" id="queryStartDate" placeholder="开始时间">
|
||||
</div>
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="queryEndDate" class="control-label">结束时间:</label>
|
||||
<input type="text" class="input-sm datetime" name="endTime" id="queryEndDate" placeholder="结束时间">
|
||||
</div>
|
||||
<div class="form-group col-sm-3">
|
||||
<label for="erbanNo" class="control-label">用户ID:</label>
|
||||
<input type="text" class="input-sm" name="erbanNo" id="erbanNo" placeholder="">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div class="row"></div>
|
||||
<div>
|
||||
<button class="btn btn-primary" id="searchBtn">查询</button>
|
||||
<button id="btnExport" class="btn btn-sm btn-primary">导出</button>
|
||||
</div>
|
||||
</div>
|
||||
<div id="table"></div>
|
||||
@@ -87,6 +92,11 @@ export default {
|
||||
};
|
||||
main.init();
|
||||
|
||||
// 导出
|
||||
$('#btnExport').on('click', function () {
|
||||
$("#searchForm").submit();
|
||||
});
|
||||
|
||||
function tableRefresh() {
|
||||
$('#table').bootstrapTable('destroy');
|
||||
$('#table').bootstrapTable({
|
||||
|
Reference in New Issue
Block a user