You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
2.6 KiB

2 years ago
@extends("admin.layouts.layout")
@section("content")
<div class="row">
<div class="col-12">
<div class="card">
<div class="card-body">
<div class="mb-3">
<a class="btn btn-primary" href="{{url($urlPrefix.'/create')}}">
2 years ago
@lang("icons.action_create") @lang('actions.create')新建护士长满意度调查
2 years ago
</a>
</div>
<table class="table table-bordered" id="data-table">
<thead>
<tr>
<th>
{{$modelName}}
</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->admin->name }}
</td>
<td>{{ $row->project->name }}</td>
<td>{{ $row->score }}</td>
<td>{{ $row->score }}</td>
<td>
<a class="btn btn-sm btn-info"
href="{{url("{$urlPrefix}/beds/{$row['id']}")}}"><i class="mdi mdi-bed-empty"></i> 床位管理</a>
2 years ago
<a class="btn btn-sm btn-danger"
href="{{url("{$urlPrefix}/ask_submit/{$row['id']}")}}">满意度调查</a>
2 years ago
<a class="btn btn-sm btn-primary"
href="{{url("{$urlPrefix}/edit?id={$row['id']}")}}">@lang("icons.action_edit") @lang("actions.edit")</a>
<a class="btn btn-sm btn-danger btn-delete" data-id="{{$row['id']}}"
href="javascript:;">@lang("icons.action_delete") @lang("actions.delete")</a>
</td>
</tr>
@endforeach
</tbody>
</table>
@include("public._pages")
</div>
</div>
</div>
</div>
@include("public._delete")
@endsection
@push("footer")
<script>
</script>
@endpush