From f5a94e721ae5a26f817f0df75065b64f1f192eb3 Mon Sep 17 00:00:00 2001
From: Li Jun <buli@deloitte.com.cn>
Date: 星期一, 28 三月 2022 21:43:51 +0800
Subject: [PATCH] PIPLFunctionDeploy0328

---
 force-app/main/default/pages/NewAndEditCase.page |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/NewAndEditCase.page b/force-app/main/default/pages/NewAndEditCase.page
index 0310339..5f79017 100644
--- a/force-app/main/default/pages/NewAndEditCase.page
+++ b/force-app/main/default/pages/NewAndEditCase.page
@@ -290,7 +290,11 @@
                 accountValue = document.getElementById(accountNodeId).value;   
             } 
             console.log(accountValue);
-            if(accountValue !='000000000000000'){
+            if(accountValue !='000000000000000' || true){
+                if (accountValue == '000000000000000') {
+                    accountValue = '';
+                }
+
                 let baseUrl = "/apex/SearchContactPage";
                 let searchContactKeyWord = document.querySelector("[data-id='ContactId']").value;
                 let suffixUrl = "?contactId=" + contactNodeId + "&accountId=" + accountValue+"&searchContactKeyWord=" + searchContactKeyWord;

--
Gitblit v1.9.1