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.

74 lines
1.8 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>医疗单位用户</title>
</head>
<body>
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
<th align="center" colspan="7">医院信息</th>
<tr>
<td>区ID</td>
<td>医院ID</td>
<td>医院名称</td>
<td>最大容纳病人数</td>
<td>在院人数</td>
<td>治愈人数</td>
<td>死亡人数</td>
</tr>
{% for item in d1 %}
<tr>
<td>{{item.districtID}}</td>
<td>{{item.ID}}</td>
<td>{{item.name}}</td>
<td>{{item.storage}}</td>
<td>{{item.current}}</td>
<td>{{item.crued}}</td>
<td>{{item.dead}}</td>
</tr>
{% endfor %}
<br>
</table>
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
<th align="center" colspan="4">物资供给</th>
<tr>
<td>物资ID</td>
<td>物资名称</td>
<td>数量</td>
<td>医院ID</td>
</tr>
{% for item in d2 %}
<tr>
<td>{{item.wareID}}</td>
<td>{{item.wareName}}</td>
<td>{{item.wareNum}}</td>
<td>{{ item.hospitalID }}</td>
</tr>
{% endfor %}
<br>
</table>
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
<th align="center" colspan="6">病人信息</th>
<tr>
<td>病人ID</td>
<td>医院名称</td>
<td>入院时间</td>
<td>出院时间</td>
<td>出院状态</td>
<td>操作</td>
</tr>
{% for item in d3 %}
<tr>
<td>{{item.rID}}</td>
<td>{{item.hID}}</td>
<td>{{item.startDate}}</td>
<td>{{item.endDate}}</td>
<td>{{item.endStatus}}</td>
<td><a href="/cruedPatient?id={{ item.ID }}&hid={{ item.hID }}&rid={{ item.rID }}">出院</a> <a href="/deadPatient?id={{ item.ID }}&hid={{ item.hID }}">死亡</a><!-- <a href="/alterPatient?id={{ item.ID }}">修改</a>--></td>
</tr>
{% endfor %}
<br>
</table>
<a href="/addPatient">添加病人</a>
</body>
</html>