From d3e4451e36fbe25da4427bccd4e6b41aefd473c8 Mon Sep 17 00:00:00 2001
From: binxie <137736985@qq.com>
Date: 星期一, 26 六月 2023 14:53:16 +0800
Subject: [PATCH] newclass0626formate
---
force-app/main/default/pages/ConsumTrialPDF.page | 16 ++++++++--------
1 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/force-app/main/default/pages/ConsumTrialPDF.page b/force-app/main/default/pages/ConsumTrialPDF.page
index 5276d59..9f7e5b6 100644
--- a/force-app/main/default/pages/ConsumTrialPDF.page
+++ b/force-app/main/default/pages/ConsumTrialPDF.page
@@ -1,4 +1,4 @@
-<apex:page applyHtmlTag="false" Controller="ConsumTrialPDFController" showHeader="false" sidebar="false" id="allPage" action="{!init}">
+<apex:page applyHtmlTag="false" Controller="ConsumTrialPDFController" showHeader="false" sidebar="false" id="allPage" action="{!init}" lightningStylesheets="true">
<!-- renderAs="pdf" -->
<html>
<head>
@@ -79,7 +79,7 @@
</style>
<!-- 20220221 PI鏀归�� by 寰愪寒 start -->
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
- <script src="../../soap/ajax/53.0/connection.js" type="text/javascript"></script>
+ <apex:includeScript value="{!URLFOR($Resource.connection20)}"/>
<!-- <script src="https://cdn.bootcss.com/es6-promise/4.1.1/es6-promise.auto.min.js" type="text/javascript"></script> -->
<apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}"/>
@@ -371,7 +371,7 @@
form.submit();
// jQuery("body > *").each(function(){
- // jQuery(this).css('display','none');
+ // jQuery(this).css('display','none');
// })
// jQuery("body").append('<embed style="position:absolute; left: 0; top: 0;" width="100%" height="100%" src="'+pdf.output('datauristring')+'" type="application/pdf"/>')
@@ -474,11 +474,11 @@
})
- let a1 = false;
+ let a1 = false;
let a2 = false;
var Foo = function(){
- if(a1 && a2){
- jsPdfDownload();
+ if(a1 && a2){
+ jsPdfDownload();
}
}
AWSService.search(staticResource.searchUrl, JSON.stringify({
@@ -495,10 +495,10 @@
}, staticResource.token);
if('{!targetConsumApply.Shippment_adress_detail__c}'){
- a2 = true;
+ a2 = true;
Foo();
}else{
- AWSService.query(staticResourceCon.queryUrl, '{!targetConsumApply.AWS_Data_Id__c}', function(data){
+ AWSService.query(staticResourceCon.queryUrl, '{!targetConsumApply.AWS_Data_Id__c}', function(data){
//unblockUI();
if (data && data.object ) {
--
Gitblit v1.9.1