forked from prlbkj9i7/wzy
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.
42 lines
1.6 KiB
42 lines
1.6 KiB
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>医生挂号记录</title>
|
|
<link rel="stylesheet" href="/static/css/doctorshowregistration.css">
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div class="profile">
|
|
<img src="{{ doctor_image.url }}" alt="Doctor's Image" class="doctor-image">
|
|
<h2>我的患者</h2>
|
|
</div>
|
|
<button class="exit-button" onclick="window.location.href='/doctorcenter/'">退出</button>
|
|
</header>
|
|
<main class="registration-list">
|
|
{% if register_list %}
|
|
{% for register in register_list %}
|
|
<div class="registration-item">
|
|
<div class="info">
|
|
<p><strong>患者姓名:</strong> {{ register.patient }}</p>
|
|
<p><strong>挂号时间:</strong> {{ register.registration_time }}</p>
|
|
<p><strong>就诊时间:</strong> {{ register.consultation_hour }}</p>
|
|
<p><strong>病情描述:</strong> {{ register.illness }}</p>
|
|
<p><strong>挂号状态:</strong> {{ register.status }}</p>
|
|
</div>
|
|
<div class="actions">
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
<input type="hidden" name="register_id" value="{{ register.id }}">
|
|
<button type="submit" >标记为已检查</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
{% else %}
|
|
<p>没有待检查的挂号记录。</p>
|
|
{% endif %}
|
|
</main>
|
|
</body>
|
|
</html>
|