<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<%@ include file="/WEB-INF/jspf/common.jspf" %>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <title>常用查询</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta http-equiv=X-UA-Compatible IE=EmulateIE7>
    <link rel="stylesheet" href="${path}/static/bootstrap-3.3.7/bootstrap-table-fixed-columns.css" type="text/css">
    <link href="${path}/static/bootstrap-3.3.7/bower_components/select2/dist/css/select2.min.css" rel="stylesheet"/>
    <script type="text/javascript"
            src="${path}/static/bootstrap-3.3.7/bootstrap-table-fixed-columns.js?time=2019-12-25"></script>
    <script type="text/javascript" src="${path}/static/js/pinying.js"></script>
    <script src="${path}/static/bootstrap-3.3.7/bower_components/select2/dist/js/select2.min.js"></script>
    <script>
        var path = "${path}";
    </script>
    <style type="text/css">
        .labelDiv {
            padding-top: 2%;
            padding-right: 0;
            text-align: right;
        }
        .radioDiv {
            padding-top: 2%;
        }
        .btns {
            background-color: #fff;
            text-align: right;
            margin-top: -15px;
            margin-bottom: 5px;
        }

        .btn {
            margin-left: -1%;
        }

        /*tableDiv*/
        .tableDiv {
            /*margin-top: 1%;*/
            width: 100%;
            background-color: #fff;
        }

        /*多选下拉框*/
        .dropdown-menu {
            position: absolute;
            top: 103%;
            left: 0;
            z-index: 1000;
            display: none;
            float: left;
            list-style: none;
            text-shadow: none;
            max-height: 400px;
            /*设置最大高度为400 overflow: scroll;*/
            /* 设置可滚动 padding: 5 px;*/
            margin: 0px;
            -webkit-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
            -moz-box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
            box-shadow: 0 1px 8px rgba(120, 234, 61, 0.55);
            font-size: 12px;
            font-family: "Segoe UI", Helvetica, Arial, sans-serif;
            border: 1px solid #ddd;
        }

        .TableView {
            margin-left: 2%;
        }

        .form-group {
            width: 110%;
        }

        /**级联病案号内容*/
        .mouseOver {
            background-color: #708090;
            color: #FFFAFA;
        }

        .mouseOut {
            background-color: #FFFAFA;
            color: #000000;
        }

        /*模态框头*/
        .modal-header {
            background-color: #199ED8;
            text-align: center;
        }

        /*搜索按钮div*/
        .searchDiv {
            margin-left: 33px;
        }

        /*清空按钮div*/
        .clearDiv {
            margin-left: 16px;
        }
        .col-sm-1, .col-sm-4 {
            padding-left: 0 !important;
        }

        label {
            font-weight: normal !important;
        }

        /**表格鼠标悬停样式*/
        .table-hover > tbody > tr:hover > td,
        .table-hover > tbody > tr:hover > th {
            cursor: pointer;
        }

        .fht-cell {
            width: 85px !important;
        }

        .table-hover > tbody > tr:hover > td,
        .table-hover > tbody > tr:hover > th {
            cursor: pointer;
        }

        .checkBoxClass {
            cursor: pointer;
        }

        .row {
            width: 100%;
        }

        .bootstrap-select {
            margin-left: 3px !important;
            height: 30px !important;
            line-height: 30px !important;
        }

        form {
            margin-bottom: 0 !important;
        }
    </style>
