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.

45 lines
1.4 KiB

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>新型冠状病毒肺炎疫情实时更新</title>
</head>
<body>
<h1 align="center" colspan="10">疫情实时大数据报告</h1>
<div align="center">
<br>
<a href="/insert_page">添加信息</a>
<br>
<br>
<table id = 'tabledemo'lay-filter="test">
<table width="600" cellpadding="5" align="center" border="1" cellspacing="0">
<th align="center" colspan="9">病例统计</th>
<tr>
<th lay-data="{field:'patient_id', width:100}">编号</th>
<th lay-data="{field:'name'}">姓名</th>
<th lay-data="{field:'treatment_point_id'}">治疗点</th>
<th lay-data="{field:'phone'}">电话</th>
<th lay-data="{field:'area_id'}">地区编号</th>
<th lay-data="{field:'city_id'}">城市编号</th>
<td>操作</td>
<th lay-data="{fixed: 'right', width: 160, align:'center', toolbar: '#barDemo'}"></th>
</tr>
{% for item in P_A %}
<tr>
<td>{{item.patient_id}}</td>
<td>{{item.name}}</td>
<td>{{item.treatment_point_id}}</td>
<td>{{item.phone}}</td>
<td>{{item.area_id}}</td>
<td>{{item.city_id}}</td>
<td><a href='/alter?patient_id={{item.patient_id}}&name={{ item.name }}&treatment_point_id={{ item.treatment_point_id }}&phone={{item.phone}}&area_id={{item.area_id}}&city_id={{item.city_id}}'>编辑</a>
<a href="/delete?patient_id={{ item.patient_id }}">删除</a> </td>
</tr>
{% endfor %}
</table>
</div>
</body>
</html>