@ -149,6 +149,10 @@ class OrdersController extends CommonController
if (!$projects->count()) {
return $this->error($this->noProjects);
}
// 如果当前用户是护士长要加限制
dd(auth());
$project_id = request()->project_id ?? $projects->first()->id;
$this->model = $this->model->where("project_id", $project_id)->whereNotNull("scored_at");
if (request()->keyword) {