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.
43 lines
1.8 KiB
43 lines
1.8 KiB
6 months ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
|
<title>确认挂号</title>
|
||
|
<link rel="stylesheet" href="/static/css/confirmregistration.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
{% if message %}
|
||
|
<p class="error">{{ message }}</p>
|
||
|
{% endif %}
|
||
|
{% if patient_name and doctor_name %}
|
||
|
<h1>挂号确认</h1>
|
||
|
<form method="post" >
|
||
|
{% csrf_token %}
|
||
|
<input type="hidden" name="doctor_id" value="{{ doctor_id }}">
|
||
|
<input type="hidden" name="patient_id" value="{{ patient_id }}">
|
||
|
<label for="patient_name">患者姓名:</label>
|
||
|
<input type="text" id="patient_name" name="patient_name" value="{{ patient_name }}"><br>
|
||
|
|
||
|
<label for="doctor_name">医生姓名:</label>
|
||
|
<input type="text" id="doctor_name" name="doctor_name" value="{{ doctor_name }}"><br>
|
||
|
|
||
|
<label for="registration_time">挂号时间:</label>
|
||
|
<input type="text" id="registration_time" name="registration_time" value="{{ registration_time }}"><br>
|
||
|
|
||
|
<label for="consultation_hour">预约时间:</label>
|
||
|
<input type="text" id="consultation_hour" name="consultation_hour" value="{{ consultation_hour }}"><br>
|
||
|
<label for="address">地址:</label>
|
||
|
<input type="text" id="address" name="address" value="{{ address }}" placeholder="请输入地址"><br>
|
||
|
|
||
|
<label for="registration_price">挂号费用:</label>
|
||
|
<input type="number" id="registration_price" name="registration_price" step="0.01" value="{{ registration_price }}"><br>
|
||
|
<label for="illness">病情:</label>
|
||
|
<input type="text" id="illness" name="illness" placeholder="请输入病情">
|
||
|
<button type="submit">确认挂号</button>
|
||
|
<a href="/patientcenter/">返回</a>
|
||
|
</form>
|
||
|
{% endif %}
|
||
|
</body>
|
||
|
</html>
|