From 84b24801b8e0e071589ea57b29e64f73e13b1c0c Mon Sep 17 00:00:00 2001
From: 付煜 <fuyu3103346691@163.com>
Date: 星期一, 21 三月 2022 14:54:15 +0800
Subject: [PATCH] SWAG-CCEB67【委托】【重要】保有设备所属变更审批报错
---
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