|
|
|
|
@ -5,51 +5,44 @@
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<a class="btn btn-primary" href="{{url($urlPrefix.'/asksubmit_create')}}">
|
|
|
|
|
@lang("icons.action_create") @lang('actions.create')新建满意度调查
|
|
|
|
|
</a>
|
|
|
|
|
</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>
|
|
|
|
|
@foreach ($lie as $row)
|
|
|
|
|
<th>{{$row}}</th>
|
|
|
|
|
@endforeach
|
|
|
|
|
</tr>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
@foreach ($data as $row)
|
|
|
|
|
<tr data-id="{{$row->id}}">
|
|
|
|
|
<td>
|
|
|
|
|
{{ $row->date }}
|
|
|
|
|
</td>
|
|
|
|
|
<td>
|
|
|
|
|
{{ $row->admin->name }}
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{ $row->project->name }}</td>
|
|
|
|
|
<td>
|
|
|
|
|
@foreach ($row->content as $item)
|
|
|
|
|
{{ $item['ask'] }}:{{ $item['score'] }}<br/>
|
|
|
|
|
@endforeach
|
|
|
|
|
</td>
|
|
|
|
|
<td>{{ $row->tip }}</td>
|
|
|
|
|
<td>{{ $row->score }}</td>
|
|
|
|
|
<td>
|
|
|
|
|
<a class="btn btn-sm btn-primary"
|
|
|
|
|
href="{{url("{$urlPrefix}/asksubmit_edit?id={$row['id']}")}}">@lang("icons.action_edit") @lang("actions.edit")</a>
|
|
|
|
|
<a class="btn btn-sm btn-danger btn-delete" data-id="ask-{{$row['id']}}"
|
|
|
|
|
href="javascript:;">@lang("icons.action_delete") @lang("actions.delete")</a>
|
|
|
|
|
</td>
|
|
|
|
|
</tr>
|
|
|
|
|
@endforeach
|
|
|
|
|
{{-- @foreach ($data as $row)--}}
|
|
|
|
|
{{-- <tr data-id="{{$row->id}}">--}}
|
|
|
|
|
{{-- <td>--}}
|
|
|
|
|
{{-- {{ $row->date }}--}}
|
|
|
|
|
{{-- </td>--}}
|
|
|
|
|
{{-- <td>--}}
|
|
|
|
|
{{-- {{ $row->admin->name }}--}}
|
|
|
|
|
{{-- </td>--}}
|
|
|
|
|
{{-- <td>{{ $row->project->name }}</td>--}}
|
|
|
|
|
{{-- <td>--}}
|
|
|
|
|
{{-- @foreach ($row->content as $item)--}}
|
|
|
|
|
{{-- {{ $item['ask'] }}:{{ $item['score'] }}<br/>--}}
|
|
|
|
|
{{-- @endforeach--}}
|
|
|
|
|
{{-- </td>--}}
|
|
|
|
|
{{-- <td>{{ $row->tip }}</td>--}}
|
|
|
|
|
{{-- <td>{{ $row->score }}</td>--}}
|
|
|
|
|
{{-- <td>--}}
|
|
|
|
|
{{-- <a class="btn btn-sm btn-primary"--}}
|
|
|
|
|
{{-- href="{{url("{$urlPrefix}/asksubmit_edit?id={$row['id']}")}}">@lang("icons.action_edit") @lang("actions.edit")</a>--}}
|
|
|
|
|
{{-- <a class="btn btn-sm btn-danger btn-delete" data-id="ask-{{$row['id']}}"--}}
|
|
|
|
|
{{-- href="javascript:;">@lang("icons.action_delete") @lang("actions.delete")</a>--}}
|
|
|
|
|
{{-- </td>--}}
|
|
|
|
|
{{-- </tr>--}}
|
|
|
|
|
{{-- @endforeach--}}
|
|
|
|
|
</tbody>
|
|
|
|
|
</table>
|
|
|
|
|
@include("public._pages")
|
|
|
|
|
|