作者 王晓刚
1 个管道 的构建 通过 耗费 1 秒

统计

... ... @@ -140,7 +140,7 @@ class StatisticsController extends AdminBaseController
->where("status != 1 and status != -1")
->where('is_del',0)
->sum('total_price');
$receiver_today[] = ["$r_d[receiver_county]"];
$receiver_today[] = ["$r_d[receiver_province]|$r_d[receiver_county]"];
$receiver_today[$key][] = $receiver_today_place;
$receiver_today[$key][] = $receiver_today_cancel;
$receiver_today[$key][] = $receiver_today_get;
... ...
... ... @@ -74,8 +74,8 @@
});
option1 = {
title: {
text: '昨天数据统计',
subtext: 'Yesterdays statistics'
text: '昨天全部订单数据统计',
subtext: 'The statistics of all orders yesterday'
},
tooltip : {
trigger: 'axis',
... ... @@ -123,8 +123,8 @@
var myChart2 = echarts.init(document.getElementById('main2'));
option2 = {
title: {
text: '昨天收货地址数据统计',
subtext: 'Yesterday receiving address data statistics'
text: '昨天各收货地址订单数据统计',
subtext: 'Yesterday each receiving address order data statistics'
},
tooltip: {
trigger: 'axis',
... ... @@ -178,8 +178,8 @@
});
option3 = {
title: {
text: '总体数据统计',
subtext: 'Aggregate statistics'
text: '全部订单数据统计',
subtext: 'Statistics of all orders'
},
tooltip : {
trigger: 'axis',
... ... @@ -227,8 +227,8 @@
var myChart4 = echarts.init(document.getElementById('main4'));
option4 = {
title: {
text: '总体收货地址数据统计',
subtext: 'Total receiving address data statistics'
text: '各收货地址全部订单数据统计',
subtext: 'All order data statistics of each receiving address'
},
tooltip: {
trigger: 'axis',
... ...