From 0793b78361e77ac25bb3a38da75678ff5d40eaed Mon Sep 17 00:00:00 2001
From: 高章伟 <gaozhangwei@prec-tech.com>
Date: 星期四, 24 三月 2022 18:33:18 +0800
Subject: [PATCH] PDF空白优化
---
force-app/main/default/pages/SearchVisitor.page | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/pages/SearchVisitor.page b/force-app/main/default/pages/SearchVisitor.page
index 4798584..533f902 100644
--- a/force-app/main/default/pages/SearchVisitor.page
+++ b/force-app/main/default/pages/SearchVisitor.page
@@ -155,7 +155,7 @@
//2. inovke aws service
let contactAwsIds = new Set();
for(var key in contactInfo){
- if(contactInfo[key].lastName.includes(searchByLastName)){
+ if(contactInfo[key].lastName.indexOf(searchByLastName) != -1){
contactAwsIds.add(key);
}
}
@@ -191,6 +191,7 @@
createDiv.style.background = "#dddddd";
createDiv.style.position = "absolute";
parentNode.appendChild(createDiv);
+ parentNode.style.position = "relative";
}
}
@@ -284,6 +285,7 @@
function Trans(){
AWSService.postAWS(staticResources.transactionUrl,AWSService.confirmTrans, JSON.stringify({
"txId":aws_result.txId,
+ "sfRecordId":"",
"isSuccess":1
}), function(result){
window.location.reload();
--
Gitblit v1.9.1