<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/webpage/include/taglib.jsp" %>
<html>
<head>
    <title>项目管理列表页</title>
    <meta http-equiv="Content-type" content="text/html; charset=utf-8">
    <meta name="decorator" content="ani"/>
    <%@ include file="/webpage/include/bootstraptable.jsp" %>
    <%@include file="/webpage/include/treeview.jsp" %>
    <%@include file="informationList.js" %>
    <style type="text/css">
        .table {
            table-layout: fixed;
            word-break: break-all;
            word-wrap: break-word;
            text-align: center;
        }

        .table th, .table td {
            text-align: center;
            vertical-align: middle !important;
        }
    </style>
</head>
<body>
<div class="wrapper wrapper-content">
    <div class="panel panel-primary">
        <div class="panel-heading">
            <h3 class="panel-title">项目管理列表</h3>
        </div>
        <div class="panel-body">
            <!-- 搜索 -->
            <div id="search-collapse" class="collapse">
                <div class="accordion-inner">
                    <form:form id="searchForm" modelAttribute="information" class="form form-horizontal well clearfix">
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <label class="label-item single-overflow pull-left" title="项目定义号：">项目定义号：</label>
                            <form:input path="projectId" htmlEscape="false" class=" form-control"/>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <label class="label-item single-overflow pull-left" title="项目名称：">项目名称：</label>
                            <form:input path="projectName" htmlEscape="false" maxlength="100" class=" form-control"/>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left" title="项目类型：">&nbsp;项目类型：</label>
                                <form:input path="projectType" htmlEscape="false" maxlength="100"
                                            class=" form-control"/>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left"
                                       title="项目预算年度：">&nbsp;项目预算年度：</label>
                                <form:input path="projectYear" htmlEscape="false" maxlength="100"
                                            class=" form-control"/>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left" title="一级单位：">&nbsp;一级单位：</label>
                                <form:input path="firstUnits" htmlEscape="false" maxlength="100" class=" form-control"/>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left" title="二级单位：">&nbsp;二级单位：</label>
                                <form:input path="secondUnits" htmlEscape="false" maxlength="100"
                                            class=" form-control"/>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left"
                                       title="是否完成领退料：">&nbsp;是否完成领退料：</label>
                                <form:select path="firstFinish" htmlEscape="false" maxlength="100"
                                             class=" form-control">
                                    <form:option value="">请选择</form:option>
                                    <form:option value="是">是</form:option>
                                    <form:option value="否">否</form:option>
                                </form:select>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left"
                                       title="选择查询的情况：">&nbsp;选择查询的情况：</label>
                                <form:select path="extendedStatus" htmlEscape="false" maxlength="100"
                                             class=" form-control">
                                    <form:option value="">请选择</form:option>
                                    <form:option value="大于等于"> 大于等于</form:option>
                                    <form:option value="大于"> 大于</form:option>
                                    <form:option value="等于"> 等于</form:option>
                                    <form:option value="小于等于"> 小于等于 </form:option>
                                    <form:option value="小于"> 小于</form:option>
                                </form:select>
                            </div>
                        </div>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div class="form-group">
                                <label class="label-item single-overflow pull-left" title="输入天数：">&nbsp;输入天数：</label>
                                <form:input path="extendedTime" htmlEscape="false" maxlength="100"
                                            class=" form-control"/>
                            </div>
                        </div>
                        <%--用于记录是否时第一次刷新--%>
                        <form:hidden path="hiddenSign"/>
                        <%--				<form:input type="hidden" id="hiddenSign"/>--%>
                        <div class="col-xs-12 col-sm-6 col-md-4">
                            <div style="margin-top:26px">
                                <a id="search" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i
                                        class="fa fa-search"></i> 查询</a>
                                <a id="reset" class="btn btn-primary btn-rounded  btn-bordered btn-sm"><i
                                        class="fa fa-refresh"></i> 重置</a>
                            </div>
                        </div>
                    </form:form>
                </div>
            </div>

            <!-- 工具栏 -->
            <div id="toolbar">
                <%--		<shiro:hasPermission name="modules:sg:information:information:import">
                            <button id="btnCom" class="btn btn-info">
                                <i class="fa fa-folder-open-o"></i> 导入综合信息表
                            </button>
                        </shiro:hasPermission>
                        <shiro:hasPermission name="modules:sg:information:information:import">
                            <button id="btnInformation" class="btn btn-info">
                                <i class="fa fa-folder-open-o"></i> 导入甲供材
                            </button>
                        </shiro:hasPermission>--%>
                <shiro:hasPermission name="modules:sg:information:information:importReason">
                    <button id="btnInReason" class="btn btn-info">
                        <i class="fa fa-folder-open-o"></i> 导入原因类型
                    </button>
                </shiro:hasPermission>
                <shiro:hasPermission name="modules:sg:information:information:importTrial">
                    <button id="btnInTrial" class="btn btn-info">
                        <i class="fa fa-folder-open-o"></i> 导入送审
                    </button>
                </shiro:hasPermission>
                <shiro:hasPermission name="modules:sg:information:information:import">
                    <button id="btnSearch" class="btn btn-info">
                        <i class="fa fa-folder-open-o"></i> 导入查询
                    </button>
                </shiro:hasPermission>
                <shiro:hasPermission name="modules:sg:information:information:export">
                    <button id="exportMaterial" class="btn btn-warning">
                        <i class="fa fa-file-excel-o"></i> 导出项目
                    </button>
                </shiro:hasPermission>
                <shiro:hasPermission name="modules:sg:information:information:export">
                    <button id="export" class="btn btn-warning">
                        <i class="fa fa-file-excel-o"></i> 导出物料清单
                    </button>
                </shiro:hasPermission>
                <shiro:hasPermission name="modules:sg:information:information:export">
                    <button id="exportInformation" class="btn btn-warning">
                        <i class="fa fa-file-excel-o"></i> 导出欠供说明
                    </button>
                </shiro:hasPermission>
                <%--		<shiro:hasPermission name="modules:sg:information:information:edit">
                            <button id="editOverTime" class="btn btn-danger">
                                <i class="fa fa-file-excel-o"></i> 配置超期时间
                            </button>
                        </shiro:hasPermission>--%>
            </div>

            <!-- 表格 -->
            <table id="informationTable" data-toolbar="#toolbar" class="table" style="table-layout:fixed"></table>

            <!-- context menu -->
            <%--<ul id="context-menu" class="dropdown-menu">
                <shiro:hasPermission name="test:onetomany:dialog:testDataMain1:view">
                <li data-item="view"><a>查看</a></li>
                </shiro:hasPermission>
                <shiro:hasPermission name="test:onetomany:dialog:testDataMain1:edit">
                <li data-item="edit"><a>编辑</a></li>
                </shiro:hasPermission>
                <shiro:hasPermission name="test:onetomany:dialog:testDataMain1:del">
                <li data-item="delete"><a>删除</a></li>
                </shiro:hasPermission>
                <li data-item="action1"><a>取消</a></li>
            </ul>  --%>
        </div>
    </div>
</div>

</body>
</html>