</head>
<body>
<div class="main">
    <div class="headDiv">
        <div class="headSpanDiv">
            <span class="headspan">
                常用查询
            </span>
        </div>
    </div>
    <!--搜索区-->
    <div class="panel-group" id="accordion">
        <div class="panel">
            <div class="panel-heading" style="padding:0px 14px!important;">
                <h5>
                    <a data-toggle="collapse" href="#b">
                        可收缩
                    </a>
                </h5>
            </div>
            <div id="b" class="panel-collapse collapse in">
                <div class="panel-body">
                    <form>
                        <!--查询的sql-->
                        <input type="hidden" id="sql">
                        <!--查询的菜单权限-->
                        <input type="hidden" id="powerMenu">
                        <!--登录者Id-->
                        <input type="hidden" id="userId" value="${CURRENT_USER.userId}">
                        <input type="hidden" id="roleId" value="${CURRENT_USER.roleId}">
                        <input type="hidden" id="userName" value="${CURRENT_USER.userName}">
                        <input type="hidden" id="powerMenus" value="${power_menus}">
                        <input type="hidden" id="showRecord" value="${CURRENT_USER.userTel}">
                        <input type="hidden" id="downloadRecord" value="${CURRENT_USER.userEmail}">
                        <input type="hidden" id="showPrint" value="${CURRENT_USER.userAge}">
                        <input type="hidden" id="flag" value="file_path">
                        <input type="hidden" id="cuserName" value="${cuserName}">
                        <!--查询的sql ORDER BY 语句-->
                        <input type="hidden" id="orderBys" value=" order by commomtable.name">
                        <!--该用户借阅申请的审批过了且未过期的病案，不可重复申请，可查看的病案主键patientId-->
                        <input type="hidden" id="approves">
                        <!--该用户下载申请的审批过了且未过期的病案，不可重复申请，可查看的病案主键patientId-->
                        <input type="hidden" id="loads">
                        <!--被锁的病案-->
                        <input type="hidden" id="locks">
                        <!--按条件搜索的patientIds-->
                        <input type="hidden" id="patientIds">
                        <!--类似自定义查询的搜索条件-->
                        <div id="block">
                            <div id="inputDiv">
                                <input type="hidden">
                            </div>
                        </div>
                        <!--表格头-->
                        <input type="hidden" id="tableThNames"
                               value="病案号,ID号,住院次数,姓名,性别,年龄_岁,年龄_月,入院日期,出院日期,出院科室,联系地址,主诊ICD码,主诊名称,主诊转归,住院天数,主治医生,其他诊断,病理诊断,损伤中毒,是否有手术">
                        <!--查询字段-->
                        <input type="hidden" id="englishFields"
                               value="commomtable.inpatient_no,commomtable.admiss_id,commomtable.admiss_times,commomtable.name,commomtable.sex,commomtable.age,commomtable.age_month,commomtable.admiss_date,commomtable.dis_date,commomtable.dis_dept,commomtable.home_addr,commomtable.main_diag_code,commomtable.main_diag_name,commomtable.main_dis_thing,commomtable.admiss_days,commomtable.attending,commomtable.other_diag_name,commomtable.pathology_name,commomtable.poisoning_name,commomtable.is_oper">
                        <!--数据字段-->
                        <input type="hidden" id="fields"
                               value="inpatientNo,admissId,admissTimes,name,sex,age,ageMonth,admissDate,disDate,disDept,homeAddr,mainDiagCode,mainDiagName,mainDisThing,admissDays,attending,otherDiagName,pathologyName,poisoningName,isOper">
                        <!--显示字段-->
                        <input type="hidden" id="fieldCns">
                        <!--查询总行数-->
                        <input type="hidden" id="rows">
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">姓名：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="name"
                                               maxlength="16">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">年龄：</label>
                                    </div>
                                    <div style="float:left;width:20%;margin-left:4%">
                                        <input type="number" class="form-control input-sm inputValue" id="age1" min="0"
                                               oninput="if(value.length>9)value=value.slice(0,9)">
                                    </div>
                                    <div style="float:left;width:3%;margin-left:2%">-</div>
                                    <div style="float:left;width:20%">
                                        <input type="number" class="form-control input-sm inputValue" id="age2" min="0"
                                               oninput="if(value.length>9)value=value.slice(0,9)">
                                    </div>
                                    <div style="float:left;width:20%;margin-left:2%">
                                        <select class="form-control input-sm" id="ageType">
                                            <option value="1">岁</option>
                                            <option value="2">月</option>
                                            <option value="3">日</option>
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-2 labelDiv">
                                        <label class="control-label">性别：</label>
                                    </div>
                                    <div class="col-sm-3 radioDiv">
                                        <input type="radio" id="all" name="sex" checked value="" class="sexInput"><label
                                            for="all" class="checkBoxClass">全部</label>
                                    </div>
                                    <div id="sex"></div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">病案号：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="inpatient_no"
                                               onkeyup="getInpatientNoContents('inpatient_no')"
                                               onfocus="getInpatientNoContents('inpatient_no')"
                                               onblur="clearContent('inpatient_no')">
                                        <div id="inpatient_noDiv" style="position: absolute;z-index: 2000">
                                            <table id="inpatient_noContent_table" bgcolor="#FFFAFA" border="0"
                                                   cellspacing="0" cellpadding="0">
                                                <tbody id="inpatient_noContent"></tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">ID号：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="admiss_id"
                                               maxlength="16">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">出院科室：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <select class="selectpicker form-control input-sm inputValue" multiple
                                                id="dis_dept" style="max-height:400px!important;overflow:scroll;"
                                                data-live-search="true"></select>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">主诊转归：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <select class="form-control input-sm inputValue" id="dis_thing">
                                        </select>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">入院日期：</label>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="startTime1"
                                               style="margin-left: 15px" autocomplete="off">
                                    </div>
                                    <div class="col-sm-1" style="padding-top:2%">
                                        <div style="margin-left: 50%">
                                            至
                                        </div>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="endTime1"
                                               autocomplete="off">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">出院日期：</label>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="startTime2"
                                               style="margin-left: 15px" autocomplete="off">
                                    </div>
                                    <div class="col-sm-1" style="padding-top:2%">
                                        <div style="margin-left: 50%">
                                            至
                                        </div>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="endTime2"
                                               autocomplete="off">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">主诊ICD码：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm otherTable diagTable inputValue"
                                               id="diag_code" onkeyup="getDiagCodeContents('diag_code')"
                                               onfocus="getDiagCodeContents('diag_code')"
                                               onblur="clearContent('diag_code')" maxlength="16">
                                        <div id="diag_codeDiv" style="position: absolute;z-index: 2000">
                                            <table id="diag_codeContent_table" bgcolor="#FFFAFA" border="0"
                                                   cellspacing="0" cellpadding="0">
                                                <tbody id="diag_codeContent"></tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">主诊名称：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm otherTable diagTable inputValue"
                                               id="diag_name" onkeyup="getDiagNameContents('diag_name')"
                                               onfocus="getDiagNameContents('diag_name')"
                                               onblur="clearContent('diag_name')" maxlength="16">
                                        <div id="diag_nameDiv" style="position: absolute;z-index: 2000">
                                            <table id="diag_nameContent_table" bgcolor="#FFFAFA" border="0"
                                                   cellspacing="0" cellpadding="0">
                                                <tbody id="diag_nameContent"></tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">主诊编码范围：</label>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="diag_code1"
                                               style="margin-left: 15px">
                                    </div>
                                    <div class="col-sm-1" style="padding-top:2%;">
                                        <div style="margin-left: 50%">
                                            至
                                        </div>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="diag_code2">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">手术编码：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm otherTable operTable inputValue"
                                               id="operate_code" onkeyup="getOperateCodeContents('operate_code')"
                                               onfocus="getOperateCodeContents('operate_code')"
                                               onblur="clearContent('operate_code')" maxlength="16">
                                        <div id="operate_codeDiv" style="position: absolute;z-index: 2000">
                                            <table id="operate_codeContent_table" bgcolor="#FFFAFA" border="0"
                                                   cellspacing="0" cellpadding="0">
                                                <tbody id="operate_codeContent"></tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">手术名称：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm otherTable operTable inputValue"
                                               id="operate_name" onkeyup="getOperateNameContents('operate_name')"
                                               onfocus="getOperateNameContents('operate_name')"
                                               onblur="clearContent('operate_name')" maxlength="16">
                                        <div id="operate_nameDiv" style="position: absolute;z-index: 2000">
                                            <table id="operate_nameContent_table" bgcolor="#FFFAFA" border="0"
                                                   cellspacing="0" cellpadding="0">
                                                <tbody id="operate_nameContent"></tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">手术编码范围：</label>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="operate_code1"
                                               style="margin-left: 15px">
                                    </div>
                                    <div class="col-sm-1" style="padding-top:2%">
                                        <div style="margin-left: 50%">
                                            至
                                        </div>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue" id="operate_code2">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">其他诊断：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm otherTable diagTable inputValue"
                                               id="other_diag_name" maxlength="100">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">病理诊断：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="pathology_name" maxlength="100">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">其他诊断码范围：</label>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue"
                                               id="other_diag_name1" style="margin-left: 15px">
                                    </div>
                                    <div class="col-sm-1" style="padding-top:2%">
                                        <div style="margin-left: 50%">
                                            至
                                        </div>
                                    </div>
                                    <div class="col-sm-4 inputDiv">
                                        <input type="text" class="form-control input-sm inputValue"
                                               id="other_diag_name2">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">全部诊断：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="all_diag_name" maxlength="100">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">损伤中毒：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="poisoning_name" maxlength="100">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">主治医生：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="attending" maxlength="6">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv">
                                        <label class="control-label">科主任：</label>
                                    </div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="dept_director" maxlength="6">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">主任(副主任)：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="director" maxlength="6">
                                    </div>
                                </div>
                            </div>
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-3 labelDiv">
                                        <label class="control-label">住院医师：</label>
                                    </div>
                                    <div class="col-sm-9 inputDiv">
                                        <input type="text" class="form-control input-sm diagTable inputValue"
                                               id="admiss_doctor" maxlength="100">
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-sm-4">
                                <div class="form-group">
                                    <div class="col-sm-4 labelDiv"></div>
                                    <div class="col-sm-8 inputDiv">
                                        <input type="checkbox" id="isOper"
                                               class="otherTable operTable isOperInput"><label for="isOper"
                                                                                               class="checkBoxClass">限手术</label>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
    <div class="btns">
        <div class="btn">
            <button type="button" class="btn btn-sm btn-primary" onclick="search()">开始搜索</button>
        </div>
        <div class="btn">
            <button type="button" class="btn btn-sm btn-default" onclick="clearForm()">&nbsp;&nbsp;清&nbsp;&nbsp;空&nbsp;&nbsp;</button>
        </div>
        <div class="btn" id="borrowingsBox">
            <button type="button" class="btn btn-sm btn-primary" id="borrowings" onclick="borrowings()">批量借阅申请
            </button>
        </div>
        <div class="btn">
             <button type="button" class="btn btn-sm btn-default" data-toggle="modal" data-target="#myModal2" onclick="clearForm()">申请信息查询</button>
        </div>
    </div>
    <!--数据表格-->
    <div id="tableDiv" class="table-responsive tableDiv table-hover" style="overflow:scroll;">
        <table id="mytab" class="table text-nowrap table-bordered" data-toggle="table" data-height="200">
        </table>
    </div>

    <!-- 模态框1（Modal）借阅申请 -->
    <div class="modal fade" id="myModal1" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true">
                        <font size="30">&times;</font>
                    </button>
                    <h4 class="modal-title" style="font-weight: bold">
                        申请信息
                    </h4>
                </div>
                <div class="modal-body">
                    <form class="form-horizontal" role="form">
                        <!--隐藏申请过的集合input Id-->
                        <input type="hidden" name="formToken" id="formToken" value="${formToken}">
                        <input type="hidden" id="checks">
                        <input type="hidden" id="typeId">
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">有效时间：</label>
                                <div class="col-sm-7">
                                    <input type="text" class="form-control input-sm input" id="effeTime" name="effeTime"
                                           maxlength="10" autocomplete="off">
                                </div>
                                <div class="col-sm-1"></div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">申请天数：</label>
                                <div class="col-sm-7">
                                    <input type="number" class="form-control input-sm input" id="effeDays"
                                           name="effeDays" oninput="if(value.length>3)value=value.slice(0,3)" readonly>
                                </div>
                                <div class="col-sm-1"></div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">申请类型：</label>
                                <div class="col-sm-7">
                                    <input class="form-control input-sm  input" name="applyType"
                                    id="applyType" value="接口借阅申请" readonly>
                                </div>
                                <div class="col-sm-1"></div>
                            </div>
                        </div>
                        <div class="row">
                            <div class="form-group">
                                <label class="col-sm-4 control-label">申请理由：</label>
                                <div class="col-sm-7">
                                    <textarea class="form-control input-sm  input" id="applyReason" name="applyReason"
                                              maxlength="250"></textarea>
                                </div>
                                <div class="col-sm-1"></div>
                            </div>
                        </div>
                    </form>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-sm btn-default" data-dismiss="modal">
                        关闭
                    </button>
                    <button type="button" class="btn btn-sm btn-primary" onclick="addApprove()">
                        确认提交
                    </button>
                </div>
            </div>
        </div>
    </div>

    <!-- 模态框2（Modal）申请查询 -->
    <div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-hidden="true"><font size="30">&times;</font></button>
                    <h4 class="modal-title" style="font-weight: bold">申请信息</h4>
                </div>
                <div class="modal-body">

                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="${path}/static/js/font/commomListSouth.js"></script>
<script type="text/javascript" src="${path}/static/js/recordManage/templateSearch/searchCommomMethodqf.js"></script>
<script type="text/javascript" src="${path}/static/js/dateUtil.js"></script>
<script type="text/javascript" src="${path}/static/js/approveManage/approveList/approveDateCommmomMethod.js"></script>
<script type="text/javascript" src="${path}/static/js/commom.js"></script>
</body>
</html>
