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.
88 lines
3.4 KiB
88 lines
3.4 KiB
5 years ago
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="UTF-8">
|
||
|
<title>增加</title>
|
||
|
|
||
|
<link rel="stylesheet" href="/static/layui/css/layui.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
<a href="bingfang">返回病房信息页</a>
|
||
|
<div class="layui-main">
|
||
|
<div class="site-content">
|
||
|
<br><br>
|
||
|
<h1 class="site-h1">添加信息</h1>
|
||
|
<br><br>
|
||
|
<form class="layui-form" action="/insert_gen?type=bingfang" method="post">
|
||
|
<div class="layui-form-item">
|
||
|
<label class="layui-form-label">房间号</label>
|
||
|
{% if mark=='0' %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="province" value="" required lay-verify="required" placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="province" value="{{ detail.fanjianhao }}" required
|
||
|
lay-verify="required" placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
</div>
|
||
|
<div class="layui-form-item">
|
||
|
|
||
|
<label class="layui-form-label">房间位置</label>
|
||
|
{% if mark=='0' %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="city" required lay-verify="required" placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="city" value="{{ detail.fangjianweizhi }}" required lay-verify="required"
|
||
|
placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
</div>
|
||
|
<div class="layui-form-item">
|
||
|
<label class="layui-form-label">是否满员</label>
|
||
|
{% if mark=='0' %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="number" required lay-verify="required" placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% else %}
|
||
|
<div class="layui-input-block">
|
||
|
<input type="text" name="number" value="{{ detail.shifoumanyuan }}" required lay-verify="required"
|
||
|
placeholder="请输入"
|
||
|
autocomplete="off"
|
||
|
class="layui-input">
|
||
|
</div>
|
||
|
{% endif %}
|
||
|
|
||
|
</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>
|
||
|
<script src="/static/layui/layui.js"></script>
|
||
|
<script>
|
||
|
layui.use('form', function () {
|
||
|
var form = layui.form;
|
||
|
});
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|