|
@@ -0,0 +1,563 @@
|
|
|
+<%@ page contentType="text/html;charset=UTF-8" %>
|
|
|
+<%@ include file="/webpage/include/taglib.jsp"%>
|
|
|
+<html>
|
|
|
+<head>
|
|
|
+ <title>项目审批管理</title>
|
|
|
+ <meta name="decorator" content="default"/>
|
|
|
+ <script type="text/javascript" src="${ctxStatic}/layui/layuidown.js"></script>
|
|
|
+ <link rel='stylesheet' type="text/css" href="${ctxStatic}/layui/layuidown.css"/>
|
|
|
+ <script type="text/javascript">
|
|
|
+ var validateForm;
|
|
|
+ function doSubmit(i){//回调函数,在编辑和保存动作时,供openDialog调用提交表单。
|
|
|
+ if(validateForm.form()){
|
|
|
+ var fileNum = $("#fileNum").val();
|
|
|
+ var fileNumTow = $("#fileNumTow").val();
|
|
|
+ if(fileNum == ''|| fileNum == undefined){
|
|
|
+ top.layer.msg('填写案卷号!', {icon: 0});
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if(fileNumTow == ''|| fileNumTow == undefined){
|
|
|
+ top.layer.msg('请再次填写案卷号!', {icon: 0});
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ if(fileNum != fileNumTow){
|
|
|
+ top.layer.msg('两次案卷号填写不同,请重新输入!', {icon: 0});
|
|
|
+ return;
|
|
|
+ }
|
|
|
+ $("#inputForm").attr("action","${ctx}/paperFiling/paperFiling/update");
|
|
|
+ $("#inputForm").submit();
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+
|
|
|
+ return false;
|
|
|
+ }
|
|
|
+ $(document).ready(function() {
|
|
|
+ var radioVal ;
|
|
|
+ validateForm = $("#inputForm").validate({
|
|
|
+ submitHandler: function(form){
|
|
|
+ loading('正在提交,请稍等...');
|
|
|
+ form.submit();
|
|
|
+ },
|
|
|
+ errorContainer: "#messageBox",
|
|
|
+ errorPlacement: function(error, element) {
|
|
|
+ $("#messageBox").text("输入有误,请先更正。");
|
|
|
+ if (element.is(":checkbox")||element.is(":radio")||element.parent().is(".input-append")){
|
|
|
+ error.appendTo(element.parent().parent());
|
|
|
+ } else {
|
|
|
+ error.insertAfter(element);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ });
|
|
|
+ var tt = $("#contractNum").val();
|
|
|
+ if (tt == null || tt === "") {
|
|
|
+ $("#divv").hide();
|
|
|
+ $("#divv2").show();
|
|
|
+ $("#divv3").hide();
|
|
|
+ setTimeout(function () {
|
|
|
+ var tt = $("#workClientLinkmanList").find("tr").eq(0).find("td").eq(1).text().trim();
|
|
|
+ $("#clientName").val(tt);
|
|
|
+ },100);
|
|
|
+ }else{
|
|
|
+ $("#divv2").hide();
|
|
|
+ }
|
|
|
+
|
|
|
+ layui.use('form', function () {
|
|
|
+ var form = layui.form;
|
|
|
+ form.render();
|
|
|
+ });
|
|
|
+ //默认打开判断是否时紧急项目
|
|
|
+ <%--var submitMoney="${projectRecords.submitMoney}"--%>
|
|
|
+ <%--if(submitMoney==1){--%>
|
|
|
+ <%-- $("#emergencyProject").parent().parent().parent().show();--%>
|
|
|
+ <%-- var emergencyProject="${projectRecords.emergencyProject}"--%>
|
|
|
+ <%-- if (emergencyProject=="1"){--%>
|
|
|
+ <%-- $("#emergencyProject").prop("checked",true);--%>
|
|
|
+ <%-- layui.form.render();--%>
|
|
|
+ <%-- }else{--%>
|
|
|
+ <%-- $("#emergencyProject").prop("checked",false);--%>
|
|
|
+ <%-- layui.form.render();--%>
|
|
|
+ <%-- }--%>
|
|
|
+ <%--}--%>
|
|
|
+ });
|
|
|
+ function initRecordStatus(index,id,dataid,status)
|
|
|
+ {
|
|
|
+ var elem = document.getElementById("status_td_" + index);
|
|
|
+ var st = getAuditState(status);
|
|
|
+ if(st.action)
|
|
|
+ var xml = "<span onclick=\"openDialogView('流程追踪', '${ctx}/projectcontentinfo/projectcontentinfo/getProcessOne?id=" + id + "&projectReportData.id="+ dataid + "&type="+status+"','95%','95%')\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+ else
|
|
|
+ var xml = "<span style=\"cursor:default;\" class=\"status-label status-label-" + st.label + "\" >" + st.status + "</span>";
|
|
|
+
|
|
|
+ elem.innerHTML = xml;
|
|
|
+ }
|
|
|
+ </script>
|
|
|
+</head>
|
|
|
+<body>
|
|
|
+<div class="tapfixed">
|
|
|
+ <div class="list-form-tab contentShadow shadowLTR" id="tabDiv">
|
|
|
+ <ul class="list-tabs" >
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/view?id=${projectRecords.id}">项目详情</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/list?parentProId=${projectRecords.id}&projectType=${projectRecords.projectType}">子项目列表</a></li>
|
|
|
+ <li ><a href="${ctx}/ruralProject/ruralProjectView/workContractView?id=${projectRecords.workContractInfo.id}&projectId=${projectRecords.id}">客户合同详情</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/planView?id=${projectRecords.id}">项目计划信息</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/getReportedView?projectId=${projectRecords.id}&id=${reportedId}">上报信息</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/modify?projectId=${projectRecords.id}">质量复核信息</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/reportIssue?projectId=${projectRecords.id}">报告签发信息</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/getAccessoryView?id=${projectRecords.id}">档案信息</a></li>
|
|
|
+ <li><a href="${ctx}/ruralProject/ruralProjectView/formRecordModify?id=${projectRecords.id}">线上归档信息</a></li>
|
|
|
+ <li class="active"><a href="${ctx}/ruralProject/ruralProjectView/paperView?projectId=${projectRecords.id}">纸质归档信息</a></li>
|
|
|
+ </ul>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+<div class="single-form">
|
|
|
+ <c:if test="${null == projectPaperFiling.id}">
|
|
|
+ <div class="topMar">
|
|
|
+ <h2>暂无纸质归档信息</h2>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${null != projectPaperFiling.id}">
|
|
|
+ <div class="container view-form">
|
|
|
+ <form:form id="inputForm" modelAttribute="projectPaperFiling" action="${ctx}/paperFiling/paperFiling/update" method="post" class="form-horizontal layui-form">
|
|
|
+
|
|
|
+
|
|
|
+ <div class="form-group layui-row first">
|
|
|
+ <div class="form-group-label"><h2>项目合同信息</h2></div>
|
|
|
+ <div id="divv">
|
|
|
+ <div class="layui-item layui-col-sm12 lw6">
|
|
|
+ <label class="layui-form-label">合同编号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" id="contractNum" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.contractNum}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">合同名称:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.name}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <c:if test="${projectRecords.workContractInfo.contractInformation =='0'}">
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">合同金额(元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="<fmt:formatNumber value="${projectRecords.workContractInfo.contractPrice}" pattern="#,##0.00#"/>"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+ <c:if test="${projectRecords.workContractInfo.contractInformation =='1'}">
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">费率合同:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" title="${projectRecords.workContractInfo.otherDetails}" value="${projectRecords.workContractInfo.otherDetails}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">委托方:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" id="clientName" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.client.name}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="divv2">
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">无合同</label>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div id="divv3">
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">合同类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.workContractInfo.contractType}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row first">
|
|
|
+ <div class="form-group-label"><h2>项目基础信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目名称:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${projectRecords.projectName}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目编号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <div class="input-group">
|
|
|
+ <input htmlEscape="false" readonly="true" class="form-control layui-input" style="background-color: #f1f1f1" value="${projectRecords.projectId}"/>
|
|
|
+ <span class="input-group-btn">
|
|
|
+ <label class="form-status"><c:choose><c:when test="${not empty projectRecords.projectStatus}">${fns:getDictLabel(projectRecords.projectStatus, 'rural_project_audit_state', '')}</c:when><c:otherwise>新添</c:otherwise></c:choose></label>
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目所在地:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.province}-${projectRecords.city}-${projectRecords.county}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">投资性质:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <c:if test="${projectRecords.projectProperties==null}">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input"/>
|
|
|
+ </c:if>
|
|
|
+ <c:forEach items="${fns:getMainDictList('project_properties')}" var="v">
|
|
|
+ <c:if test="${v.value==projectRecords.projectProperties}">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${v.label}"/>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">建设地点:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.projectSite}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">创建人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.createBy.name}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目责任人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.leaderNameStr}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">所属部门:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" id="officeName" class="form-control layui-input" value="${projectRecords.officeName}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目负责人:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.projectMasterName}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">工程类型:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <c:forEach items="${engineeringInfo}" var="e">
|
|
|
+ <c:if test="${e.id==projectRecords.engineeringType}">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${e.engineeringName}"/>
|
|
|
+ </c:if>
|
|
|
+ </c:forEach>
|
|
|
+ <%-- <form:select path="" disabled="true" style="background-color: #f1f1f1" class="form-control simple-select">--%>
|
|
|
+ <%-- <form:options items="${engineeringInfo}" itemLabel="engineeringName" itemValue="id" htmlEscape="false"/>--%>
|
|
|
+ <%-- <%– <c:forEach items="${engineeringInfo}" varStatus="index" var="info">–%>--%>
|
|
|
+ <%-- <%– <form:option value="${info.id}" <c:if test="${info.id == projectRecords.engineeringType}"> selected</c:if>>${info.engineeringName}</form:option>–%>--%>
|
|
|
+ <%-- <%– </c:forEach>–%>--%>
|
|
|
+ <%-- </form:select>--%>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">项目等级:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <c:forEach items="${fns:getMainDictListOnProjectAdvent('attachment_project_grade')}" var="v">
|
|
|
+ <input type="radio" disabled name="submitMoney" id="submitMoney" value="${v.value}" title="${v.label}" <c:if test="${projectRecords.submitMoney==v.value}">checked</c:if>>
|
|
|
+ </c:forEach>
|
|
|
+ <%--<form:select path="submitMoney" disabled="true" style="background-color: #f1f1f1" class="form-control simple-select">
|
|
|
+ <form:option value=""/>
|
|
|
+ <form:options items="${fns:getMainDictListOnProjectAdvent('attachment_project_approval_money')}" itemLabel="label" itemValue="value" htmlEscape="false"/>
|
|
|
+ </form:select>--%>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <%-- <div class="layui-item layui-col-sm6 lw7" style="display: none">--%>
|
|
|
+ <%-- <label class="layui-form-label double-line">是否是紧急项目:</label>--%>
|
|
|
+ <%-- <div class="layui-input-block">--%>
|
|
|
+ <%-- <div style="margin-right: 30px;">--%>
|
|
|
+ <%-- <input type="checkbox" id="emergencyProject" disabled lay-filter="emergencyProject" lay-skin="switch" lay-text="是|否">--%>
|
|
|
+ <%-- </div>--%>
|
|
|
+ <%-- </div>--%>
|
|
|
+ <%-- </div>--%>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">送审规模(万元):</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="${projectRecords.submitScale}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">工作开始日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date ash" style="background-color: #f1f1f1" readonly="true" id="startDate" name="startDate" value="<fmt:formatDate value="${projectRecords.startDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label double-line">工作结束日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input class="laydate-icondate form-control layui-input layer-date " style="background-color: #f1f1f1" readonly="true" id="endingDate" name="endingDate" value="<fmt:formatDate value="${projectRecords.endingDate}" pattern="yyyy-MM-dd"/>">
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6">
|
|
|
+ <label class="layui-form-label">创建日期:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" style="background-color: #f1f1f1" readonly="true" class="form-control layui-input" value="<fmt:formatDate value="${projectRecords.createDate}" pattern="yyyy-MM-dd"/>"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <label class="layui-form-label">项目类别:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" readonly="true" style="background-color: #f1f1f1" class="form-control layui-input" value="${projectRecords.attachmentProjectSort}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
+ <label class="layui-form-label">工程概况:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <textarea htmlEscape="false" rows="4" readonly="true" style="background-color: #f1f1f1" maxlength="1000" class="form-control" >${projectRecords.projectDesc}</textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw6 with-textarea">
|
|
|
+ <label class="layui-form-label">备注:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <textarea htmlEscape="false" rows="4" readonly="true" maxlength="1000" style="background-color: #f1f1f1" class="form-control" >${projectRecords.remarks}</textarea>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>提交说明</h2></div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <label class="layui-form-label">案卷号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input htmlEscape="false" id="fileNum" readonly="true" name="fileNum" class="form-control layui-input" value="${projectPaperFiling.fileNum}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="layui-item layui-col-sm6 lw7">
|
|
|
+ <label class="layui-form-label">确认案卷号:</label>
|
|
|
+ <div class="layui-input-block">
|
|
|
+ <input id="fileNumTow" name="fileNumTow" readonly="true" type="text" class="layui-input form-control" equalTo="#fileNum" value="${projectPaperFiling.fileNumTow}"/>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>委托方联系人信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="contentTable" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th class="hide"></th>
|
|
|
+ <th width="25%">委托方</th>
|
|
|
+ <th width="25%">联系人姓名</th>
|
|
|
+ <th width="25%">联系方式1</th>
|
|
|
+ <th width="25%">联系方式2</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="workClientLinkmanList">
|
|
|
+ <c:forEach items="${projectRecords.workClientLinkmanList}" var="info" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td >
|
|
|
+ ${info.clientId.name}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.name}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.linkPhone}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.linkMobile}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>施工方信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="contentTable1" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th class="hide"></th>
|
|
|
+ <th width="25%">施工方单位名称</th>
|
|
|
+ <th width="25%">联系人姓名</th>
|
|
|
+ <th width="25%">联系方式1</th>
|
|
|
+ <th width="25%">联系方式2</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="workConstructionLinkmanList">
|
|
|
+ <c:forEach items="${projectRecords.workConstructionLinkmanList}" var="info" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td >
|
|
|
+ ${info.clientId.name}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.name}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.linkPhone}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ ${info.linkMobile}
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>项目报告</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="upTable" class="table table-bordered table-condensed details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="25%">报告编号</th>
|
|
|
+ <th width="25%">报告名称</th>
|
|
|
+ <th width="25%">创建日期</th>
|
|
|
+ <th width="25%">状态</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${not empty projectRecords.projectReportData}">
|
|
|
+ <c:forEach items="${projectRecords.projectReportData}" var="projectReportData" varStatus="index">
|
|
|
+ <tr>
|
|
|
+ <td><a title="${projectReportData.number}" href="javascript:void(0)" onclick="openDialogView('查看报告详情', '${ctx}/ruralProject/ruralProjectView/modify?projectId=${projectRecords.id}','95%', '95%')">
|
|
|
+ ${projectReportData.number}
|
|
|
+ </a></td>
|
|
|
+ <td>
|
|
|
+ ${projectReportData.name}
|
|
|
+ </td>
|
|
|
+ <td>
|
|
|
+ <fmt:formatDate value="${projectReportData.reportDate}" pattern="yyyy-MM-dd"/>
|
|
|
+ </td>
|
|
|
+ <td class="op-td">
|
|
|
+ <div style="text-align: center" id="status_td_${index.index+1}">
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
+ initRecordStatus(${index.index+1},"${id}","${projectReportData.id}","${projectReportData.status}");
|
|
|
+ </script>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <tr>
|
|
|
+ <td colspan="7">
|
|
|
+ 暂无数据
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <div class="form-group layui-row">
|
|
|
+ <div class="form-group-label"><h2>项目计划附件信息</h2></div>
|
|
|
+ <div class="layui-item layui-col-xs12 form-table-container" >
|
|
|
+ <table id="listAttachment" class="table table-bordered table-condensed no-bottom-margin details">
|
|
|
+ <thead>
|
|
|
+ <tr>
|
|
|
+ <th width="25%">文件预览</th>
|
|
|
+ <th width="25%">上传人</th>
|
|
|
+ <th width="25%">上传时间</th>
|
|
|
+ <th width="25%">操作</th>
|
|
|
+ </tr>
|
|
|
+ </thead>
|
|
|
+ <tbody id="file_attachment">
|
|
|
+ <c:forEach items="${projectRecords.workAttachments}" var="workClientAttachment" varStatus="status">
|
|
|
+ <tr>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${projectRecords.uploadMode == 2}">
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
|
|
|
+ <td><img src="${workClientAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.temporaryUrl}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.temporaryUrl}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpg')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'png')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'gif')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'bmp')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jpeg')}">
|
|
|
+ <td><img src="${workClientAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${workClientAttachment.url}','90%','90%')" alt="${workClientAttachment.attachmentName}">
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(workClientAttachment.attachmentName,'pdf')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',1)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <c:choose>
|
|
|
+ <c:when test="${fn:containsIgnoreCase(fileOther.attachName,'rar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'zip')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'jar')
|
|
|
+ or fn:containsIgnoreCase(workClientAttachment.attachmentName,'7z')}">
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',3)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a class="attention-info" href="javascript:void(0)" onclick="openPreview('${workClientAttachment.url}',2)">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+ </c:otherwise>
|
|
|
+ </c:choose>
|
|
|
+
|
|
|
+
|
|
|
+ <td>${workClientAttachment.createBy.name}</td>
|
|
|
+ <td><fmt:formatDate value="${workClientAttachment.createDate}" pattern="yyyy-MM-dd"/></td>
|
|
|
+ <td class="op-td">
|
|
|
+ <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent(encodeURIComponent('${workClientAttachment.url}'));" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ <c:if test="${workClientAttachment.collectFlag != 1}">
|
|
|
+ <a href="javascript:void(0)" onclick="collectingAccessory(this,'${ctx}/projectAccessory/projectAccessory/saveCollectAccessory','${workClientAttachment.url}','${workClientAttachment.createBy.id}','${workClientAttachment.fileSize}')" class="op-btn op-btn-delete" style="background-color: #FFB800"><i class="layui-icon layui-icon-rate"></i> 收藏</a>
|
|
|
+ </c:if>
|
|
|
+ <!-- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>-->
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <div class="form-group layui-row page-end"></div>
|
|
|
+ </form:form>
|
|
|
+ </div>
|
|
|
+ </c:if>
|
|
|
+</div>
|
|
|
+</body>
|
|
|
+</html>
|