|
@@ -414,73 +414,6 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
|
|
|
- <c:if test="${not empty projectRecords.workAttachments}">
|
|
|
- <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>
|
|
|
- <%--<td>${status.index + 1}</td>--%>
|
|
|
- <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 href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </c:when>
|
|
|
- <c:otherwise>
|
|
|
- <td><a href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
- </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=encodeURI('${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file=${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
- <%--<a href="#" onclick="seeFile('${workClientAttachment.url}','${workClientAttachment.attachmentName}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 查看</a>--%>
|
|
|
- </td>
|
|
|
- </tr>
|
|
|
- </c:forEach>
|
|
|
- </tbody>
|
|
|
- </table>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </c:if>
|
|
|
- <script>
|
|
|
- var workClientLinkmanRowIdx = 0, workClientLinkmanTpl = $("#workClientLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
|
- var workConstructionLinkmanRowIdx = 0, workConstructionLinkmanTpl = $("#workConstructionLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
|
- $(document).ready(function() {
|
|
|
- var data = ${fns:toJson(projectRecords.workClientLinkmanList)};
|
|
|
- for (var i=0; i<data.length; i++){
|
|
|
- addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl, data[i]);
|
|
|
- workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;
|
|
|
- }
|
|
|
- var dataBank = ${fns:toJson(projectRecords.workConstructionLinkmanList)};
|
|
|
- for (var i=0; i<dataBank.length; i++){
|
|
|
- addRow('#workConstructionLinkmanList', workConstructionLinkmanRowIdx, workConstructionLinkmanTpl, dataBank[i]);
|
|
|
- workConstructionLinkmanRowIdx = workConstructionLinkmanRowIdx + 1;
|
|
|
- }
|
|
|
- });
|
|
|
-
|
|
|
- </script>
|
|
|
-
|
|
|
<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>项目报告</h2></div>
|
|
|
<div class="layui-item layui-col-xs12 form-table-container" >
|
|
@@ -504,7 +437,7 @@
|
|
|
${projectReportData.number}
|
|
|
</a></td>
|
|
|
<td>
|
|
|
- ${projectReportData.name}
|
|
|
+ ${projectReportData.name}
|
|
|
</td>
|
|
|
<td title="${fns:getContentTypeName(projectReportData.type,"")}">
|
|
|
${fns:getContentTypeName(projectReportData.type,"")}
|
|
@@ -549,7 +482,72 @@
|
|
|
</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>
|
|
|
+ <%--<td>${status.index + 1}</td>--%>
|
|
|
+ <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 href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%','1')">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </c:when>
|
|
|
+ <c:otherwise>
|
|
|
+ <td><a href="javascript:void(0)" onclick="preview('预览','${workClientAttachment.url}','95%','95%')">${workClientAttachment.attachmentName}</a></td>
|
|
|
+ </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=encodeURI('${ctx}/workcontractinfo/workContractInfo/downLoadAttach?file=${workClientAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
+ <%--<a href="#" onclick="seeFile('${workClientAttachment.url}','${workClientAttachment.attachmentName}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 查看</a>--%>
|
|
|
+ </td>
|
|
|
+ </tr>
|
|
|
+ </c:forEach>
|
|
|
+ </tbody>
|
|
|
+ </table>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ <script>
|
|
|
+ var workClientLinkmanRowIdx = 0, workClientLinkmanTpl = $("#workClientLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
|
+ var workConstructionLinkmanRowIdx = 0, workConstructionLinkmanTpl = $("#workConstructionLinkmanTpl").html().replace(/(\/\/\<!\-\-)|(\/\/\-\->)/g,"");
|
|
|
+ $(document).ready(function() {
|
|
|
+ var data = ${fns:toJson(projectRecords.workClientLinkmanList)};
|
|
|
+ for (var i=0; i<data.length; i++){
|
|
|
+ addRow('#workClientLinkmanList', workClientLinkmanRowIdx, workClientLinkmanTpl, data[i]);
|
|
|
+ workClientLinkmanRowIdx = workClientLinkmanRowIdx + 1;
|
|
|
+ }
|
|
|
+ var dataBank = ${fns:toJson(projectRecords.workConstructionLinkmanList)};
|
|
|
+ for (var i=0; i<dataBank.length; i++){
|
|
|
+ addRow('#workConstructionLinkmanList', workConstructionLinkmanRowIdx, workConstructionLinkmanTpl, dataBank[i]);
|
|
|
+ workConstructionLinkmanRowIdx = workConstructionLinkmanRowIdx + 1;
|
|
|
+ }
|
|
|
+ });
|
|
|
+
|
|
|
+ </script>
|
|
|
+ <%--<div class="form-group layui-row">
|
|
|
<div class="form-group-label"><h2>项目计划列表</h2></div>
|
|
|
<div class="layui-item layui-col-sm12 lw7">
|
|
|
<div class="layui-item nav-btns">
|
|
@@ -600,7 +598,7 @@
|
|
|
</script>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>--%>
|
|
|
|
|
|
<div class="form-group layui-row page-end"></div>
|
|
|
</form:form>
|