Prechádzať zdrojové kódy

图片文件不展示问题

user5 4 rokov pred
rodič
commit
7c9beabd72

+ 3 - 3
src/main/webapp/webpage/modules/projectcontentinfo/projectReportRecordAudit.jsp

@@ -281,7 +281,7 @@
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'jpeg')}">
-															<img src="${fileAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
+															<img src="${fileAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>
@@ -398,7 +398,7 @@
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
-															<img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
+															<img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>
@@ -517,7 +517,7 @@
                                                            or fn:containsIgnoreCase(fileOther.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
-															<img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
+															<img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/projectReportRecord/projectReportRecordView.jsp

@@ -242,7 +242,7 @@
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'jpeg')}">
-														<img src="${fileAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
+														<img src="${fileAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
 													</c:when>
 													<c:otherwise>
 														<c:choose>
@@ -356,7 +356,7 @@
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
-														<img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
+														<img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
 													</c:when>
 													<c:otherwise>
 														<c:choose>
@@ -472,7 +472,7 @@
                                                            or fn:containsIgnoreCase(fileOther.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
-														<img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
+														<img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
 													</c:when>
 													<c:otherwise>
 														<c:choose>

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/projectRecordsMessageAudit.jsp

@@ -512,7 +512,7 @@
 																		   or fn:containsIgnoreCase(fileAttachment.attachName,'gif')
 																		   or fn:containsIgnoreCase(fileAttachment.attachName,'bmp')
 																		   or fn:containsIgnoreCase(fileAttachment.attachName,'jpeg')}">
-																	<img src="${fileAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
+																	<img src="${fileAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
 																</c:when>
 																<c:otherwise>
 																	<c:choose>
@@ -625,7 +625,7 @@
 																		   or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
 																		   or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
 																		   or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
-																	<img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
+																	<img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
 																</c:when>
 																<c:otherwise>
 																	<c:choose>
@@ -740,7 +740,7 @@
 																		   or fn:containsIgnoreCase(fileOther.attachName,'gif')
 																		   or fn:containsIgnoreCase(fileOther.attachName,'bmp')
 																		   or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
-																	<img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
+																	<img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
 																</c:when>
 																<c:otherwise>
 																	<c:choose>

+ 3 - 3
src/main/webapp/webpage/modules/ruralprojectrecords/ruralporjectmessage/projectcontentinfo/projectRecordsMessageView.jsp

@@ -478,7 +478,7 @@
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileAttachment.attachName,'jpeg')}">
-															<img src="${fileAttachment.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
+															<img src="${fileAttachment.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileAttachment.temporaryUrl}','90%','90%')" alt="${fileAttachment.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>
@@ -593,7 +593,7 @@
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileGistdata.attachName,'jpeg')}">
-															<img src="${fileGistdata.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
+															<img src="${fileGistdata.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileGistdata.temporaryUrl}','90%','90%')" alt="${fileGistdata.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>
@@ -708,7 +708,7 @@
                                                            or fn:containsIgnoreCase(fileOther.attachName,'gif')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'bmp')
                                                            or fn:containsIgnoreCase(fileOther.attachName,'jpeg')}">
-															<img src="${fileOther.url}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
+															<img src="${fileOther.temporaryUrl}" width="50" height="50" onclick="openDialogView('预览','${ctx}/sys/picturepreview/picturePreview?url=${fileOther.temporaryUrl}','90%','90%')" alt="${fileOther.attachName}">
 														</c:when>
 														<c:otherwise>
 															<c:choose>