| | |
| | | <apex:page showheader="false" showquickactionvfheader="false" controller="QLMAttachmentPreviewController"> |
| | | <apex:page showheader="false" showquickactionvfheader="false" controller="QLMAttachmentPreviewController" lightningStylesheets="true"> |
| | | <!-- 隐藏原图 展示画布 旋转图片(4个90°)鼠标滚轮伸缩放大放小 (会失帧) --> |
| | | <head> |
| | | <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)}"/> |
| | | <apex:includescript value="{!URLFOR($Resource.jquery183minjs)}"> |
| | | </apex:includescript> |
| | | <title> |
| | |
| | | //初始化方法 |
| | | //接收url上的参数 |
| | | var queryVal=GetQueryValue('id'); |
| | | var url='https://ocsm--stagefull--c.visualforce.com/apex/QLMAttachmentPreview1?id='+queryVal; |
| | | //var url='https://ocsm--stagefull--c.visualforce.com/apex/QLMAttachmentPreview1?id='+queryVal; |
| | | var url=' https://ocsm--c.ap0.visual.force.com/apex/QLMAttachmentPreview1?id='+queryVal; |
| | | //js取参 |
| | | //20201221 liying start |
| | | function GetQueryValue(queryName) { |