<%@ 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="nonRePowerEnd.js" %>

</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">
            <button id="export" class="btn btn-warning">
                <i class="fa fa-file-excel-o"></i> 导出土建竣工报告
            </button>
            <!-- 表格 -->
            <div class="panel-body">
                <form:form id="inputForm" modelAttribute="nonPower" class="form-horizontal">
                    <form:hidden path="id"/>
                    <form:hidden path="act.taskId"/>
                    <form:hidden path="act.taskName"/>
                    <form:hidden path="act.taskDefKey"/>
                    <form:hidden path="act.procInsId"/>
                    <form:hidden path="act.procDefId"/>
                    <table class="table table-bordered">
                        <tbody>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">项目名称：</label></td>
                            <td class="width-35">
                                <form:input id="projectName" path="projectName" readonly="true"
                                            cssClass="form-control"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">工程编号：</label></td>
                            <td class="width-35">
                                <form:input id="projectNumber" path="projectNumber" readonly="true"
                                            cssClass="form-control"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">建设单位：</label></td>
                            <td class="width-35">
                                <form:input id="buildingUnit" path="buildingUnit" readonly="true"
                                            cssClass="form-control"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">施工单位：</label></td>
                            <td class="width-35">
                                <form:input id="constructionUnit" path="constructionUnit" readonly="true"
                                            cssClass="form-control"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">实际开工时间：</label></td>
                            <td class="width-35">
                                <form:input id="actualStart" path="actualStart" readonly="true"
                                            cssClass="form-control required" placeholder="必填"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">项目负责人：</label></td>
                            <td class="width-35">
                                <form:input id="projectManager" path="projectManager" readonly="true"
                                            cssClass="form-control required" placeholder="必填"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">施工负责人：</label></td>
                            <td class="width-35">
                                <form:input id="personInCharge" path="personInCharge" readonly="true"
                                            cssClass="form-control required" placeholder="必填"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">实际竣工时间：</label></td>
                            <td class="width-35">
                                <form:input id="actualEnd" path="actualEnd" readonly="true"
                                            cssClass="form-control required" placeholder="必填"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">线路名称：</label></td>
                            <td class="width-35">
                                <form:input id="lineName" path="lineName"
                                            cssClass="form-control" readonly="true"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">工作地点：</label></td>
                            <td class="width-35">
                                <form:input id="workPlace" path="workPlace" readonly="true"
                                            cssClass="form-control required" placeholder="必填"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">施工土建工程量：</label></td>
                            <td class="width-35">
                                <form:textarea id="constructionCivilWorks" path="constructionCivilWorks"
                                               cssClass="form-control" readonly="true"/>
                            </td>
                            <td class="width-15 active"><label class="pull-right">土建开工工程量：</label></td>
                            <td class="width-35">
                                <form:textarea id="civilStartReport" path="civilStartReport" readonly="true"
                                               cssClass="form-control required" placeholder="必填"/>
                            </td>
                        </tr>
                        <tr>
                            <td class="width-15 active"><label class="pull-right">土建竣工工程量：</label></td>
                            <td class="width-35">
                                <form:textarea id="civilEndReport" path="civilEndReport" readonly="true"
                                               cssClass="form-control" placeholder="必填"/>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form:form>
                <div class="row">
                    <div class="col-sm-3"></div>
                    <div class="col-sm-6">
                        <div class="form-group text-center">
                            <input id="agree" class="btn  btn-primary btn-lg btn-parsley" type="submit" value="完成土建"/>&nbsp;
                            <input id="no" class="btn  btn-primary btn-lg btn-danger" type="submit" value="驳回"/>&nbsp;
                        </div>
                    </div>
                </div>
                <c:if test="${not empty nonPower.id}">
                    <act:flowChart procInsId="${nonPower.act.procInsId}"/>
                    <act:histoicFlow procInsId="${nonPower.act.procInsId}"/>
                </c:if>
            </div>
            <!-- context menu -->
            <ul id="context-menu" class="dropdown-menu">
            </ul>
        </div>
    </div>
</div>
</body>
</html>