From 8fa06c3a53ed2a3efc0b106ee792457974aaf282 Mon Sep 17 00:00:00 2001 From: xman <1946321327@qq.com> Date: Tue, 29 Apr 2025 09:36:19 +0800 Subject: [PATCH] sth --- application/admin/controller/statistics/Worker.php | 12 ++++++------ application/admin/view/statistics/worker/index.html | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/application/admin/controller/statistics/Worker.php b/application/admin/controller/statistics/Worker.php index 7407dd2..9a71553 100644 --- a/application/admin/controller/statistics/Worker.php +++ b/application/admin/controller/statistics/Worker.php @@ -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(); diff --git a/application/admin/view/statistics/worker/index.html b/application/admin/view/statistics/worker/index.html index e048f26..dc3590b 100644 --- a/application/admin/view/statistics/worker/index.html +++ b/application/admin/view/statistics/worker/index.html @@ -205,7 +205,7 @@ -