liyinglin 3 years ago
parent 200d80e494
commit 8581de1170

@ -310,6 +310,7 @@ class ProjectController extends CommonController
->where(function ($qeury) use ($hushizhang, $userId) { ->where(function ($qeury) use ($hushizhang, $userId) {
if ($hushizhang) $qeury->where('admin_id', $userId); if ($hushizhang) $qeury->where('admin_id', $userId);
})->where('project_id', $project_id)->paginate(10); })->where('project_id', $project_id)->paginate(10);
return view($this->bladePath . ".asksubmit_index", compact("data", "project_id")); return view($this->bladePath . ".asksubmit_index", compact("data", "project_id"));
} }

@ -34,7 +34,11 @@
{{ $row->admin->name }} {{ $row->admin->name }}
</td> </td>
<td>{{ $row->project->name }}</td> <td>{{ $row->project->name }}</td>
<td>{{ $row->content }}</td> <td>
@foreach ($raw->content as $item)
{{ $item->ask }}{{ $item->score }}
@endforeach
</td>
<td>{{ $row->score }}</td> <td>{{ $row->score }}</td>
<td> <td>
<a class="btn btn-sm btn-primary" <a class="btn btn-sm btn-primary"

Loading…
Cancel
Save