<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<!DOCTYPE html>
<html>
<head>
    <title>工程管理</title>
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/layui/css/layui.css">
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/common.css"/>
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/vermeit.css">
    <script type="text/javascript" src="${ctxp}/static/plugin/assets/jquery-3.2.1.min.js"></script>
    <script src="${ctxp}/static/plugin/assets/layui/layui.js"></script>
    <%@ include file="manageList.js"%>
</head>
<style>
    .layui-input{height: 28px; margin-top: 5px;width: 260px;line-height: 28px}
    .input-meself-time{font-size: 13px;width: 140px;}
    .btn_out{ width: 100px; margin: 0;float: right;margin-right:2%;}
    .div_main_form{width: 50%;margin-left: 10px;}
    .layui-icon-layer{ display: none;}
    .layui-icon-file{display: none;}
    .layui-table-view .layui-table {width:100%}
</style>
<body style="height:100%">
<input style="display: none;" id="addtext" value=""/>
<div class="layui-main-bgc">
    <sys:message content="${message}"/>
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-header layui-card-header-add">工程管理</div>
                <div class="layui-card-body">
                    <div class="" style="margin-left: 10px;margin-right: 10px;margin-top: 10px;">
                        <div class="layui-btn-group">
                            <%--<a class="layui-btn layui-btn-meself" href="javascript:history.back(-1)"><img class="layui-meself-img1" src="${ctxp}/icon/back.png" alt="">&nbsp;返回</a>--%>
                            <a class="layui-btn layui-btn-meself" href="${ctx}/project/tem/return"><img class="layui-meself-img1" src="${ctxp}/icon/back.png" alt="">&nbsp;返回</a>
                            <%--<button type="button" class="layui-btn layui-btn-primary layui-btn-meself"  onclick="refresh()"><img class="layui-meself-img1" src="${ctxp}/icon/refush.png" alt="">&nbsp;刷新</button>--%>
                            <c:forEach items="${list}" var="data1" varStatus="index">
                            <a type="button" class="layui-btn layui-btn-warm  layui-btn-meself" href="${ctx}/project/exportone?id=${data1.id}"><img class="layui-meself-img1" src="${ctxp}/icon/daochu.png" alt="">&nbsp;导出</a>
                            </c:forEach>
                        </div>
                        <table id="table1" class="layui-table" lay-filter="table1"></table>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<%--<script>--%>
    <%--function addProject(target){--%>
        <%--layer.open({--%>
            <%--type: 2,--%>
            <%--title: '添加项目',--%>
            <%--area: ['43%', '90%'],--%>
            <%--shade: 0.8,--%>
            <%--shadeClose: true,--%>
            <%--content: '${ctxp}/webpage/modules/sg/project/addItem2Form.jsp'--%>
            <%--, btn: ['确定','关闭']--%>
            <%--,yes: function(index, layero){--%>
                <%--// var bodyparent = layer.getChildFrame('body', index);--%>
                <%--// bodyparent.find('#newProject').click();--%>
                <%--var body = layer.getChildFrame('body', index);--%>
                <%--var iframeWin = layero.find('iframe')[0]; //得到iframe页的窗口对象，执行iframe页的方法：iframeWin.method();--%>
                <%--var inputForm = body.find('#inputForm');--%>
                <%--var top_iframe;--%>
                <%--if(target){--%>
                    <%--top_iframe = target;//如果指定了iframe，则在改frame中跳转--%>
                <%--}else{--%>
                    <%--top_iframe = top.getActiveTab().attr("name");//获取当前active的tab的iframe--%>
                <%--}--%>
                <%--inputForm.attr("target",top_iframe);//表单提交成功后，从服务器返回的url在当前tab中展示--%>
                <%--iframeWin.contentWindow.doSubmit();--%>

                <%--layer.close(index);//关闭对话框。--%>

            <%--}--%>
            <%--,btn2: function(index, layero){--%>
                <%--layer.close(index);--%>
            <%--}--%>
        <%--})--%>
    <%--}--%>
<%--</script>--%>
</html>
