| | |
| | | <apex:page doctype="html-5.0" showquickactionvfheader="false" controller="eSignFormAttachmentController" showHeader="false" sidebar="false" action="{!init}"> |
| | | <apex:page doctype="html-5.0" showquickactionvfheader="false" controller="eSignFormAttachmentController" showHeader="false" sidebar="false" action="{!init}" lightningStylesheets="true"> |
| | | <!-- 隐藏原图 展示画布 旋转图片(4个90°)鼠标滚轮伸缩放大放小 (会失帧) --> |
| | | <head> |
| | | <apex:includescript value="{!URLFOR($Resource.jquery183minjs)}"> |
| | | </apex:includescript> |
| | | <apex:includescript value="/soap/ajax/40.0/connection.js"> |
| | | </apex:includescript> |
| | | <apex:includescript value="/soap/ajax/40.0/apex.js"> |
| | | </apex:includescript> |
| | | <apex:includeScript value="{!URLFOR($Resource.connection20)}"/> |
| | | <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> |
| | | |
| | | <title> |
| | | 查看附件 |
| | |
| | | document.getElementById("onCloseId").style.display='block'; |
| | | }else{ |
| | | //如果不是图片,那么下载文件 |
| | | window.open('https://ocsm--stagefull--c.documentforce.com/servlet/servlet.FileDownload?file='+accId); |
| | | //这里上线的时候需要在线上修改 |
| | | //window.open('https://ocsm--c.ap0.content.force.com/servlet/servlet.FileDownload?file='+accId); |
| | | //window.open('https://ocsm--stagefull--c.documentforce.com/servlet/servlet.FileDownload?file='+accId); |
| | | window.open('https://ocsm--c.ap0.content.force.com/servlet/servlet.FileDownload?file='+accId); |
| | | debugger |
| | | //右边的画布显示 |
| | | showPdf(); |