This commit is contained in:
xman 2025-04-29 09:36:19 +08:00
parent d4aea44afc
commit 8fa06c3a53
2 changed files with 8 additions and 8 deletions

View File

@ -87,18 +87,18 @@ class Worker extends Backend
$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('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();

View File

@ -205,7 +205,7 @@
</div>
</div>
<div class="col-sm-3 col-xs-6">
<!-- <div class="col-sm-3 col-xs-6">
<div class="sm-st clearfix">
<span class="sm-st-icon st-violet"><i class="fa fa-users"></i></span>
<div class="sm-st-info">
@ -223,7 +223,7 @@
待处理售后
</div>
</div>
</div>
</div>-->
</div>