bo
This commit is contained in:
@@ -459,6 +459,7 @@ class GroupsStatistics extends BaseController
|
||||
$name = date('Y-m-d', $start_Time);
|
||||
$times[] = ['name' => $name, 'start' => $start, 'end' => $end];
|
||||
$xAxisData[] = $name;
|
||||
$i++;
|
||||
}
|
||||
foreach ($legend_data as $v) {
|
||||
$legendData[] = $v['name'];
|
||||
@@ -941,9 +942,11 @@ class GroupsStatistics extends BaseController
|
||||
}
|
||||
}
|
||||
$list1 = [];
|
||||
foreach ($levels as $k2 => $v2) {
|
||||
$levelId = $v2['levelId'];
|
||||
$list1[$v2['prop']] = $map_groups[$v[$levelId]] ? $map_groups[$v[$levelId]] : '';
|
||||
if($levels){
|
||||
foreach ($levels as $k2 => $v2) {
|
||||
$levelId = $v2['levelId'];
|
||||
$list1[$v2['prop']] = $map_groups[$v[$levelId]] ? $map_groups[$v[$levelId]] : '';
|
||||
}
|
||||
}
|
||||
$list2 = ['bizName' => $bizName, 'consultantName' => $consultantName, 'browse' => $browse,
|
||||
'subscribe' => $subscribe, 'beforeOrder' => $beforeOrderTotal, 'order' => $order, 'watch' => $watch, 'livePV' => $livePV, 'watchDuration' => $watchDuration];
|
||||
@@ -958,8 +961,10 @@ class GroupsStatistics extends BaseController
|
||||
$columns = '';
|
||||
if ($page == 1) {
|
||||
$columns1 = [];
|
||||
foreach ($levels as $k => $v) {
|
||||
$columns1[] = ['prop' => $v['prop'], 'label' => $v['label'], 'align' => 'center', 'showOverflowTooltip' => true, 'minWidth' => 80];
|
||||
if($levels){
|
||||
foreach ($levels as $k => $v) {
|
||||
$columns1[] = ['prop' => $v['prop'], 'label' => $v['label'], 'align' => 'center', 'showOverflowTooltip' => true, 'minWidth' => 80];
|
||||
}
|
||||
}
|
||||
$columns2 = [
|
||||
['prop' => 'bizName', 'label' => '门店', 'align' => 'center', 'showOverflowTooltip' => true, 'minWidth' => 120],
|
||||
|
||||
Reference in New Issue
Block a user