|
@@ -251,10 +251,10 @@
|
|
<c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
<c:when test="${projectcontentinfo.uploadMode == 2}">
|
|
<c:choose>
|
|
<c:choose>
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'pdf')}">
|
|
<c:when test="${fn:containsIgnoreCase(fileAttachment.attachName,'pdf')}">
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${fileAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
|
|
+ <a href="${fileAttachment.temporaryUrl}" target="_blank" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
</c:when>
|
|
</c:when>
|
|
<c:otherwise>
|
|
<c:otherwise>
|
|
- <a href="javascript:location.href='${ctx}/workfullmanage/workFullManage/downLoadAttach?file='+encodeURIComponent('${fileAttachment.url}');" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
|
|
|
|
+ <a href="${fileAttachment.temporaryUrl}" class="op-btn op-btn-download"><i class="fa fa-download"></i> 下载</a>
|
|
</c:otherwise>
|
|
</c:otherwise>
|
|
</c:choose>
|
|
</c:choose>
|
|
</c:when>
|
|
</c:when>
|