@extends('layouts.app') @section('title', '患者列表 - 病例回访提醒系统') @section('content')
@if($patients->isEmpty())
暂无患者数据

请先导入患者数据,支持 Excel (.xlsx) 和 CSV 格式

导入患者数据
@else
@foreach($patients as $patient) @php $total = count($patient->getFollowUpSchedule()); $completed = $patient->getAutoFollowUpCount(); @endphp @endforeach
患者信息 诊断 转诊日期 随访进度 联系方式 备注 操作
{{ mb_substr($patient->name, 0, 1) }}
{{ $patient->name }} {{ $patient->gender }} · {{ $patient->age }}岁
{{ $patient->getDiagnosisType() }} {{ $patient->discharge_date->format('Y-m-d') }}
{{ $completed }}/{{ $total }}
@if($patient->phone) {{ $patient->phone }} @else - @endif @if($patient->remark) {{ $patient->remark }} @else - @endif
@if($patient->phone) @endif
@csrf @method('DELETE')
@foreach($patients as $patient) @php $total = count($patient->getFollowUpSchedule()); $completed = $patient->getAutoFollowUpCount(); @endphp
{{ mb_substr($patient->name, 0, 1) }}
{{ $patient->name }}
{{ $patient->gender }} · {{ $patient->age }}岁 · {{ $patient->getDiagnosisType() }}
{{ $completed }}/{{ $total }}
转诊日期 {{ $patient->discharge_date->format('Y-m-d') }}
联系方式 @if($patient->phone) {{ $patient->phone }} @else - @endif
地址 {{ $patient->address ?: '-' }}
@if($patient->remark)
📝 {{ $patient->remark }}
@endif
随访进度 {{ $completed }}/{{ $total }} 次
@if($patient->phone) 电话 @else
@endif
@csrf @method('DELETE')
@endforeach
@if($patients->hasPages())
显示 {{ $patients->firstItem() }} - {{ $patients->lastItem() }} 条,共 {{ $patients->total() }} 条
@endif @endif
@endsection