master
parent
21a0415216
commit
d424a290a3
@ -0,0 +1,62 @@
|
||||
@extends("admin.layouts.layout")
|
||||
|
||||
@section("content")
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="mb-3">
|
||||
<form class="form-inline" id="search-form" autocomplete="off">
|
||||
<select class="form-control mr-1" name="project_id"
|
||||
onchange="$(this).closest('form').submit()">
|
||||
@foreach($projects as $pp)
|
||||
<option
|
||||
value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>
|
||||
@endforeach
|
||||
</select>
|
||||
</form>
|
||||
</div>
|
||||
<table class="table table-bordered" id="data-table">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>订单编号</th>
|
||||
<th>所属项目/医院</th>
|
||||
<th>所在楼栋</th>
|
||||
<th>所在病区</th>
|
||||
<th>客户姓名</th>
|
||||
<th>联系电话</th>
|
||||
<th>被护理人</th>
|
||||
<th>开始服务日期</th>
|
||||
<th>评分</th>
|
||||
<th>评价</th>
|
||||
<th>操作</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($data as $row)
|
||||
<tr data-id="{{$row->id}}">
|
||||
<td>
|
||||
{{ $row->serial }}
|
||||
</td>
|
||||
<td>{{ $row->project->name }}</td>
|
||||
<td>{{ $row->bed->building->name }}</td>
|
||||
<td>{{ $row->bed->area->name }}</td>
|
||||
<td>{{ $row->customer->name ?: $row->patient->name }}</td>
|
||||
<td>{{ $row->customer->mobile }}</td>
|
||||
<td>{{ $row->patient->name }}</td>
|
||||
<td>{{ $row->from_date }}</td>
|
||||
<td>{{ $row->score }}</td>
|
||||
<td>{{ $row->comment }}</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
@include("public._pages")
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
Loading…
Reference in new issue