master
liyinglin 2 years ago
parent 39f1f1be25
commit e99fbb6168

@ -19,6 +19,7 @@
<table class="table table-bordered" id="data-table"> <table class="table table-bordered" id="data-table">
<thead> <thead>
<tr> <tr>
<th>ID</th>
<th>所属项目/医院</th> <th>所属项目/医院</th>
<th>所在病区</th> <th>所在病区</th>
<th>客户信息</th> <th>客户信息</th>
@ -27,14 +28,14 @@
<tbody> <tbody>
@foreach ($data as $row) @foreach ($data as $row)
<tr data-id="{{$row->id}}"> <tr data-id="{{$row->id}}">
<td>{{ $row->id }}</td>
<td>{{ $row->project->name }}</td> <td>{{ $row->project->name }}</td>
<td>{{ $row->name }}</td> <td>{{ $row->name }}</td>
<td> <td>
@foreach ($row->beds as $r) @foreach ($row->beds as $r)
{{$r->name}}-{{$r->on_going_order->paramedic_name??''}} {{$r->name}}-{{$r->on_going_order??''}}
@endforeach @endforeach
</td> </td>
</tr> </tr>
@endforeach @endforeach
</tbody> </tbody>

Loading…
Cancel
Save