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.

67 lines
2.0 KiB

5 years ago
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>修改</title>
</head>
<body>
<div class="layui-main">
<div class="site-content">
<br><br>
<h1 class="site-h1">修改信息</h1>
<br><br>
<form class="layui-form" action="alter" method="post">
<input type="hidden" name = 'patient_id' value="{{Patient.patient_id}}">
<div class="layui-form-item">
<label class="layui-form-label">姓名</label>
<div class="layui-input-block">
<input type="text" name="name" required lay-verify="required" placeholder="请输入省份" autocomplete="off"
class="layui-input" value="{{Patient.name}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">治疗点</label>
<div class="layui-input-block">
<input type="number" name="treatment_point_id" required lay-verify="required" placeholder="请输入城市"
autocomplete="off"
class="layui-input" value="{{Patient.treatment_point_id}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">电话</label>
<div class="layui-input-block">
<input type="number" name="phone" required lay-verify="required" placeholder="请输入" autocomplete="off"
class="layui-input" value="{{Patient.phone}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">地区编号</label>
<div class="layui-input-block">
<input type="number" name="area_id" required lay-verify="required" placeholder="请输入城市" autocomplete="off"
class="layui-input" value="{{Patient.area_id}}">
</div>
</div>
<div class="layui-form-item">
<label class="layui-form-label">城市编号</label>
<div class="layui-input-block">
<input type="number" name="city_id" required lay-verify="required" placeholder="请输入人数"
autocomplete="off" class="layui-input" value="{{Patient.city_id}}">
</div>
</div>
<div class="layui-form-item">
<div class="layui-input-block">
<button class="layui-btn" lay-submit lay-filter="formDemo">立即提交</button>
<button type="reset" class="layui-btn layui-btn-primary">重置</button>
</div>
</div>
</form>
</div>
</div>
</body>
</html>