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/ViewInquiryFormDecryptInfo.page | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page b/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
index 91fedea..191f609 100644
--- a/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
+++ b/force-app/main/default/pages/ViewInquiryFormDecryptInfo.page
@@ -1,5 +1,6 @@
<apex:page standardController="Inquiry_form__c" extensions="NewAndEditInquiryFormController" id="page">
<apex:includeScript value="{! URLFOR($Resource.AWSService, 'AWSService.js') }"/>
+ <apex:includeScript value="{!URLFOR($Resource.jquery183minjs)}"/>
<apex:form id="form">
<apex:pageblock id="pageBlock">
<apex:pageBlockSection showHeader="false" title="" collapsible="true" columns="2" id="pageBlockSection">
@@ -32,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