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.

36 lines
1.5 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>挂号记录展示</title>
<link rel="stylesheet" href="/static/css/patientshowregistration.css">
</head>
<body>
<div class="container">
<div class="logo-box">
<img class="logo_img" src="/static/images/patient.jpg"/>
</div>
<div class="registration-card">
{% if register_list %}
{% for registration in register_list %}
<br><br>
<div class="card-header">挂号信息</div>
<ul>
<li><strong>患者姓名:</strong> {{ registration.patient }}</li>
<li><strong>医生姓名:</strong> {{ registration.doctor }}</li>
<li><strong>挂号时间:</strong> {{ registration.registration_time }}</li>
<li><strong>就诊时间:</strong> {{ registration.consultation_hour }}</li>
<li><strong>病情描述:</strong> {{ registration.illness }}</li>
<li><strong>地址:</strong> {{ registration.address }}</li>
<li><strong>状态:</strong> {{ registration.status }}</li>
</ul>
{% endfor %}
{% else %}
<div class="no-registrations">您还没有任何挂号记录。</div>
{% endif %}
<button class="exit-button" onclick="location.href='/patientcenter/'">退出</button>
</div>
</div>
</body>
</html>