高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/pages/eSignFormQR.page
@@ -1,9 +1,7 @@
<apex:page standardController="eSignForm__c">
<apex:page standardController="eSignForm__c" lightningStylesheets="true">
    <apex:includeScript value="{!URLFOR($Resource.qrcode)}"/>
<!--     <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.apex20)}"/> -->
    <apex:includeScript value="/soap/ajax/45.0/connection.js"/>
    <apex:includeScript value="/soap/ajax/45.0/apex.js"/>
    <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
    <apex:includeScript value="{!URLFOR($Resource.apex20)}"/>
     <apex:form >
        <apex:pageBlock title="二维码" mode="edit">
            <apex:pageBlockSection showHeader="false" columns="2">
@@ -25,9 +23,9 @@
    var profileID = '{!$Profile.Id}';
    console.log('profileID:'+profileID);
    //正式环境
    //var url = "https://ocm.force.com/eSignSystem/s/EsignDataEntry?";
    // var url = "https://ocm.force.com/eSignSystem/s/EsignDataEntry?";
    //测试环境
    var url = "https://stagefull-ocm.cs117.force.com/eSignSystem/s/EsignDataEntry?";
    var url = "https://ocsm--stagefull.sandbox.my.site.com/eSignSystem/s/EsignDataEntry?";
    var DNName = '{!eSignForm__c.DNNameNo0__c}';
    var encode = window.btoa(DNName);