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.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
@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.'/asksubmit_create?project_id='.$project_id)}}" >
@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 >
< / 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
< / tbody >
< / table >
@include("public._pages")
< / div >
< / div >
< / div >
< / div >
@include("public._delete")
@endsection
@push("footer")
< script >
< / script >
@endpush