|
...
|
...
|
@@ -42,7 +42,8 @@ |
|
|
|
</div>-->
|
|
|
|
<button class="layui-btn" id="search" data-type="reload">查询统计</button>
|
|
|
|
</div>
|
|
|
|
<table class="layui-table" id="list" lay-filter="list"></table>
|
|
|
|
<table class="layui-table" id="list" lay-filter="list">
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<script type="text/html" id="toolbarDemo">
|
|
|
|
<span>订单总数:<i id="count">X</i>条 【小程序 <i id="appReserveCount">X</i> / 座机 <i id="AndroidReserveCount">D</i>】</span>
|
|
...
|
...
|
@@ -60,14 +61,18 @@ |
|
|
|
method: 'post',
|
|
|
|
title: '预定订单统计',
|
|
|
|
page:true,
|
|
|
|
sort:true,
|
|
|
|
cellMinWidth: 30,
|
|
|
|
toolbar: '#toolbarDemo',
|
|
|
|
cols: [[
|
|
|
|
{checkbox:true,fixed: true},
|
|
|
|
{field: 'id', title: '{:lang("id")}', width:60, fixed: true},
|
|
|
|
{field: 'sellername', title: '商家名称', width: 350},
|
|
|
|
{field: 'reserve_count', align: 'center', title: '产生预定订单量(小程序/座机)', sort: true, width: 250},
|
|
|
|
{field: 'sms_send_count', align: 'center',title: '短信发送量(小程序/座机)', sort: true, width: 250},
|
|
|
|
{field: 'inviting', align: 'center',title: '当前商户通过邀请函拉到的顾客', width: 360, sort: true},
|
|
|
|
{field: 'id', title: '{:lang("id")}',width:60, fixed: true},
|
|
|
|
{field: 'sellername', title: '商家名称'},
|
|
|
|
{field: 'reserve_count_sort', align: 'right', title: '产生预定订单总量', sort: true},
|
|
|
|
{field: 'reserve_count', align: 'left', title: '预定订单构成(小程序/座机)'},
|
|
|
|
{field: 'sms_send_count_sort', align: 'right',title: '短信发送总量',colspan:1, sort: true},
|
|
|
|
{field: 'sms_send_count', align: 'left',title: '短信发送构成(小程序/座机)'},
|
|
|
|
{field: 'inviting', align: 'center',title: '当前商户通过邀请函拉到的顾客', sort: true},
|
|
|
|
]],
|
|
|
|
done: function(res, curr, count){
|
|
|
|
$('#count').html(res.countReserve);
|
...
|
...
|
|