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));