| | |
| | | <apex:page action="{!init}" id="Page" controller="QLMAttachmentPreviewController" showheader="false" sidebar="false"> |
| | | <apex:page action="{!init}" id="Page" controller="QLMAttachmentPreviewController" showheader="false" sidebar="false" lightningStylesheets="true"> |
| | | |
| | | <!-- 文件列表 点击行项目 预览图片 非图片格式点击下载 --> |
| | | <apex:stylesheet value="{!URLFOR($Resource.StyleUtilCss)}"/> |
| | | <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"> |
| | | </apex:stylesheet> |
| | | <apex:includescript value="{!URLFOR($Resource.jquery183minjs)}"> |
| | |
| | | // 返回按钮根据传id返回上一级操作 |
| | | function test(){ |
| | | var queryVal=GetQueryValue('parentId'); |
| | | // var url='https://ocsm--stagefull.my.salesforce.com/'+queryVal; |
| | | // var url='https://ocsm--partial--c.sandbox.vf.force.com/'+queryVal; |
| | | var url='https://ocsm.my.salesforce.com/'+queryVal; |
| | | window.location.href=url; |
| | | } |
| | |
| | | <apex:column style="width: 60%; height: 25px;text-align: center;font-size: 13px; |
| | | border-left: 1px solid #cbcbcb;"> |
| | | <!-- //javascript:void(0) 为了实现a标签跳转 --> |
| | | <a href="javascript:void(0);" onclick="openUrl('{!attach.Id}','{!attach.Name}')"> |
| | | <apex:outputfield id="attachMentName" value="{!attach.Name}"> |
| | | <a href="javascript:void(0);" onclick="openUrl('{!attach.Id}','{!attach.Title}')"> |
| | | <apex:outputfield id="attachMentName" value="{!attach.Title}"> |
| | | </apex:outputfield> |
| | | </a> |
| | | <!-- onclick="ClearJson('{!attach.Name}')" --> |