<%@ page import="java.util.Date" %>
<%@ 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>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="${path}/static/js/html5shiv.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="${path}/static/js/respond.min.js"></script>
    <![endif]-->
    <script>
        var path = "${path}";
    </script>
    <style type="text/css">
        .mainDiv {
            background-color: #fff;
        }

        /**搜索区*/
        .searchDiv {
            padding-top: 5px;
            height: 30px;
        }

        .searchDiv1 {

            height: 30px;
        }

        .tableDiv {
            width: 100%;
            background-color: #fff;
            margin-left: 1%;
            margin-top: -10px;
        }

        .dateSearchDiv {
            width: 29%;
        }

        .dateSearchInput {
            width: 30%;
            margin-left: 3%;
        }

        .dateLabelDiv {
            width: 30%;
            text-align: right;
        }

        .searchInput {
            width: 20%;
        }

        .searchElement {
            width: 40%;
        }

        .searchInputElement {
            width: 60%;
        }

        .labelDiv {
            padding-top: 4%;
            margin-left: 5px;
        }

        /**查询按钮组*/
        .btnsDiv {
            text-align: right;
            height: 30px;
            margin-right: 25px;
        }

        .btn {
            margin-left: 1%;
        }

        .modelBtns {
            /*text-align: center;*/
            margin-left: 40%;
        }

        .control-label1 {
            width: 30%;
            text-align: right;
            padding-top: 2px;
            font-weight: 700;

        }

        .warningLabel {
            margin-left: 102px;
            font-weight: 700;
        }

        .warningDiv {
            margin-left: 134px;
            margin-top: -20px;
        }

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

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

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

        .loading {
            width: 160px;
            height: 56px;
            position: absolute;
            top: 50%;
            left: 50%;
            line-height: 56px;
            color: #fff;
            padding-left: 60px;
            font-size: 15px;
            background: #000;
            opacity: 0.7;
            z-index: 9999;
            -moz-border-radius: 20px;
            -webkit-border-radius: 20px;
            border-radius: 20px;
            filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
        }
    </style>
</head>
<body>

<input type="hidden" id="checks">
<div class="main">
    <div class="headDiv">
        <div class="headSpanDiv">
            <span class="headspan">
                任务清单明细列表
            </span>
        </div>
    </div>
    <div class="mainDiv">
        <!--搜索区-->
        <div class="searchDiv">

            <div class="searchInput left">
                <div class="searchElement left">
                    <label class="labelDiv">任务ID：</label>
                </div>
                <div class="searchInputElement left">
                    <input type="text" class="form-control input-sm" id="taskid" maxlength="16">
                </div>
            </div>

            <div class="dateSearchDiv left">
                <div class="dateLabelDiv left">
                    <label class="labelDiv">操作日期：</label>
                </div>
                <div class="dateSearchInput left">
                    <input type="text" class="form-control input-sm" id="startTime1" placeholder="开始时间"
                           maxlength="10" autocomplete="off">
                </div>
                <div class="dateSearchInput left">
                    <input type="text" class="form-control input-sm" id="endTime1" placeholder="结束时间" maxlength="10"
                           autocomplete="off">
                </div>
            </div>
            <div class="searchInput left" style="margin-left: 10px;">
                <div class="searchElement left">
                    <label class="labelDiv">申请状态：</label>
                </div>
                <div class="searchInputElement left">
                    <select class="form-control input-sm" id="state">
                        <option value="">请选择</option>
                        <option value="0">未开始</option>
                        <option value="1">完成</option>
                        <option value="2">失败</option>
                    </select>
                </div>
            </div>
            <div class="searchDiv1">
                <div class="searchInput left" style="margin-left: 2%">
                    <button type="button" class="btn btn-sm btn-primary" onclick="refreshTable()">查询</button>
                </div>
            </div>
        </div>
        <%--<div class="btnsDiv">
            <shiro:hasPermission name="/exportTask/impExcelTask">
                <button type="button" class="btn btn-sm btn-warning btns" onclick="importBtn()" >导入excel</button>
            </shiro:hasPermission>
        </div>--%>
        <!--数据表格-->
        <div id="tableDiv" class="tableDiv table-responsive">
            <table id="mytab" class="table text-nowrap table-bordered">
            </table>
        </div>
    </div>
</div>

<script>
    var time = new Date().getTime();
    document.write('<script src="${path}/static/js/recordManage/exportTaskDetails/exportTaskDetailsList.js?t=' + time + '"><\/script>')
    document.write('<script src="${path}/static/js/dateUtil.js?t=' + time + '"><\/script>')
    document.write('<script src="${path}/static/js/commom.js?t=' + time + '"><\/script>')
</script>

<%--<script src="${path}/static/js/approveManage/approveList/approveList.js?t=" +<%=new Date().getTime() %> type="text/javascript"></script>
<script src="${path}/static/js/approveManage/approveList/approveDateCommmomMethod.js"></script>
<script src="${path}/static/js/approveManage/approveList/approveSaveCommomMethod.js?t=2"></script>
<script src="${path}/static/js/dateUtil.js"></script>--%>
</body>
</html>

