sth
This commit is contained in:
parent
d4aea44afc
commit
8fa06c3a53
|
|
@ -87,18 +87,18 @@ class Worker extends Backend
|
||||||
$this->assign('add_count_7',$active_count_7);
|
$this->assign('add_count_7',$active_count_7);
|
||||||
|
|
||||||
//待接单
|
//待接单
|
||||||
$todo_count = OrderDispatch::where('status',OrderDispatch::STATUS_TOGET)->count();
|
//$todo_count = OrderDispatch::where('status',OrderDispatch::STATUS_TOGET)->count();
|
||||||
//进行中
|
//进行中
|
||||||
$ing_count = OrderDispatch::whereIn('status',[OrderDispatch::STATUS_GOTIT,OrderDispatch::STATUS_PLANIT,OrderDispatch::STATUS_CLOCK])->count();
|
//$ing_count = OrderDispatch::whereIn('status',[OrderDispatch::STATUS_GOTIT,OrderDispatch::STATUS_PLANIT,OrderDispatch::STATUS_CLOCK])->count();
|
||||||
//待验收
|
//待验收
|
||||||
$check_count = OrderDispatch::where('status',Order::STATUS_CHECKING)->count();
|
//$check_count = OrderDispatch::where('status',Order::STATUS_CHECKING)->count();
|
||||||
//售后待处理
|
//售后待处理
|
||||||
$aftersale_count = Aftersale::where('status',1)->count();
|
//$aftersale_count = Aftersale::where('status',1)->count();
|
||||||
|
|
||||||
$this->assign('todo_count',$todo_count);
|
/* $this->assign('todo_count',$todo_count);
|
||||||
$this->assign('ing_count',$ing_count);
|
$this->assign('ing_count',$ing_count);
|
||||||
$this->assign('check_count',$check_count);
|
$this->assign('check_count',$check_count);
|
||||||
$this->assign('aftersale_count',$aftersale_count);
|
$this->assign('aftersale_count',$aftersale_count);*/
|
||||||
|
|
||||||
//师傅坐标
|
//师傅坐标
|
||||||
$list = \app\admin\model\Worker::where('lng','>',0)->field(['lng','lat'])->select();
|
$list = \app\admin\model\Worker::where('lng','>',0)->field(['lng','lat'])->select();
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="col-sm-3 col-xs-6">
|
<!-- <div class="col-sm-3 col-xs-6">
|
||||||
<div class="sm-st clearfix">
|
<div class="sm-st clearfix">
|
||||||
<span class="sm-st-icon st-violet"><i class="fa fa-users"></i></span>
|
<span class="sm-st-icon st-violet"><i class="fa fa-users"></i></span>
|
||||||
<div class="sm-st-info">
|
<div class="sm-st-info">
|
||||||
|
|
@ -223,7 +223,7 @@
|
||||||
待处理售后
|
待处理售后
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user