|
|
|
|
<div>
|
|
|
|
|
<div class="pd_10 bg-ivory clearfix mt_10 mb_10">
|
|
|
|
|
<?php echo ZcHtmlHelper::drawForm('queueSearch', Zc::url(AdminRouteConst::movePublishHourStatistics), 'get', 'class="form-inline"');?>
|
|
|
|
|
<div class="sub-menu clearfix">
|
|
|
|
|
<!-- Select Basic -->
|
|
|
|
|
<div class="inline form-inline mr_20">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="venderId">VenderId:</label>
|
|
|
|
|
<input type="text" class="form-control w110" name="mallId" value="<?php echo $filter['mallId'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="J_shopCateList">日期:</label>
|
|
|
|
|
<input type="text" class="form-control input-sm J_datetimePicker w110" name="startDt" value="<?php echo $filter['startDt'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="J_shopCateList">至</label>
|
|
|
|
|
<input type="text" class="form-control input-sm J_datetimePicker w110" name="endDt" value="<?php echo $filter['endDt'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline ml_20">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>小时:</label>
|
|
|
|
|
<input type="text" class="form-control input-sm span1" name="startHour" value="<?php echo $filter['startHour'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="J_shopCateList">至</label>
|
|
|
|
|
<input type="text" class="form-control input-sm span1" name="endHour" value="<?php echo $filter['endHour'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline ml_20">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label>优先级:</label>
|
|
|
|
|
<input type="text" class="form-control input-sm span1" name="startPriority" value="<?php echo $filter['startPriority'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="inline form-inline">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label for="J_shopCateList">至</label>
|
|
|
|
|
<input type="text" class="form-control input-sm span1" name="endPriority" value="<?php echo $filter['endPriority'];?>">
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<button type="submit"
|
|
|
|
|
class="btn btn-sm btn-primary J_searchWareBtn">
|
|
|
|
|
<span class="glyphicon glyphicon-search"></span> 查询
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<?php echo '</form>'?>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="opt-ware-filter mb_10">
|
|
|
|
|
<div class="title-opt">
|
|
|
|
|
<table class="data-table">
|
|
|
|
|
<thead>
|
|
|
|
|
<tr>
|
|
|
|
|
<th class="text-left">日期/小时</th>
|
|
|
|
|
<th class="text-left">总数统计</th>
|
|
|
|
|
<?php for($i = 0; $i < 24; $i++){?>
|
|
|
|
|
<th class="text-center"><?php echo $i?></th>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($publishQueueStatisticList as $publishDay => $currDayCntDetail){
|
|
|
|
|
?>
|
|
|
|
|
<tr>
|
|
|
|
|
<?php ?>
|
|
|
|
|
<td>
|
|
|
|
|
<?php
|
|
|
|
|
echo $publishDay;
|
|
|
|
|
?>
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
<div><?php echo $currDayCntDetail['totalNum']?></div>
|
|
|
|
|
<div class="text-success"><?php echo $currDayCntDetail['successTotal']?></div>
|
|
|
|
|
<div class="text-danger"><?php echo $currDayCntDetail['errorTotal']?></div>
|
|
|
|
|
<div class="text-muted"><?php echo $currDayCntDetail['retryTotal']?></div>
|
|
|
|
|
<div class="text-warning mt_10">
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($currDayCntDetail['dayPriorityCount'] as $currPriority => $priorityTotal) {
|
|
|
|
|
echo sprintf('%s:%s</br>', $currPriority, $priorityTotal);
|
|
|
|
|
}
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<?php for($i = 0; $i < 24; $i++){?>
|
|
|
|
|
<td style="vertical-align:top;">
|
|
|
|
|
<div><?php echo $currDayCntDetail['hourCount'][$i]['totalNum']?></div>
|
|
|
|
|
<div class="text-success"><?php echo $currDayCntDetail['hourCount'][$i]['successTotal']?></div>
|
|
|
|
|
<div class="text-danger"><?php echo $currDayCntDetail['hourCount'][$i]['errorTotal']?></div>
|
|
|
|
|
<div class="text-muted"><?php echo $currDayCntDetail['hourCount'][$i]['retryTotal']?></div>
|
|
|
|
|
<div class="text-warning mt_10">
|
|
|
|
|
<?php
|
|
|
|
|
foreach ($currDayCntDetail['hourPriorityCount'][$i] as $thisHourPriority => $thisHourPriorityTotal) {
|
|
|
|
|
echo sprintf('%s:%s</br>', $thisHourPriority, $thisHourPriorityTotal);
|
|
|
|
|
}
|
|
|
|
|
echo sprintf('t:%s</br>', $currDayCntDetail['hourCount'][$i]['avg_publish_cost_seconds']);
|
|
|
|
|
?>
|
|
|
|
|
</div>
|
|
|
|
|
</td>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</tr>
|
|
|
|
|
<?php }?>
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|