@ -114,7 +114,7 @@ class HomeController extends CommonController
if (is_mobile() || empty($tongji)) {
return view($this->bladePath . ".mobile_home");
} else {
return view($this->bladePath . ".home", compact('projects','counts', 'lies', 'saleList', 'orderList'));
return view($this->bladePath . ".home", compact('project_id','projects','counts', 'lies', 'saleList', 'orderList'));
}
@ -240,7 +240,7 @@
<select class="hospital-select" name="hospital-select">
@foreach($projects as $project)
<option value="{{$project->id}}">{{$project->name}}</option>
<option value="{{$project->id}}" @if($project->id == $project_id) {{ "selected" }}@endif>{{$project->name}}</option>
@endforeach
</select>