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.

191 lines
8.6 KiB

<!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="doctor">返回医生信息页</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=doctor" 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="ysh" value="" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="ysh" value="{{ detail.yishenggongzuozhenghao }}" 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="name" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="name" value="{{ detail.xingming }}" 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="sex" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="sex" value="{{ detail.xingbie }}" 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="old" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="old" value="{{ detail.nianling }}" 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="phone" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="phone" value="{{ detail.dianhua }}" 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="child" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="child" value="{{ detail.shifoudushengzinv }}" 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="dy" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="dy" value="{{ detail.shifoudangyuan }}" 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="job" required lay-verify="required" placeholder="请输入"
autocomplete="off"
class="layui-input">
</div>
{% else %}
<div class="layui-input-block">
<input type="text" name="job" value="{{ detail.gongzuonianling }}" 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.yiyuanrenyuandegongzuoleixingdaihao }}" 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>