From 7a6bde159e19c304b3a512ed21171b7ce09055d9 Mon Sep 17 00:00:00 2001
From: 涂煌豪 <tuhuanghao@prec-tech.com>
Date: 星期四, 24 三月 2022 17:50:20 +0800
Subject: [PATCH] 【委托】【优先】用户中的课的信息与人事信息通过规则修改

---
 force-app/main/default/pages/ViewInquiryFormDecryptInfo.page |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page b/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
index b155449..191f609 100644
--- a/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
+++ b/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
@@ -33,7 +33,13 @@
                         if(ele){
                             ele.title = '';
                             if(data.object.hasOwnProperty(f)){
-                                ele.innerHTML = data.object[f];
+                                if (f == 'email') {
+                                    let eml = document.querySelector("[data-id='Email__c']");
+                                    eml.href = 'mailto:'+data.object[f];
+                                    eml.text = data.object[f];
+                                }else{
+                                    ele.innerHTML = data.object[f];
+                                }
                             }
                             else{
                                 console.log(f + 'is not in data.object');

--
Gitblit v1.9.1