From af0cf4a4c55406b80584acfa0a126af7e826d124 Mon Sep 17 00:00:00 2001
From: 李彤 <litong@prec-tech.com>
Date: 星期六, 02 四月 2022 17:56:46 +0800
Subject: [PATCH] 目标录入相关判断修改_1
---
force-app/main/default/pages/ViewLeadDecryptInfo.page | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/force-app/main/default/pages/ViewLeadDecryptInfo.page b/force-app/main/default/pages/ViewLeadDecryptInfo.page
index 0cf2bd6..d117a4f 100644
--- a/force-app/main/default/pages/ViewLeadDecryptInfo.page
+++ b/force-app/main/default/pages/ViewLeadDecryptInfo.page
@@ -19,8 +19,10 @@
var queryBack = function queryBack(data) {
document.querySelector("[data-id='LastName']").innerHTML = data.object.lastName;
document.querySelector("[id='page:form:pageBlock:pageBlockSection:j_id3:0:j_id4']").innerHTML = data.object.phone;
- document.querySelector("[data-id='Email']").innerHTML = data.object.email;
-
+ //document.querySelector("[data-id='Email']").innerHTML = data.object.email;
+ let eml = document.querySelector("[data-id='Email']");
+ eml.href = 'mailto:'+data.object.email;
+ eml.text = data.object.email;
};
sfdcPage.appendToOnloadQueue(function () {
console.log('sfdcPage.appendToOnloadQueue')
--
Gitblit v1.9.1