From 3999d5952e251daa4a6d02cb0d547d1be43c8594 Mon Sep 17 00:00:00 2001 From: liangyuyan <1103300295@qq.com> Date: Fri, 27 Nov 2020 11:22:22 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A4=BE=E5=8C=BA=E4=BB=A3=E7=90=86=E7=82=B9?= =?UTF-8?q?=E7=BB=9F=E8=AE=A1--=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81?= =?UTF-8?q?=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Admin/Controllers/v3/ReportCommunityController.php | 2 +- app/Admin/Repositories/v3/ReportCommunity.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Admin/Controllers/v3/ReportCommunityController.php b/app/Admin/Controllers/v3/ReportCommunityController.php index cd7f3b8..063b559 100644 --- a/app/Admin/Controllers/v3/ReportCommunityController.php +++ b/app/Admin/Controllers/v3/ReportCommunityController.php @@ -83,8 +83,8 @@ class ReportCommunityController extends AdminController $filter->equal('name','姓名')->width(2); if(!$this->marketId){ $filter->equal('market_id','市场')->select($marketList)->width(2); - $filter->equal('status','状态')->select(EmployeesModel::$_STATUS)->default(1)->width(2); } + $filter->equal('status','状态')->select(EmployeesModel::$_STATUS)->width(2); }); $grid->tools([ diff --git a/app/Admin/Repositories/v3/ReportCommunity.php b/app/Admin/Repositories/v3/ReportCommunity.php index 4755723..6f7f6ee 100644 --- a/app/Admin/Repositories/v3/ReportCommunity.php +++ b/app/Admin/Repositories/v3/ReportCommunity.php @@ -170,7 +170,7 @@ class ReportCommunity extends EloquentRepository /** * 获取懒族员工 model */ - public function getEmployeesData($selects, $params = ['status' => 1]) + public function getEmployeesData($selects, $params = []) { $model = Model::select(DB::raw($selects));