From 1a846a596c87cf9674caff2c0571962b9909fb58 Mon Sep 17 00:00:00 2001
From: 彭锟 <pengkun@prec-tech.com>
Date: 星期二, 29 三月 2022 17:43:10 +0800
Subject: [PATCH] 329,624batch,601batch,606batch相关更改
---
force-app/main/default/pages/SearchAWSContactByNamePage.page | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/SearchAWSContactByNamePage.page b/force-app/main/default/pages/SearchAWSContactByNamePage.page
index 8f311fd..617534a 100644
--- a/force-app/main/default/pages/SearchAWSContactByNamePage.page
+++ b/force-app/main/default/pages/SearchAWSContactByNamePage.page
@@ -1,5 +1,8 @@
<apex:page controller="SearchContactController" id="page">
+ <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}" />
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }" />
+ <apex:includeScript value="{!URLFOR($Resource.PleaseWaitDialog)}" />
+ <apex:stylesheet value="{!URLFOR($Resource.blockUIcss)}" />
<head>
</head>
@@ -22,7 +25,8 @@
var searchContactName = '';
function searchAWSContact(){
console.log('Search process!');
- //1. reset table;
+ //1. reset table;
+ blockme();
resetTable();
//2. get contact name value
searchContactName = document.getElementById('page:form:lksrch').value;
@@ -31,6 +35,7 @@
queryLeadFromAWS();
}else{
alert("璇疯緭鍏ヨ嚦灏�2涓叧閿瓧");
+ unblockUI();
}
}
@@ -121,6 +126,7 @@
}
}
myTableDiv.appendChild(table);
+ unblockUI();
}
function initContactTable(data) {
let cols = ['Name','AccountName','Email', 'Phone'];
@@ -143,7 +149,7 @@
//Invoke SF BackEnd
Visualforce.remoting.Manager.invokeAction(
'{!$RemoteAction.SearchContactController.searchContacts}',
- JSON.stringify(awsDataIds),
+ JSON.stringify(awsDataIds),'','',
function (result, event) {
if(event.status){
if(result.status == 'success'){
--
Gitblit v1.9.1