<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>添加人员</title>
    <link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}" media="all">
    <link rel="stylesheet" th:href="@{/css/public.css}" media="all">
    <link rel="stylesheet" th:href="@{/lib/font-awesome-4.7.0/css/font-awesome.min.css}" media="all">
    <style>
        body {
            background-color: #ffffff;
        }
    </style>
</head>
<body>
<form class="layui-form" action="" lay-filter="formDemo">
    <div class="layui-form layuimini-form">
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">公司/单位</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="dwmc" name="dwmc" class="layui-input" th:value="${basePerson.dwmc}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">部门</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="bmmc" name="bmmc" class="layui-input" th:value="${basePerson.bmmc}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">姓名</label>
            <div class="layui-input-inline" style="width: 250px">
                <input type="text" id="xm" name="xm" class="layui-input" th:value="${basePerson.xm}" readonly>
            </div>
            <label class="layui-form-label" style="width: 30px">性别</label>
            <div class="layui-input-inline" style="width: 130px">
                <input type="text" id="xb" name="xb" class="layui-input" th:value="${basePerson.xb}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">民族</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="mz" name="mz" class="layui-input" th:value="${basePerson.mz}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">出生地址</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="csdz" name="csdz" th:value="${basePerson.csdz}" class="layui-input" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">出生日期</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="csrq" name="csrq" class="layui-input" th:value="${basePerson.csrq}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">党派</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="dpmc" name="dpmc" class="layui-input" th:value="${basePerson.dpmc}" readonly>
            </div>

            <label class="layui-form-label" style="width: 80px">何国华侨</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="hghq" name="hghq" class="layui-input" th:value="${basePerson.hghqmc}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">家庭住址</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="jtzz1" name="jtzz1" class="layui-input" th:value="${basePerson.jtzz1}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">固定电话</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="gddh" name="gddh" class="layui-input" th:value="${basePerson.gddh}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">通讯地址</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="txdz1" name="txdz1" class="layui-input" th:value="${basePerson.txdz1}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">移动电话</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="yddh" name="yddh" class="layui-input" th:value="${basePerson.yddh}" readonly>
            </div>
        </div>

        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">电子邮件</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="dzyj" name="dzyj" class="layui-input" th:value="${basePerson.dzyj}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">住宅电话</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="zzdh" name="zzdh" class="layui-input" th:value="${basePerson.zzdh}" readonly>
            </div>
        </div>
        <div class="layui-form-item layui-inline" style="width: 100%">
            <label class="layui-form-label" style="width: 80px">传真</label>
            <div class="layui-input-inline" style="width: 450px">
                <input type="text" id="cz" name="cz" class="layui-input" th:value="${basePerson.cz}" readonly>
            </div>
            <label class="layui-form-label" style="width: 80px">邮政编码</label>
            <div class="layui-input-inline" style="width: 260px">
                <input type="text" id="yzbm" name="yzbm" class="layui-input" th:value="${basePerson.yzbm}" readonly>
            </div>
        </div>
        <div class="layui-tab layui-tab-card">
            <ul class="layui-tab-title">
                <li class="layui-this">主要研究领域</li>
            </ul>

            <div class="layui-form-item layui-inline" style="width: 100%; padding-top: 15px">
                <label class="layui-form-label" style="width: 140px; margin-left: -10px">国家科技部学科领域</label>
                <div class="layui-input-inline" style="width: 300px">
                    <input type="text" id="gjkjbxklymc" name="gjkjbxklymc" class="layui-input"
                           th:value="${basePerson.gjkjbxklymc}" readonly>
                </div>
                <label class="layui-form-label" style="width: 140px">国家基金委学科领域</label>
                <div class="layui-input-inline" style="width: 300px">
                    <input type="text" id="gjjjwxklymc" name="gjkjbxklymc" class="layui-input"
                           th:value="${basePerson.gjjjwxklymc}" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 80px">毕业学校</label>
                <div class="layui-input-inline" style="width: 250px">
                    <input type="text" id="byxxmc" name="byxxmc" class="layui-input" th:value="${basePerson.byxxmc}"
                           readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">学历</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="xlmc" name="xlmc" class="layui-input" th:value="${basePerson.xlmc}" readonly>
                    </select>
                </div>
                <label class="layui-form-label" style="width: 70px">学位</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="xwmc" name="xwmc" class="layui-input" th:value="${basePerson.xwmc}" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 80px">授予国别</label>
                <div class="layui-input-inline" style="width: 250px">
                    <input type="text" id="sygb" name="sygb" class="layui-input" th:value="${basePerson.sygbmc}"
                           readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">授予年份</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="synf" name="synf" class="layui-input" th:value="${basePerson.synf}" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 80px">职称</label>
                <div class="layui-input-inline" style="width: 250px">
                    <input type="text" id="zcmc" name="zcmc" class="layui-input" th:value="${basePerson.zcmc}" readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">专业﹑专长</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="zyzc" name="zyzc" class="layui-input" th:value="${basePerson.zyzc}" readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">毕业时间</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="bysj" name="bysj" class="layui-input" th:value="${basePerson.bysj}" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 80px">外语语种</label>
                <div class="layui-input-inline" style="width: 250px">
                    <input type="text" id="wyyzmc" name="wyyzmc" th:value="${basePerson.wyyzmc}" class="layui-input"
                           readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">熟练程度</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="slcd" name="slcd" th:value="${basePerson.slcd}" class="layui-input" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 80px">院士</label>
                <div class="layui-input-inline" style="width: 250px">
                    <input type="text" id="ys" name="ys" th:value="${basePerson.ys}" class="layui-input" readonly>
                </div>
                <label class="layui-form-label" style="width: 70px">博士后</label>
                <div class="layui-input-inline" style="width: 180px">
                    <input type="text" id="bsh" name="bsh" th:value="${basePerson.bsh}" class="layui-input" readonly>
                </div>
            </div>
            <div class="layui-form-item layui-inline" style="width: 100%">
                <label class="layui-form-label" style="width: 90px; margin-left: -10px">曾获奖奖励及<br>荣誉称号情况</label>
                <div class="layui-input-inline" style="width: 830px">
                    <textarea id="chjljrychqk" name="chjljrychqk" class="layui-textarea"
                              style="width: 100%;height: 100px" th:text="${basePerson.chjljrychqk}" readonly></textarea>
                </div>
            </div>
        </div>
        <!-- 右侧悬浮按钮 -->
        <div class="right-bottom-btn">
            <button class="layui-btn" lay-filter="cancleBtn">
                <i class="layui-icon layui-icon-close"></i>关闭
            </button>
        </div>
    </div>
</form>

<script th:src="@{/lib/jquery-3.4.1/jquery-3.4.1.min.js}" charset="utf-8"></script>
<script th:src="@{/lib/layui/layui.js}" charset="utf-8"></script>
<script th:src="@{/lib/coco-message/coco-message.js}" charset="utf-8"></script>
<script th:src="@{/js/lay-config.js}" charset="utf-8"></script>
<script type="text/javascript" th:inline="javascript">
    AjaxUtil.ctx = /*[[@{/}]]*/'';
    layui.use(['form'], function () {

        // 监听取消按钮
        $("button[lay-filter='cancleBtn']").click(function () {
            var iframeIndex = parent.layer.getFrameIndex(window.name);
            parent.layer.close(iframeIndex);
        });
    });

</script>
</body>
</html>